Age | Commit message (Collapse) | Author |
|
IOMUX v3 missed the pullup pad setting for SD2_CD which is required
for SD2 card detect.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
The eSDHC iomux is not updated properly when iomux v3 is upgraded.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
The eSDHC iomux is not updated properly when iomux v3 is upgraded.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
Add DDR support for eMMC 4.4 cards.
Currently the clock is set to 40Mhz to get good compatibility.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
Due the ROM code bug, we need to let clock of mx35 esdhc always on
or the HW reset may not work.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
Implement platform independent clock always on function.
User would use clk_always_on flag in plat_data to decide whether
we should let the clock always on for their some specical use cases.
Host driver will not handle platform specific clock always on fucntion
any more.
However, we will reserve the clock always on function for SDIO cards
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
Add a control flag for clock always on function in plat_data.
By default ,esdhc clock will be automatically gate off by HW
if there's no CMD/DATA transferring.
This inferface allows user to easily disable clock auto gate off
according specicial using cases such as SDIO card that needs
clock to send SDIO interrupt signal to host.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
For esdhc v3, we can manually regulate the clock delay line
to get better compatibiliy with some cards requiring good signal
and working on high speed such as eMMC 4.4 cards.
Currently we only support override mode to regulate delay line.
DLL mode will be removed first caused by some HW issue.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
Add dll override mode enable and the number of delay cells flag
in platform_data.
This allows user to regulate clock delay line in platform specific code
according to different board and cards.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
Fix the bug that not open usb related clock at usb wakeup enable mode
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Leaving EPDC AXI enabled is bad for power management. EPDC/Display
clks must be enabled before clock rate can be set. We must then disable
these clocks before completing init.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Modified mxc_epdc_fb_remove() to prevent crashes and errors when
the FB driver is removed. deferred_io must be unloaded before FB
memory is freed.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Add missing "break;" for exiting while timeout happens.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Changed display_axi clock parent to PFD
Changed apbh_dma_clk parent to ahb_clk according to h/w design.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
The vvideo power supply drives the gpio bank, from gpio_12 to
gpio14. Turn on the power in case other modules need these gpio.
Signed-off-by: William Lai <b04597@freescale.com>
|
|
Add MX508 support, and adapt the gpu driver to one image
Signed-off-by: Jie Zhou <b30303@freescale.com>
|
|
MX50 has no 3D interrupt, 3D register space, and gmem
Signed-off-by: Jie Zhou <b30303@freescale.com>
|
|
Resolve the problem of playing wav streams with sample rate 8k,11k,16k
and 22k.
Signed-off-by: Lionel Xu <r63889@freescale.com>
|
|
Set gpo regulator's voltage to be 2.8V.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Set gpo regulator to be VVIDEO to camera platform data. This
regulator setting may enable the power domain of TVDAC_1 so that
GPIO_10 can be driven as CAM_RESET_B.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Updated the copyright and cleaned up formatting in mx50_suspend.S.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
Add support for disabling MX13892 regulators when the system is in
suspend. Lowered VDDA voltage to 0.95V in suspend state. Disabled NEON
SRPG.
Signed-off-by: Ranjani <ra5478@freescale.com>
|
|
Add offset to pllctrl pfd mask bits and check lock bit.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Use WAIT for wait loop.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
1)Release console semaphore when leaving custom suspend function.
2)Reinitialize ELCDIF framebuffer if system resumes and the
framebuffer is unblanked before entering into suspend mode.
3)Gate off elcdif_axi_clk when system is in suspend mode.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Added conditional check for previous PxP task completion before new starts.
Fixed the linked list handling for the channels.
Removed shared irq for all virtual channels.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Removed code that enabled display PMIC unnecessarily. Fixed
crash during suspend with EPD panel disconnected.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Change defconfig for VIIM driver
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Change kconfig for VIIM driver
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Add VIIM driver support -- MSL part
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
When terminating some applications such as OpenGL ES2.0 conf. test,
kgsl_device_stop is not triggered. And run such kind of application
for several times, system hang happens for inconsistency of device
states. So make sure device is stopped in kgsl_device_close, which
is only called by last running caller process.
Signed-off-by: Jie Zhou <b30303@freescale.com>
|
|
EPDC AXI clock configuration had to be moved to ensure that it
takes place after all parent clocks have been enabled.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
Clock rate configuration for EPDC AXI should be done one time, in MSL.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
The modifications of SSP SD/MMC driver when enable
the eMMC44 cards' ddr mode on MX28 EVK board.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
Platform related codes' modifications when enable the
eMMC44 cards' ddr mode on MX28 EVK board.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
This patch avoids LDB custom suspend/resume functions to be called.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
This patch avoids TVE custom suspend/resume functions to be called.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Add mx50 manufacture tool support at mx5_updater_defconfig
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
As MX5x one image kernel, the v4l2 driver is also configured in MX508.
This causes v4l2 capture module insert or bootup with builtin crash.
Add device probe/remove function for v4l2 output and capture driver,
instead of probing devices on module initialize.
And the output/capture device defines are also moved to MSL.
Rename the driver name to mxc_v4l2_output and mxc_v4l2_capture.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
As MX5x one image kernel, the v4l2 driver is also configured in MX508.
This causes v4l2 capture module insert or bootup with builtin crash.
Now move all the v4l2 output, capture devices structure and registeration
into MSL code. The SoC who does not have CSI, will not have v4l2 device
registered anymore.
Rename the device name to mxc_v4l2_output and mxc_v4l2_capture.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
Change mx53 EVK and Armadillo2 iomux to use iomux-v3.
- Creates iomux-mx53.h to defines IOMUX pins for MX53 HW
- Moves pin structure and functions that were in
mx53_evk_gpio.c into mx53_evk.c and delete
mx53_evk_gpio.c.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
|
|
Change mx51 babbage iomux to use iomux-v3.
- Creates iomux-mx51.h to defines IOMUX pins for MX51 Babbage
HW
- Moves pin structure and functions that were in
mx51_babbage_gpio.c into mx51_babbage.c and delete
mx51_babbage_gpio.c.
We're keeping mx51_pins.h because the MX51-3DS support will
not get converted to iomux-v3.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
|
|
To better align Freescale's BSP to kernel.org, it is
better to use iomux-v3 instead of mxc_iomux.
Change mx50 iomux to use iomux-v3.
- Creates iomux-mx50.h to defines IOMUX pins for MX50 HW
- Moves pin structure and functions that were in
mx50_arm2_gpio.c into mx50_arm2.c and deletes
mx50_arm2_gpio.c.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
|
|
In function of gadget unregister the phy will been put to lowpower
mode,however in function of gadget regisger the phy lowpower mode will
not been cleard when OTG pin detect enabled.
Signed-off-by: Huhui <b29976@freescale.com>
|
|
The mmap policy should be writethrough.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add check in mxcfb_check_var(), if fg size is bigger than bg, then
make it same size as bg.
Change the include/linux/ipu.h
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Add check in mxcfb_check_var(), if fg size is bigger than bg, then
make it same size as bg.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
memstore should only be freed when the device has been stopped with
device->refcnt equalling zero.
Signed-off-by: Jie Zhou <b30303@freescale.com>
|
|
Change LDB related video mode names to align with MSL
code change.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Make LDB related video mode names be common names because the
video names may be used by other devices besides LVDS panels.
Signed-off-by: Liu Ying <b17645@freescale.com>
|