summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2010-08-03ENGR00125823-2 esdhc: add a interface to let clock always onAisheng.Dong
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>
2010-08-02ENGR00125731-2 esdhc: add dll override delay line supportAisheng.Dong
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>
2010-08-02ENGR00125771 usb:should open usb related clock at usb wakeup enable modePeter Chen
Fix the bug that not open usb related clock at usb wakeup enable mode Signed-off-by: Peter Chen <peter.chen@freescale.com>
2010-07-30ENGR00125779 - EPDC fb module load/unloadDanny Nold
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>
2010-07-30ENGR00125729-2 GPU: merge hal for MX35/MX50 and MX51/MX53Jie Zhou
Add MX508 support, and adapt the gpu driver to one image Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-07-30ENGR00125693-2 OV3640:Set gpo regulator's voltage to be 2.8VLiu Ying
Set gpo regulator's voltage to be 2.8V. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-07-29ENGR00125665 ELCDIF FB:Support suspend and resume functionsLiu Ying
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>
2010-07-29ENGR00125433 Fix multi-instance of epxp failure issueRobby Cai
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>
2010-07-28ENGR00125550: EPDC fb suspend/resume supportDanny Nold
Removed code that enabled display PMIC unnecessarily. Fixed crash during suspend with EPD panel disconnected. Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-07-28ENGR00125657-2 [MX50] Change kconfig for VIIM driverRobby Cai
Change kconfig for VIIM driver Signed-off-by: Robby Cai <R63905@freescale.com>
2010-07-28ENGR00125616 GPU: make sure device is stopped before closeJie Zhou
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>
2010-07-27ENGR00125044-1 - EPDC fb: Remove AXI clock setup (move to MSL)Danny Nold
Clock rate configuration for EPDC AXI should be done one time, in MSL. Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-07-27ENGR00117738-2 mxs-mmc: Support eMMC44 and DDR modeRichard Zhu
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>
2010-07-27ENGR00125608-2 LDB:Return error when LDB probe failsLiu Ying
This patch avoids LDB custom suspend/resume functions to be called. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-07-27ENGR00125608-1 TVE:Return error when TVE probe failsLiu Ying
This patch avoids TVE custom suspend/resume functions to be called. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-07-27ENGR00125588-2 V4l2: Add probe/remove routine for output/capture driverXinyu Chen
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>
2010-07-26ENGR00125521 USB: register/unregister gadget module cause system hangHu hui
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>
2010-07-26ENGR00125506 ipu dev: change mmap to writethrough policyJason Chen
The mmap policy should be writethrough. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-07-26ENGR00125412-1 ipuv3 fb: fg should not bigger than bgJason Chen
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>
2010-07-26ENGR00125556 GPU: Check device refcnt before free memstoreJie Zhou
memstore should only be freed when the device has been stopped with device->refcnt equalling zero. Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-07-26ENGR00125552-2 LDB:Change LDB related video mode namesLiu Ying
Change LDB related video mode names to align with MSL code change. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-07-26ENGR00125487-2 LDB:Add bootup option to register LDB driverLiu Ying
This patch avoids LDB framebuffer cause black flash issue or potential black flash issue on one other framebuffer device which connects with the same di when the system boots up or video mode is changed. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-07-26ENGR00125487-1 TVE:Add bootup option to register TVE driverLiu Ying
This patch avoids TVE framebuffer cause black flash issue or potential black flash issue on one other framebuffer device which connects with the same di when the system boots up or video mode is changed. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-07-23ENGR00125434 GPU: Fix kernel oops when run ES2.0 conf. test for second timeJie Zhou
memstore should be freed properly. a following change will be prepared to improve the alloc/free logic for device memstore. Signed-off-by: Jie Zhou <b30303@freescale.com> Acked-by: Rob Herring <r.herring@freescale.com>
2010-07-23ENGR00125411 eMMC: Boot Partition switch func used in MFG toolRichard Zhu
User can get eMMC partitions info from user space layer in linux OS enviroment. User can do switch operations between the eMMC boot partitions and the user partition. User can access the eMMC boot partitions from user space layer in linux OS enviroment. NOTE:This func had been verified on TOSHIBA eMMC44 card only. Signed-off-by: Richard Zhu <r65037@freescale.com> Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-07-23ENGR00125489 esdhc: Fix the failure in DLL configurationsRichard Zhu
Adjust the Target dll value to support the TOSHIBA eMMC44 card. Make sure that IPG, HLK, PER are enabled, and SDCLK is disabled. SDCLKFS can't be set to zero on esdhc V3 IP. Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-07-22ENGR00124997 MX28: Add drift setting for ENET IEEE1588 TimerXie Xiaobo
The ENET IEEE1588 Timer have a correction counter, and it can slow down or speed up the timer. Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
2010-07-22ENGR00125339-2 uart: application uart support console and early consoleFrank Li
Add UART2 for mx23 EVK board. EVK board needs rework. Add console support for application uart according to customer requirement Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-07-22ENGR00125361-2 mx50 Fix section mismatch warningRobby Cai
Fix the following problem at compile-time. WARNING: vmlinux.o(.data+0x2b8b4): Section mismatch in reference from the variable pxp_device to the (unknown reference) .devinit.text:(unknown) The variable pxp_device references the (unknown reference) __devinit (unknown) If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, Signed-off-by: Robby Cai <R63905@freescale.com>
2010-07-21ENGR00125374 v4l2 output: work-around VDI NFB4EOF errorJason Chen
If set both double buffer ready for VDI case, there will come out NFB4EOF error. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-07-21ENGR00125353 GPU: use writecombine for mmapJie Zhou
Change pgprot_noncached to pgprot_writecombine in gsl_kmod_mmap to improve performance Signed-off-by: Thomas Peng <r80085@freescale.com> Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-07-20ENGR00125338 esdhc: A stop in audio playback when insert the cardRichard Zhu
There would be a small silent stop in the audio playback when insert the cards into the slot during the audio playback. The root cause is the mis-spell delay that would be 10 times larger than expection. Change the delay back to original expection. Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-07-20ENGR00125327 GPU: solve some problems in latest integrationJie Zhou
With latest VG/GL fix integration from RC16/EA, there will be some problems as below, which can be solved by this patch: - ENGR00124884 will happen again - suspend/resume will not be supported in gpu driver Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-07-20ENGR00125249 tve: fix tv primary display issueJason Chen
Clk tree make default di1_clk's parent clk as pll3 when tve clk disable, ipu disp module will re-calculate ipu pixel clk if di clk's parent clk is not tve_clk. If blanks tve-fb0, di1 clk's parent will set to pll3, unblank tve-fb0 need re-calculate tve clk. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-07-20ENGR00125275 v4l2 output:disable icbypass for input right crop caseJason Chen
If do input right-side crop and input/output are in the same size, v4l2 driver will enable ic_bypass, but after enable it, the output is not correct. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-07-20ENGR00125265 ipuv3: change the unlock position in ipu_disable_channelJason Chen
change the unlock position in ipu_disable_channel. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-07-20ENGR00125250 ipuv3:wait display EOF interrupt before disable its IDMA channelJason Chen
It should avoid the NFB4EOF error. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-07-19ENGR00125256 Integrate AMD Rc16/EA VG/GL fix to GPU kernel moduler80085
Fix the VG/GL issue in GPU kernel module when running VG/GL at the same time Signed-off-by: Gene Chouiniere <Gene.Chouiniere@amd.com> Signed-off-by: r80085 <thomas.peng@freescale.com> Acked-by: Rob Herring <r.herring@freescale.com>
2010-07-19ENGR00125259 - EPDC fb: Random display artifacts in unit testsDanny Nold
Random artifacts were caused by corruption of the EPDC working buffer. This occurred because the working buffer was being allocated too small. This meant other accesses to FB-maintained buffers was corrupting the working buffer and causing random data to be drawn to the display. Fixing the working buffer size causes the artifacts to disappear. Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-07-19ENGR00125251 usb_gadget: should not read PORT Reset at reset_irqPeter Chen
1. At reset_irq, the status of port reset is unsure, maybe the reset process(hardware does it) is finished, and the status of port reset is also cleared by usb controller. So it only needs to compare to USBSTS at usb irq process. 2. Due to mx35/mx25 phy's bug, it needs to reset phy when re-open usb clock next time(Begin to use usb next time) 3. mdelay 100 seconds is too long for resume process, as this code is only added for mx37, add arch macro for this mdelay. This can minimize the effect for other platforms. 4. Compile is ok for all imx platform, functional tests are finished for mx35 and mx23. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2010-07-16ENGR00125052-2 Driver modifications when enable the eMMC44 DDRRichard Zhu
The driver related codes' modifications when enable the eMMC44 DDR mode on MX53 EVK board Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-07-16ENGR00125052-1 Common codes changes when enable the eMMC44 DDRRichard Zhu
The modifications of linux kernel common codes when enable the eMMC44 DDR mode Signed-off-by: Richard Zhu <r65037@freescale.com>
2010-07-16ENGR00125206 mmc: update clock setting for mx50Aisheng.Dong
The clock prescaler can not be 0 for esdhc v3 in MX50. (The smallest value should be 1). Change the clock setting part to cover this special case. Signed-off-by: Aisheng.Dong <b29396@freescale.com>
2010-07-16ENGR00124989-3 ELCDIF:Support ELCDIF framebuffer driverLiu Ying
1) Support ELCDIF framebuffer driver. 2) Change CLAA WVGA LCD driver to make it co-work with ELCDIF driver. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-07-15ENGR00125010-1 gpu: add gpu driver supportGene Chouiniere
Migrate from RC14 with freescale changes. Signed-off-by: Gene Chouiniere <Gene.Chouiniere@amd.com> Signed-off-by: Richard Zhao <richard.zhao@freescale.com> Acked-by: Rob Herring <r.herring@freescale.com>
2010-07-15ENGR00125173 ipuv3: remove stat check wait in _ipu_dp_dc_disable()Jason Chen
The stat check wait will add ipu operation time which degrade the ipu performance. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-07-15ENGR00125172 ipuv3 fb: add sync for DP swapJason Chen
During DP swap, other fb operation should not happen. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-07-15ENGR00125171 ipu dev: add sync methodJason Chen
The memory mmap by ipu device is write-back, so user space need sync method. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-07-13ENGR00125120 - EPDC fb: Hangs when display pmic regulators not foundDanny Nold
EPDC driver updated to fail gracefully when the display pmic cannot be acquired. No longer hanging. Signed-off-by: Danny Nold <dannynold@freescale.com>
2010-07-13ENGR00125119 - Maxim 17135 display pmic: VCOM configured incorrectlyDanny Nold
The initial VCOM voltage should be configured once. Previously it was left unconfigured. Now, the VCOM value is checked the first time through, and if it is not set correctly, it will be fixed. Signed-off-by: Danny Nold <dannynold@freescale.com>