summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2012-03-21Fixes IPU memory corruption to allow simultaneous dual display2.6.35-mx53-201203211544Andy Voltz
2012-03-09ENGR00170244-2 ARM: AHCI: Enable PDDQ mode when no disk is attachedRichard Zhu
In order to save the power consumption, enable the PDDQ mode of AHCI PHY when there is no sata disk on the port Signed-off-by: Richard Zhu <r65037@freescale.com> (cherry picked from commit f97994abf50e9917a959ae62eabd08908a75a222)
2012-03-09ENGR00162711 DA9053: Add dummy write for DA9053 I2C register accessWayne Zou
DA9053 i2c issue: Rarely the i2c interface of DA9053 hang and it can not be recovered if not power off totally. The Dialog suggests adding dummy write for DA9053 I2C register access, in order to decrease the failure of DA9053 register access and possibility of i2c failure. Signed-off-by: Wayne Zou <b36644@freescale.com> (cherry picked from commit bfd7cba1eeb46977b18a3c5fa65d812817a8294d)
2012-03-09ENGR00162464 update pm4 microcode: pm4_microcode_r18_20111020.a.inl.relRichard Zhao
It fix gpu hang. Signed-off-by: Richard Zhao <richard.zhao@freescale.com> (cherry picked from commit acc00a6f1847bf8cdde1802b4375dc89d5160dfe)
2012-03-09ENGR00162195 IPUv3M:Clear IDMAC_LOCK_EN_1 for tough single displayLiu Ying
This patch clears IDMAC_LOCK_EN_1 for tough single display(dmfc=3). For example, 1080P50/1080P60 with 32bpp fb. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 204a5fb6af1426c499332224dff00f52bdbef39b)
2012-03-09ENGR00161215-2 vpu: Add ioctls for querying and setting bitwork memorySammy He
Add VPU_IOC_QUERY_BITWORK_MEM and VPU_IOC_SET_BITWORK_MEM ioctls implementation for registerring bitwork memory allocated from user space to vpu driver. Signed-off-by: Sammy He <r62914@freescale.com> (cherry picked from commit 98d71e85dbd05df9c866d153a4ead9526a26422e)
2012-03-09ENGR00160566 IPUv3:Improve IDMAC_LOCK_EN settingLiu Ying
1) Clear IDMAC_LOCK_EN when dual display is enabled to workaround black flash issue when playing video on DP-FG. 2) Only set IDMAC_LOCK_EN for IPUv3M. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 7c22da39601cfc6551292cbd2c5c1d9ee3b4fbfa)
2012-03-09ENGR00159738 v4l2: correct wrong parameter when V4l2 set window sizeYuxi Sun
Correct wrong parameter when call ipu_csi_set_window_size function Signed-off-by: Yuxi Sun <b36102@freescale.com> (cherry picked from commit c1cb33e5cbebb979967f74eecf55efe6a83884ab)
2012-03-09ENGR00159010 IPUv3:Restore IDMAC_CH_LOCK_EN_1 for resumeLiu Ying
This patch restores IDMAC_CH_LOCK_EN_1 register when IPUv3 driver resumes. This avoid the relative issue if setting IDMAC_CH_LOCK_EN_1 to be zero. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit fce84cf35dcb338886df8e58f66a7ad1048d2abe)
2012-03-09ENGR00158480 IPUv3:Set IDMAC LOCK for SDC display channelsLiu Ying
Set IDMAC_LOCK_EN_1 to make SDC display channels to generate eight AXI bursts upon the assertion of the DMA request. This change fixes the random garbage lines when showing NV12 frames decoded by VPU with V4L2 output on XGA@60 display's overlay framebuffer. V4L2 output uses MEM_PP_MEM to do 180 degree rotation. The issue can be reproduced by the following VPU unit test on MX53 SMD platform: /unit_tests/mxc_vpu_test.out -D '-i /1920x1080_H264_AAC5.1ch.2.1ch_track1.h264 -f 2 -w 1024 -h 768 -r 180 -u 1 -t 1' Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 50f969030c25bc33cf0f05a6a5cad98c52afd858)
2011-09-23ENGR00157413 asrc: fix mem to mem mode sounds incorrect issueDong Aisheng
Reset reg variable before setting or it will set an unexpected wrong value. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2011-09-14ENGR00156420 - EPDC/PxP: Add support for color mapDanny Nold
- Add support for 8-bit grayscale colormaps to be used during EPDC update processing - Add support in PxP for programming of colormaps Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-09-14ENGR00156183-2 sii902x: add error handle of put_pins for probe failJason Chen
there is hardware pin conflict between sii902x DET and egalax touch screen on mx53 loco board. Request gpio during sii902x probe can fix this conflict only when these two module not co-exist. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-09-08ENGR00156300 - EPDC fb: Move ISR code to work Q & replace spinlocks with mutexesDanny Nold
- Move the majority of code from the IRQ handler routine into a workqueue routine. This should improve system interrupt latency. - Change the spin_lock protecting EPDC queues into a mutex and change all associated spin_lock calls into mutex calls. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-09-07ENGR00155880 USB device: Fix RNDIS Full Speed hang during initializationAnish Trivedi
When setup irq is received, the status phase of the transfer is primed on ep0 before the data phase. The usb requests are added to the list of transfer descriptors (maintained by driver) in reverse of their expected completion order. Completion order is data followed by status, however the list of tds contains status followed by data. Upon completion of the data request, the irq handler proceeds to check the 1st td in the list -- the status request. In full speed mode, the status phase has not yet completed at this time, so the td's ACTIVE bit is still set. This leads irq handler to ignore the completion interrupt without checking the actual td for the data request that caused the interrupt. In high speed mode, this issue does not bear itself out because the status request also completes by the time the irq handler goes to process the data completion interrupt. The simple fix for this issue is to prime the status request AFTER the data request, so that the list of tds maintained by the driver contains the tds in the order of expected completion. Signed-off-by: Anish Trivedi <anish@freescale.com>
2011-09-07ENGR00156159 usb-device: do not deal with un-enabled device interruptPeter Chen
Do not deal with un-enabled device interrupt Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-08-31ENGR00155562 [eSDHC]fix DDTS ENGcm03648Tony Lin
fix eSDHC errata 'DDTS ENGcm03648' if it's command with busy, we should poll data0 signal until it's high which means bus is idle. Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-08-31ENGR00155268 usb-gadget: fix potential risk between rapid usb cable plug in/outTony Liu
- When usb cable is plugged out, the B_SESSION_VALID interrupt is disabled to avoid usb disconection work queue interrupting. After usb disconection work queue task is finished, re-enable it to generate interrupt. Signed-off-by: Tony Liu <b08287@freescale.com>
2011-08-31ENGR00154940 usb-gadget: Fix wrong vbus discharge operation druing suspendTony Liu
-remove all the un-necessary operation in suspend_irq -remove delay work queue -fix review comments Signed-off-by: Tony Liu <b08287@freescale.com>
2011-08-30ENGR00155574 [eSDHC]fix sdio irq enable bugTony Lin
a counter used in sdhci_enable_sdio_irq function is not correct. calling the function with enable flag will skip enabling the irq if it follows two continuous calls with disable flag because of the counter. to resolve this problem, simply set the counter to 1 or 0 instead of counting. this bug is reported by a customer. Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-08-29ENGR00155145 ipuv3 disp pos: restore pos setting after channel disable.Jason Chen
FG pos need be reset to 0 when channel disable, but it will lost old setting. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-08-29ENGR00153474 ipuv3 split mode: vf and enc task display with errorJason Chen
For split mode, if using vf/enc task, the display is not correct. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-08-29ENGR00155141 ipuv3 split mode: adjust split calculate functionJason Chen
One issue was found in split mode: For input 1024x600, output 1360x768, after stripe calculation, input width and input column are not right. This patch fix this issue. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-08-26ENGR00155292 usb-host: do not clear RS bit when usb bus goes to suspendPeter Chen
The standard EHCI design will clear RS bit after usb bus goes to suspend, but it causes some remote wakeup issues, like remote-wakeup featured device will be reset after resuming. According to usb 2.0 spec, the SOF need to be sent out within 3ms after resume signal ends, or device may consider host disconnects with device. Freescale's USB Controller (Chipidea's core) will ends up resume signal automatically within 21ms after it recevices remote wakeup signal. So, if software does not set RS bit within 21ms after it recevices remote wakeup signal, the problem described above will be occurred. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-08-24ENGR00155282 mc34708: support to build mc34708 driver onlyLily Zhang
1. If change defconfig and only build in mc34708 dirver, the following error is reported: undefined reference to `mc13892_alloc_data' undefined reference to `mc13892_init_registers' undefined reference to `mc13892_get_revision' This patch is to fix above compiling error. 2. Add mc34708 dependency in Kconfig Signed-off-by: Lily Zhang <r58066@freescale.com>
2011-08-24ENGR00144145-2 usb: can be built as loadable modulesPeter Chen
Driver part Please follow below load sequence to use OTG - fsl_otg_arc - ehci-hcd - arcotg_udc Besides, in order to match i.mx53 release windows, it changes some common code, there will be a better solution at 2.6.38 in future Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-08-19ENGR00154704 usb-gadget: wmb is needed after dtd pointer is updated for armv7Peter Chen
At armv7 SoC, the dma_alloc_coherent returns non-cachable, but bufferable region, so the driver needs to drain write buffer by itself, if the controller needs to visit dma buffer immediately after cpu writes There is a discussion for this armv7 change: http://marc.info/?t=127918539100004&r=1&w=2 For this issue, the next dtd pointer is invalid sometimes, the reason is the region which is used to store dtd is dma buffer, so the data may not be written to memory when the controller visit this data. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-08-19ENGR00154703 usb-gadget: fix spin_lock recursion problem at SMP platformPeter Chen
- The spin_lock is at interrupt handler, so all code routines using at interrupt handler are forbidden to hold spin_lock again - Move the code which needs to be protected by spin_lock to workqueue, and it will be called when workqueue is scheduled. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-08-17ENGR00154044 usb-otg: the device is invalid when usb device at otg portPeter Chen
Below bugs are fixes: - the device is invalid when usb device at otg port The reason is udc->suspended is incorrect when otg as host mode during boot up - The disconnect can't be detected if usb is online when booting up The reason is the vbus interrupt enable is cleared by otg switch work Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-08-16ENGR00154880 ipuv3 dev: wait event could be signal returnJason Chen
wait_event_interruptible_timeout function could be signal return, so we need add ERESTARTSYS return value to let libc retry sys call. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-08-12ENGR00154775 esdhc: provide clock enable interfaceDong Aisheng
1) do not always open clock for sdio card until sdio driver loaded 2) WiFi should disable host clock for host when unloaded because host has no sense when sdio driver unloadded. Noted the clock disable should at the end of SDIO driver remove callback. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2011-08-10ENGR00152844 pmic_wm8325: Add wm8325 driver supportWayne Zou
Add Wolfson PMIC WM8325 driver support Signed-off-by: Wayne Zou <b36644@freescale.com>
2011-08-09ENGR00154437 mxc edid: add cea extend revision 1 and 2 supportJason Chen
Add cea extend revision 1 and 2 support. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-08-08ENGR00154431 - MXCFB_SET_WAVEFORMS ioctl brokenDanny Nold
- Fixed bug in how new waveform set is copied into EPDC driver internal copy of waveform modes. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-08-08ENGR00154432 PMIC DA9053: fix I2C NAK for first access and shutdown issueWayne Zou
During the platform boot up, during the platform does DA9053 Read/Write operation, it writes slave address and wait for ACK . Instead of ACK PMIC sends NAK. A workaround fix is provided as a part of retries fix I2C NAK for very first access. Also fix a bug when the system fails to start after software shutdown. Signed-off-by: Wayne Zou <b36644@freescale.com>
2011-08-08ENGR00154016 DA9053 TSI: stop TSI threads during system idle and no touch eventWayne Zou
Changes Made -------------- 1) On Pen UP the TSI threads are stopped and On Pen DOWN TSI threads are started 2) Removed TSI thread creation from Probe, instead creating the TSI threads when PEN DOWN Expected Output ------------------- 1) TSI threads to stop either when system is suspended or, there is no touch event.Thus conserving power during system suspend, idle and no touch event. 2) TSI threads to start only on touch event and not when system is resumed. 3) On system Start/Restart TSI threads will not be created and started till the touch detection. Signed-off-by: Wayne Zou <b36644@freescale.com>
2011-08-08ENGR00154433 ASRC: Fix ASRC build error.Zeng Zhaoming
Fix asrc build error introduced by: 'be75f376017a04b55cc9f4b3d1c3f2836deb9e47' Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2011-08-05ENGR00154300-2 ASRC: Fix Mx53 ASRC not works with SSIZeng Zhaoming
Asrc not works with ssi, it partly caused by ASRC driver not correctly handle ssi input clock and data format. SSI frame clock counting by word, when data format is 16bit-LE, two channel data combine to one word, and frame rate used by ASRC should take this into account. And more, unlike Mx3x, Mx5x should set input and output data format correctly in its ASRMCR1x register. Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2011-08-03ENGR00154226-2 IPUv3 FB:Improve driverLiu Ying
1) Current blank information should be unblank if we return back from mxcfb_set_par() function successfully. 2) Remove bypassing the suspend handling for overlay framebuffer for Android. 3) Synchronize fb unblanking operation bewteen Android early suspend and mxcfb_set_par() to avoid fb being unblanked after early suspend is done, as Android early suspend doesn't guarantee fb cannot be operated after early suspend. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-08-03ENGR00154226-1 IPUv3:Improve driverLiu Ying
1) Fix race condition issue for enable/disable ipu clk. 2) Remove uninitializing MEM_FG_SYNC channel when suspend for Android. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-07-29ENGR00153941 input: egalax_ts - not dump the i2c package in debug level.Zhang Jiejing
Found the driver will leave i2c package dump message in kernel debug level, it create too much noice, this should be deleted. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2011-07-30ENGR00153830-2 vpu: Add VPU_IOC_REQ_VSHARE_MEM ioctl for shared memorySammy He
Add vmalloced memory for multi-instances shared memory, vpu lib will call mmap for accessing the memory. VPU_IOC_GET_SHARE_MEM ioctl is still reserved for some time since vpu lib still uses it for mx5x now. Will remove it after mx5x changes to this new added memory later. Signed-off-by: Sammy He <r62914@freescale.com>
2011-07-29ENGR00153921 Add MC34708 PWM supportRobby Cai
This driver privides dedicated APIs similar to ones provided by Linux PWM framework. MC34708 PWM supports period of time from 16000 ns to 1024000 ns, with the step of 16000 ns. The duty cycle is multiple of 1/32. Signed-off-by: Robby Cai <R63905@freescale.com>
2011-07-28ENGR00151748 DA9053 TSI: Fix touch that can not calibration on WVGA pannelWayne Zou
Fix a bug that da9052 tsi driver cannot support ts_calibrate test util. Signed-off-by: Wayne Zou <b36644@freescale.com>
2011-07-28ENGR00153837 ov5642: fix camera color issue when switch from some mode to VGAYuxi Sun
Using full register setting instead of partial register setting when switch to VGA@30fps mode. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2011-07-27ENGR00153696 ov5642: fix green color issue when take picture using QSXGAYuxi Sun
add initial setting at first, and update setting for 30fps_VGA mode, QSXGA mode, and add exposure calculation for take picture. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2011-07-26ENGR00153703 mc34708: remove generation id checkLily Zhang
The generation ID of MC34708 Rev 2.3 is 0x13. The generation ID of MC34708 Rev 2.1 is 0x91. This patch is used to remove generation id check to support different Rev chips. Signed-off-by: Lily Zhang <r58066@freescale.com>
2011-07-26ENGR00153680 vpu: Fix the issue of not increasing open_countSammy He
Fix the issue of missing to increase open_count when vpu_open. This is due to the patch of removing mx32 and mx37 code. Signed-off-by: Sammy He <r62914@freescale.com>
2011-07-25ENGR00153578 tve-vga: set vga output gain to improve qualityJason Chen
set vga output gain to improve quality. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-07-22ENGR00153564 - Fix ECLDIF build warningsDanny Nold
- Remove unused variable to correct build warning - Fix __initdata structure define Signed-off-by: Danny Nold <dannynold@freescale.com>