summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2010-12-24ENGR00137362-2 L2Swtich: Add phy support for switch port1 and port2rel_imx_2.6.35_10.12.01_RC4Xie Xiaobo
Because the 1588 stack and STP stack need to know the phy status, added phy support for switch port1 and port2. Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
2010-12-24ENGR00137339 PTP: Synchronize fec1 timer to fec0 timer in i.MX28Xie Xiaobo
When enable fec0 and fec1 1588 timer in the same time, enalbe fec1 1588 timer to FRC_SLAVE mode in i.MX28. Signed-off-by: Xie Xiaobo <X.Xie@freescale.com> (cherry picked from commit e90197be678342bf9a09c4f64f5fe25a84cf75c7)
2010-12-24ENGR00136994 UBI : system halt when detaching UBI in NFS environmentHuang Shijie
The problem is caused by: ubi double free ubiblk_dev structrue, cause the list and memory mess up. This patch changes field `m` in the ubiblk_dev{} from the mtd_blktrans_dev{} to pointer. Also add a mutex for protecting the global ubiblk_devices. Signed-off-by: Huang Shijie <b32955@freescale.com>
2010-12-20ENGR00137175 usb-otg: DO NOT read usb registers when usb is in low power modePeter Chen
Should not read usb registers when usb is in low power mode, or it will cause usb system hang or getting the wrong registers value Signed-off-by: Peter Chen <peter.chen@freescale.com>
2010-12-20ENGR00137080 USB: fix usb device can't work on MX53 boardZhang Yan
Set USB VBUS on when host only controller probed. Only DR OTG host doesn't set vbus on when platform driver probed. Signed-off-by: Zhang Yan <b34916@freescale.com>
2010-12-17ENGR00137099 - EPDC fb: Fix bug related to panning + Queue update schemeDanny Nold
- Changed default update scheme to SNAPSHOT - Added panning offset info for each update - Added merge check against panning offset - Fixed conditions for merging Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-12-17ENGR00137101-6 mark the erase failed block to the bbt table.Huang Shijie
If it return failure in erasing a block, mark the block bad in the bbt table. Signed-off-by: Huang Shijie <b32955@freescale.com>
2010-12-17ENGR00137101-5 GPMI : add TOGGLE NAND supportHuang Shijie
[1] Add the initializtion for TOGGLE nand. [2] chang the is_onfi_nand() to is_ddr_nand(). [3] add NAND_LOCK in the send_command() Signed-off-by: Huang Shijie <b32955@freescale.com>
2010-12-17ENGR00137101-4 GPMI : change the is_onfi_nand() to is_ddr_nand()Huang Shijie
change the function name is_onfi_nand() to is_ddr_nand(). Signed-off-by: Huang Shijie <b32955@freescale.com>
2010-12-17ENGR00137101-3 NAND : add TOGGLE NAND device info to the tableHuang Shijie
Add the TOGGLE nand device infomation to the table. And change the `is_onfi_nand` to `is_ddr_ok`. Signed-off-by: Huang Shijie <b32955@freescale.com>
2010-12-17ENGR00137101-2 NAND : change the field `is_onfi_nand` to `is_ddr_ok`Huang Shijie
The ONFI NAND and TOGGLE NAND both support the DDR. So merge the same attribution to a new field `is_ddr_ok`. Also add a inline function to judge the DDR nand. Signed-off-by: Huang Shijie <b32955@freescale.com>
2010-12-16ENGR00136941 MX50: Fix crash issue caused by ePxP when playback videoRobby Cai
The root cause is list_del() are called twice on same entry in pxp irq handler. Remove latter one fixes this issue. Signed-off-by: Robby Cai <R63905@freescale.com>
2010-12-15ENGR00136939-1: SPI:Fix suspend/resume issue on MX50 RDPRanjani Vaidyanathan
Fixed the SPI driver suspend/resume code. The SPI driver was missing releasing the spin lock in certain conditions.In the resume code, the master bit needs to be set while re-enabling the spi. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2010-12-14ENGR00136942 FEC: Fix resume fec trigger transmit timeoutZeng Zhaoming
Set carrier flag to off when suspend, to avoid kernel warning about sending timeout. Reported-by: Peter Chen <peter.chen@freescale.com> Tested-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2010-12-14ENGR00136921 FEC: Fix nfs not works after kernel suspend and resume on i.MX28Zeng Zhaoming
Fec phy state changing occurs in delay works, which in normal task context. And package sending mostly happens in softirq context, only happens in ksoftirq while network traffic is heavy and some _many retries_ situation. Linux network qdisc code keep raising NET_TX_SOFTIRQ softirq if package not send out when netdev queue set to start. And the subsequenece process will loop in softirq context for 10ms. Since Imx28 HZ set to 100Hz, the next timer interrupt will trigger softirq again. this loop prevent network link changing to up status. And cause a chicken-egg problem. To break this loop, we need to set netdev transmit queue stop when link is down, and start it when link becomes up. commit 757bfe446bab7661d12a8772ca10b7a490c8aa47 try to resolve this problem, but hand-merge mistake introduce a power resume bug. Reported-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2010-12-13ENGR00136875-2 make video buffer cacheable to improve video performanceRobby Cai
Use pgprot_writethru() instead of pgprot_noncached() Signed-off-by: Robby Cai <R63905@freescale.com>
2010-12-11ENGR00136223 MX50 Fix epdc display issue via PAN_DISPLAY after resumeRobby Cai
Problem ======== In suspend/resume cycle, info->var.xoffset and info->var.yoffset will be reset to 0 (in function fbcon_switch). After reume, if the xoffset/yoffset of update region happens to be 0/0, this region will not be displayed. Resolution ========== Should not compare new offset with previous offset, but compare new panning/offset state with previous state in pan_display function to determine whether need to update fb_offset. Signed-off-by: Robby Cai <R63905@freescale.com>
2010-12-10ENGR00136218 FEC: Fix dhcp fail when enable preempt at mx28Frank Li
DHCP fail when enable NO_HZ and preempt at mx28evk Signed-off-by: Zeng Zhaoming <b32542@freescale.com> Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-12-09ENGR00134274 - EPDC fb: Optimize update flow by merging compatible updatesDanny Nold
- Created a worker thread to centralize all update requests (new and collisions) - Added routine to merge compatible updates - Separated PXP processing from update ioctl and ISR flows into workqueue flow - Added IOCTL to turn control the update scheme. Supported schemes are snapshot mode (the old update scheme), queued mode, and queued mode with combining. - Added collision-handling refinement based on update submission order - Added support for 8bpp setting from kernel command line option Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-12-09ENGR00136108 PTP: Revise and supplement for MX53 1588 driverXie Xiaobo
1. Using the UDP dest port to identifying an event message. 2. Add related information checking for getting rx/tx timestamp. Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
2010-12-09ENGR00136101-2 MX50: Only kick the clock off timer in irq handler.Robby Cai
Here 'kick' means start the timer or postpone the timer. By only kicking the timer in irq handler only when no task pending in the queue, rather than each time we submit a new task, it should perform better. Signed-off-by: Robby Cai <R63905@freescale.com>
2010-12-09ENGR00136101-1 MX50: Export timeout value to turn off ePxP clock when inactiveRobby Cai
Usage (timeout in millisecond, default is 600): echo 2000 > /sys/devices/platform/mxc-pxp/clk_off_timeout Signed-off-by: Robby Cai <R63905@freescale.com>
2010-12-09ENGR00136150 IIM:Remap user defined size of IIM registersLiu Ying
This patch remaps user defined size of IIM registers from IIM base address. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-12-08ENGR00136146-2 MX53 TO2 ARD: Changed R2 value for reulator SW2 and LDO2Nancy Chen
LTC3589: Changed R2 value for reulator SW2 and LDO2. Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-12-08ENGR00136097-1 pmic mc13892: Add PWRON3 power event supportXinyu Chen
Enable the PWRON3 event in mc13892. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-12-07ENGR00135971 GPU: move clk_enable/disable out of timer handlerRichard Zhao
For timer based power autogating, we have to move clk_enable/disable out of timer handler, because they become may sleep. Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2010-12-07ENGR00135975 usb: Add protection for resume routine for udc driverPeter Chen
At usb otg mode, the fsl_udc_resume will be called at otg_set_host and otg_set_peripheral. So we needs to add mutex_lock for fsl_udc_resume to protect being called at the same time. Besides, the fsl_udc_resume should not be called continuous twice, or the udc->suspended will be wrong Signed-off-by: Peter Chen <peter.chen@freescale.com>
2010-12-06ENGR00134285 LDB:Correct the way to match registered fb infoLiu Ying
In the probe function of LDB framebuffer driver, we will try to match the LVDS video modes defined in the driver. For LDB separate mode, we need to find two video modes matched, whereas, for other LDB modes, we need to find only one video mode matched. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-12-03ENGR00133793 - EPDC fb: Use a default temp index of 0Danny Nold
- 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>
2010-12-03ENGR00133794 - EPDC fb: Make IOCTL functions accessible from kernel modulesDanny Nold
- 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>
2010-12-03ENGR00126514 L2Switch: Fixed the warning information report issueXie Xiaobo
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>
2010-12-03ENGR00126516 L2Switch: Fixed port learning function issueXie Xiaobo
Enable/disable L2 switch port learning does not take effect, and this patch fixed the issue. Signed-off-by: Fan zhicheng <B32736@freescale.com>
2010-12-02ENGR00134204 MX5x bug fix No INT generation in Multi-blk operationsRichard Zhu
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>
2010-12-02ENGR00134154-3 usb: add sync between usb resume and usb wakeup threadPeter Chen
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>
2010-12-02ENGR00134220 NAND: fix up the chip select handlingJason Liu
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>
2010-12-02ENGR00134203-2 V4l2 output:de-interlacing improvementLiu Ying
Correct the next field's start address. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-12-02ENGR00134203-1 IPUv3 VDI:de-interlacing improvementLiu Ying
Support VDI 422 mode(we support UYVY and YUYV 422 pixel format only). Signed-off-by: Liu Ying <b17645@freescale.com>
2010-12-01ENGR00134150 GPU: destroy device in workqueue for error interruptsJie Zhou
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>
2010-12-01ENGR00134202-2 GPMI : replace the old code with the new macroHuang Shijie
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>
2010-11-30ENGR00134048 GPMI: Need more clocks in LPM mode on MX508Huang Shijie
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>
2010-11-30ENGR00134077-2 Add TVE 1080P30/25/24, 1080I60/50 support for iMX53Ran Ferderber
Set the new video modes values Signed-off-by: Ran Ferderber r53561@freescale.com
2010-11-30ENGR00134076 ipuv3: should not set burst size againJason Chen
Burst size has been set for non-interleaing format channel. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-11-29ENGR00134018 v4l2 output: get exact di fmt for DC format.Jason Chen
Get exact di fmt for DC format. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-11-29ENGR00132603-2 mxc_iim: Add driver code for sense and fuse function in mxc_iimTerry Lv
This patch adds driver code for adding sense and fuse. Signed-off-by: Terry Lv <r65388@freescale.com>
2010-11-26ENGR00133979 PTP: Add information check for MX28 1588 TX timestampXie Xiaobo
When application got 1588 TX timestamp, the drive would check the related 1588 package messages. Signed-off-by: Xie Xiaobo <R63061@freescale.com>
2010-11-25ENGR00134056-2 usb: add low power mode and wakeup support for mx28 otg portPeter Chen
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>
2010-11-24ENGR00132543 v4l2 output: fill black in streamoffJason Chen
Fill black data in streamoff, otherwise the last frame will keep in fb. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-11-24ENGR00133954-2 ipuv3: remove FB_SYNC_EXT flagJason Chen
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>
2010-11-24ENGR00133978 PM: add time sensitive debug function to suspend & resumeZhang Jiejing
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>
2010-11-24ENGR00133729 ePxP: move clk_[en|dis]able outside spinlock sectionRobby Cai
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>