Age | Commit message (Collapse) | Author |
|
Use community spi_imx for spi nor.
m25p80 is now supported with spi_imx.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
- With FB_POWERDOWN_DISABLE is set as the powerdown delay (disabling the EPDC
driver from powering down), the EPDC driver was having problems going into
suspend. Any request to blank the EPDC driver would result in a timeout
and an error status. And subsequent attempts to send updates to the driver
would fail, as the driver's power state was incorrect. This patch prompts
the EPDC driver to be disabled when the blanking state is changed to
FB_BLANK_POWERDOWN and FB_POWERDOWN_DISABLE is set. Resultingly, the correct
driver power state is maintained and suspend/resume works correctly.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
When using SNAPSHOT update scheme, submitting FULL mode updates can easily
lead to an endlessly looping sequence of collisions if any updates are active
when the new FULL mode update is submitted. Thus, we must first flush any
updates out before submitting a new FULL mode update.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
The vpu code in driver for mx32/mx37 is out of date already, and
we won't support the platforms, so clean the code for removing it.
And removed ioctl definition that won't use again.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
The vpu code in driver for mx32/mx37 is out of date already, and
we won't support the platforms, so clean the code for removing it.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
Fix system hang due to long time video playback. This issue is only
on i.MX51 platfrom due to changing vpu clock parent in vpu_enable/
disable. Set vpu clock parent to axi_a forever to fix it.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
- This patch changes the way that buffers are allocated and used for the
case where PxP alignment limitations are not met (a copy from the
update source buffer into a temporary buffer before initiating the
PxP processing task is required). Previously, a buffer was allocated
on a per-update basis, resulting in a large number of copy buffers. Now,
we allocate just one copy buffer that can be reused any time the PxP
alignment workaround is required. This is okay because it is assured
that only one PxP transaction can be prepared at a time.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- When the powerdown delay is set to FB_POWERDOWN_DISABLE, the
mxc_epdc_fb_flush_updates() function does not execute correctly, always
resulting in a time out while waiting to receive a completion that signals
that all updates have completed. This causes long delays when changing the FB
mode, since a mode change will always result in a call to
mxc_epdc_fb_flush_updates().
Fixed this bug by creating a new mxc_epdc_fb_data variable to track whether
all active updates have completed. mxc_epdc_fb_flush_updates() now
keys off of this variable to determine whether to wait for all
active updates to complete.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
S/PDIF tx and rx using ASoC layer.
Signed-off-by: Alan Tull <alan.tull@freescale.com>
|
|
S/PDIF tx and rx using ASoC layer.
Signed-off-by: Alan Tull <alan.tull@freescale.com>
|
|
- Capture EPDC status registers up front in IST, rather than when-needed
during IST, to prevent potential race conditions where the status changes
mid-IST.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- When synching update submission to EPDC end of frame (when tce_prevent is
defined), we should wait using wait_for_completion_timeout to prevent
hang/deadlock in case we don't receive completion.
- Added call in IST to disable end of frame interrupt upon receiving the
interrupt.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Add iram info to vpu platform data for each platform in linux/arch folder.
Disable iram on MX51 and enable iram on MX53 platform.
And remove VPU_IRAM_SIZE usage.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
One kernel image is requested, however, we need to enable iram
for performance improvement on mx53, and disable it on mx51 due
to known issue. So use platform data to pass vpu iram disable/enable
flag. And considering requested iram size also can be different per
requirement, iram size is also set in platform data.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
The iomux definition for MX53 PATA_D6 has the wrong modes for
the various mux modes of the pin. This patch adds the correct
modes for the pin.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
|
|
This patch changes IPU interface for MXC V4L2 to align with
IPUv3 triple buffer support.
When V4L2 is used, we'll change to use double buffer for
display channel via internal framebuffer interface.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit db97e4d616f105bec1cfadf33e842fc624ecf0d5)
|
|
This patch supports HW triple buffer for IPUv3
framebuffer.
1) Remove buf ready check in EOF irq handler, as we
think the swap logic will not fail for HW triple
buffer case.
2) When V4L2 output/overlay are used, switch to double
buffer mode.
3) Changes IPU interface for IPUv1 framebuffer to pass
building.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 4ada3031e13207902f8c90b33c082759889cb22a)
|
|
This patch supports IPUv3 triple buffer.
Only channel 23, 27 and 28 are tested.
Test was done on MX51 BBG and MX53 SMD.
IPUv1 interface is changed accordingly
to pass building.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 73ef4408712acfee2d132f73555085a61be7b17c)
|
|
This patch aligns IDMAC burst size and DMFC FIFO burst
size to get better performance and workarounds black
flash issue when playing video on DP-FG with full
screen mode at 1024x768M@60.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 0e81c738566c2c97541dd92a5978c756b5c22e76)
|
|
When ARM is in WAIT mode, the SCC RAM clock is disabled since
1 is written to the CCGR register by default. At that point, if SAHARA
tries to access a key or some other piece of data stored in the SCC RAM,
then it might hang.
To prevent this scenario, SCC RAM is added to dependency list
for SCC clock, and SCC clock is added to dependency list for SAHARA.
Signed-off-by: Anish Trivedi <anish@freescale.com>
|
|
Change camera platform data name from mxc_camera_platform_data to
fsl_mxc_camera_platform_data in accordence with include/linux/fsl_devices.h
and remove unused function gpio_sensor_active(),gpio_sensor_inactive().
Signed-off-by: Yuxi Sun <b36102@freescale.com>
|
|
add ipu and camera modules in kernel build configure
Signed-off-by: Yuxi Sun <b36102@freescale.com>
|
|
add pixel clk to clk dev
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
add removed g_di_clk set.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
- Removed __initdata from regulator_init_data structure declaration. This
protects the MAX17135 regulator from having its structure overwritten, which
was causing a bug when writing large chunks of memory.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
This patch sets framebuffer yres_virtual to be 3*yres defaultly.
Before this patch is applied, the yres_virtual will be changed
to yres when hdmi cable is hot plugged out and in, which
reduces yres_virtual to yres and pan display mechanism cannot
work well.
Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit 99a218e876a3a4831ec121fdff0e2b4e39408eda)
|
|
Port low power mode drivers to 2.6.38
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
Port low power mode drivers to 2.6.38
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
In set_voltage function, all voltages are not in microvolts.
Hence set_voltage function was failing. Change all voltages in
the function to be in microvolts.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
This patch increases IDMAC burst size from 16 pixels to
32 pixels for RGBP pixel format and increases DMFC burst
size to 128 pixels to workaround 1080P60 display video
black flash issue.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit c9fbed971c5a1adf7c727a6b1eba67e179bd1502)
|
|
- Add appropriate bit settings to ANADIG_MISC to improve APLL signal integrity
and prevent intermittent PxP lockups
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Added firmware/imx/epdc directory
- Added EPDC waveform firmware files
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Add drivers/dma/pxp and all PxP driver files within
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Added support for EPDC driver
- Added support for PxP driver
- Added support for MAX17135 EPD PMIC driver
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Port EPDC platform code to 2.6.38
- Port PxP platform code to 2.6.38
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Ported EPDC driver MSL layer code to 2.6.38
- Ported PxP driver MSL layer code to 2.6.38
- Ported Maxim 17135 EPD PMIC driver MSL layer code to 2.6.38
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Ported MAX17135 MFD core driver to 2.6.38
- Ported MAX17135 HWMON temperature sensor driver to 2.6.38
- Ported MAX17135 regulator driver to 2.6.38
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Bring EPDC driver up-to-date
- Add mxcfb_epdc_kernel.h
- Change structure definitions from mxc_ to imx_ where needed to
match platform structure names
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
add the kernel command parameter to control whether we should enable
the GPMI NAND driver.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add the DMA driver for mx50.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add dma device for mx50.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add the DMA support for platform mx50.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add the gpmi support for mx50.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add the gpmi device for mx508.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add gpmi support for mx508.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add the GPMI driver in the relevant Kconfig and Makefile in the MTD.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
Add the implementation code for imx23 and imx28.
The imx23 and imx28 share most of the same code.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
These files contain the common code for the GPMI driver.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add gpmi device for imx28.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add the gpmi device for imx23.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|