Age | Commit message (Collapse) | Author |
|
In LPAPM mode, DDR is sourced from 24MHz OSC. Since only ARM clock is
sourced from PLL1, relock it to 160MHz to save some power.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
- Current default temp index is 8, which causes issues for panels with only 1
temperature index. So if no temp index is found to match the temperature,
use a default of 0 to ensure that a valid index is used for these special
waveform types.
- Firmware loading changed from blocking to non-blocking to allow EPDC
driver to boot without waiting.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- Created global to hold EPDC fb data structure
- Created new functions to ensure all ioctls map to functions
- Created header file to declare functions accessible from other kernel modules
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
The dynamic ZQ calibration procedure need some revision and further debug.
Currently turn off this option for safety.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
When boot one mx28 board through another mx28 as switch, the former
would report warning information "FEC ENET: rcv is not + last error".
Signed-off-by: Fan zhicheng <B32736@freescale.com>
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
|
|
Enable/disable L2 switch port learning does not take effect,
and this patch fixed the issue.
Signed-off-by: Fan zhicheng <B32736@freescale.com>
|
|
Change vpu clock dependency for iram to emi_intr_clk[0]
since vpu should use emi_intr_clk[0], not emi_intr_clk[1].
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
SATA AHCI temperature monitor
HOWTO-USE:
Use the following cmd after boot up the target board and log in the system
The unit of the temperature is celsius.
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
The #defines for EPDC data lines were all off by 1. This
is now fixed.
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
No INT generation in Multi-blk operations bug of MX50 TO1.0
and MX53 TO1.0 had been fixed in MX50 TO1.1 and MX53 TO2.
Keep the SW workaround for MX50 TO1.0 and MX53 TO1.0.
And use the solution adviced by IC team for MX50 TO1.1 and MX53 TO2.
About the details of this IC bug, pls refer to following errata
ENGcm11328 complete flag isn't asserted in SDIO exact multi-block
read transfer,
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
The usb wakeup thread should be prior to usb system resume
during usb wakeup process. It adds wait_event_interruptible
at usb resume process, and the usb wakeup irq will set event,
and the usb wakeup thread will clear event.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
The usb wakeup thread should be prior to usb system resume
during usb wakeup process. It adds wait_event_interruptible
at usb resume process, and the usb wakeup irq will set event,
and the usb wakeup thread will clear event.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
The usb wakeup thread should be prior to usb system resume
during usb wakeup process. It adds wait_event_interruptible
at usb resume process, and the usb wakeup irq will set event,
and the usb wakeup thread will clear event.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
When the NAND has multi-cs, the chip select other than
cs0 is not handled correctly which will lead to NAND not
function as expected
Signed-off-by: Jason Liu <r64343@freescale.com>
|
|
Correct the next field's start address.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Support VDI 422 mode(we support UYVY and YUYV 422
pixel format only).
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Fix FEC GPIO/IOMUX settings in suspend to reduce board level power.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
VUSB2 cannot be shutdown in suspend, else USB remote wakeup fails.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
If GPU error interrupt detected, related device will be destroyed.
In the destory function, device_idle and mutex_lock may cause sleep,
which may cause kernel crash, so delay the device destroy to the
workqueue to avoid this.
Signed-off-by: Jie Zhou <b30303@freescale.com>
|
|
Just replace the old code with the new macro fill_dma_word1().
The logic has no change.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add a macro to fill the DMA command word one for IMX23,IMX28 and
IMX50.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
This is required by SD2 card detection function.
The root cause is that the power for SD2 card detection pull up
is the same as the SD2 I/O power, they are all supplied by VSD
regulator. If we disable VSD dynamically, the card will never be
able to be detected again.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
|
|
Enable SRPG for TO1.1 chips.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
In the low power mode, we need to enable the apbh_dma_clk and
ahb_max_clk which are needed by DMA module
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
Set the new video modes values
Signed-off-by: Ran Ferderber r53561@freescale.com
|
|
Set the new video modes values
Signed-off-by: Ran Ferderber r53561@freescale.com
|
|
Since the device suspend timing driver is
default set to off, so add it to default config of mx5, mx3.
If you want to debug your driver's suspend / resume
timing, please enable it by write time in microsecond.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
the default state of suspend driver is default off,
if you want to debug the suspend time, echo time in
microsecond(u Second) to /sys/powe/device_suspend_time_threshold
eg: I want to know which driver suspend & resume takes
more that 0.5 ms (500 us), you can just :
ehco 500 > /sys/power/device_suspend_time_threshold
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
Burst size has been set for non-interleaing format channel.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
MC13892 LED workaround can only be applied when a battery is connected.
But we can not detect if a battery is connected since the ADIN5
pin has been tied to look like a battery is attached on MX5x
boards. So disable battery driver firstly.
Signed-off-by: Lily Zhang <r58066@freescale.com>
|
|
Get exact di fmt for DC format.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
This patch adds driver code for adding sense and fuse.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
This patch add code in msl for adding sense and fuse.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
When application got 1588 TX timestamp, the drive would check
the related 1588 package messages.
Signed-off-by: Xie Xiaobo <R63061@freescale.com>
|
|
Add low power mode and wakeup support for mx28 otg port,
and the host1 and otg port are fully verified for low power mode and wakeup
function.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Add low power mode and wakeup support for mx28 otg port,
and the host1 and otg port are fully verified for low power mode and wakeup
function.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
|
|
Fill black data in streamoff, otherwise the last frame will keep in fb.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
FB_SYNC_EXT was used to represent ext clk, but actually, it represent ext sync.
Some applications do not recognize it, during fb_set_var ioctl may miss it,
which will cause fb display fail, for example X window startup.
Remove FB_SYNC_EXT flag, and choose ext clk support by ipu driver.
If you want to use ipu internal clk only, you can add int_clk to your video
option like below:
video=mxcdi0fb:RGB565,800x480M@55,int_clk
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
FB_SYNC_EXT was used to represent ext clk, but actually, it represent ext sync.
Some applications do not recognize it, during fb_set_var ioctl may miss it,
which will cause fb display fail, for example X window startup.
Remove FB_SYNC_EXT flag, and choose ext clk support by ipu driver.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
MX53 TO2 and MX50 uses newer Z160 GPU core
Signed-off-by: Jie Zhou <b30303@freescale.com>
|
|
ZQ calibration is now only applied in mx50 to1.1 board.
Thus zq should be run only on mx50 to1.1 board.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
There was some driver is slow on suspend/resume,
but some embeded system like eReader,Cellphone
are time sensitive,this commit will report the slow
driver on suspend/resume, the default value is 500us(0.5ms)
Also, the threshold can be change by modify
'/sys/power/device_suspend_time_threshold' to change the threshold,
it is in microsecond.
The output is like:
PM: device platform:soc-audio.2 suspend too slow, takes 606.696 msecs
PM: device platform:mxc_sdc_fb.1 suspend too slow, takes 7.708 msecs
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
clk_enable and clk_disable could be sleep, so it can not be
surrounded with spin_lock/spin_unlock. This patch fixed it.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
The ioremap for dma apbh registers mapping is not correct.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
Do not enable charger and switch to 4p2 from on board VBUS 5v
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
add onboard VBUS 5v regulator for USB ops in host mode
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
Implemented the following:
1) Code to check mDDR v LPDDR2 memory type
2) For mDDR, changed DATABAHN register values for 24 MHz DDR clock
3) For mDDR, changed DATABAHN register values when clock is changed
back to 200 MHz in Async mode.
Note that this code is untested on TO 1.1.
Signed-off-by: Anish Trivedi <anish@freescale.com>
|
|
The buffer mil->auxiliary_virt only have nfc_goe->auxiliary_size_in_bytes bytes
in size which is mostly very small(e.g 10 + 8).
But the mtd->oobsize maybe more then one hundred. So the memcpy is overflow.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
Remove the DMA dumping code, and move it to DMA file.
Print out the DMA infomation when error occurs.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
Dump the DMA registers for the function mxs_dma_get_info().
Signed-off-by: Huang Shijie <b32955@freescale.com>
|