summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-04-27ENGR00142581-2 MX50 RD3: Add PINMUX setting callback in wvga driverRobby Cai
Added get_pins/put_pins/enable_pins/disable_pins callbacks in driver, which is passed as platform data. Signed-off-by: Robby Cai <R63905@freescale.com>
2011-04-23ENGR00142410 MX50 PXP: Fix PxP operation may time out or hang upRobby Cai
There might be a chance that clk_disable() is called when PxP task is in process. Add this check before actually disable PxP clock to fix this issue. Signed-off-by: Ko Daiyu <R18641@freescale.com> Signed-off-by: Robby Cai <R63905@freescale.com>
2011-04-22ENGR00142459 - EPDC fb: TCE underrun workaroundDanny Nold
- Add new LUT selection method to always prefer a higher order LUT than those currently active. - Handle TCE underrun interrupts. Continue with normal operation and prevent them from bringing down the EPDC driver. - Add option to prevent TCE underruns - tce_prevent - Add method to synchronize submission of updates when potentially vulnerable to TCE underrun. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-04-21ENGR00142411-2 [MX50]Fix minor bug of regulatorAnson Huang
fix regulator minor bug. Signed-off-by: Anson Huang <b20788@freescale.com>
2011-04-20ENGR00142351 mxc_gpu: autogating: add pending flagRichard Zhao
pending indicate the timer has been fired but clock not yet disabled. This patch fixs the bug that sometimes in irq handle it tries to enable clock and cause BUG. Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2011-04-20ENGR00141400 GPU: Improve GPU clock gatingZhou, Jie
seperate interrupt handling and clk_enable for Z160 and Z430 Signed-off-by: Zhou, Jie <b30303@freescale.com> Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2011-04-15ENGR00142167 [MX50]MC34708 battery driverAnson Huang
Current charging point number should be 1, unless Sometimes system will hang if ADC reading battery voltage > 4.2V. Signed-off-by: Anson Huang <b20788@freescale.com>
2011-04-14ENGR00142123-1 MX50: Add PINMUX callback for CLAA WVGA driver on RD3Robby Cai
Added get_pins/put_pins/enable_pins/disable_pins callbacks in driver, which is passed as platform data. NOTE: The CLAA WVGA panel works only on same port as EPDC on RD3. Signed-off-by: Robby Cai <R63905@freescale.com>
2011-04-12ENGR00141918 - EPDC fb: Correct waveform mode when mergingDanny Nold
- Refined update merging approach to aggressively merge while selecting the waveform mode conservatively - Reverted IST code which attempted to detect and resolve the missed collision artifact. This code actually creates artifacts by sometimes resubmitting updates and causing out-of-order update completion artifacts. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-04-07ENGR00140983-4 - SII902X fb: Support HDMI driven through LCDIF moduleDanny Nold
- Defined new API to allow client display FB drivers to pass videomode information to the LCDIF. - SII902X added calls to enable/disable pins through platform-level function pointers. - Changed SII902X driver to ensure that HDMI detect routine gets called once FB is registered, if a hotplug interrupt has previously been detected. - Added call to display boot logo once FB is registered. - Modified LCDIF to incorporate videomodes passed in from client display FB drivers. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-04-07ENGR00141485 - EPDC fb: Change default update scheme to Queue & MergeDanny Nold
- Change from Snapshot scheme to Queue & Merge scheme for improved performance. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-04-07ENGR00141735 MX50 RD3: use platform_device_id to differentiate two pmicsRobby Cai
we re-use rtc-mc13892.c, so use platform_device_id to make it clear. Signed-off-by: Robby Cai <R63905@freescale.com>
2011-04-06ENGR00141508-1 MX50 RD3: Add PMIC Ripley driverRobby Cai
Support Regulator, ADC, TouchScreen, Battery, RTC. PMIC issues are tracked on http://wiki.freescale.net/display/MADPlatMX508/RD3+board+Issues+Tracking Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com> Signed-off-by: Robby Cai <R63905@freescale.com>
2011-04-02ENGR00141567 Fix build break for other platformsRobby Cai
Resolved conflict with MC34704 on MX25 Switched off MC13783 config for MX3 Signed-off-by: Robby Cai <R63905@freescale.com>
2011-04-02ENGR00141425-1 MX50: Restruct PMIC framework to accept new PMIC RipleyRobby Cai
- make MC13892 and MC34708 can co-exist, only one attached at run-time. - make the change as least as possible. - expect no functional impact (only SPI interface verified). Signed-off-by: Robby Cai <R63905@freescale.com>
2011-03-31ENGR00141393 usb: revert one tiny changePeter Chen
The variables for low power should be updated after phcd updated Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-03-30ENGR00141312 tve: add uevent for tve cable detectionJason Chen
When cable mode changed, below uevent will be sent out: EVENT=NONE EVENT=CVBS0 EVENT=YPBPR EVENT=SVIDEO under /sys/devices/platform/tve.0 Signed-off-by: Jason Chen <b02280@freescale.com>
2011-03-29ENGR00141299: NAND/MXC: Fix the build warningJason Liu
Fix the the following build warning, drivers/mtd/nand/mxc_nd2.h:498:7: warning: "CONFIG_ARCH_MXC_HAS_NFC_V2" Signed-off-by: Jason Liu <r64343@freescale.com>
2011-03-28ENGR00141152-6 tve: make default display optionJason Chen
tve driver change. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-03-28ENGR00141152-5 sii902x: make default display optionJason Chen
sii902x driver change. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-03-28ENGR00141152-4 mxc edid: make default display optionJason Chen
mxc edid driver change. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-03-28ENGR00141152-3 ldb: make default display optionJason Chen
ldb driver change. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-03-28ENGR00141161 ipuv3: add bgr24 fmt support for diJason Chen
add bgr24 fmt support for di Signed-off-by: Jason Chen <b02280@freescale.com>
2011-03-25ENGR00141155-2 sii902x: add related regulatorJason Chen
Add related regulator. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-03-24ENGR00141092 usb: fix some tiny bugs for usbrel_imx_2.6.35_11.03.00Peter Chen
For android system, the gadget driver is built in, when the usb device is on otg port, the udc suspended counter will be error at the situation. This patch fix it, if this situation is met, the udc suspended counter will be not added. Using A VBus Valid to judge whether the usb cable is connected, as some boards' vbus may higher than 0.8v(B Session Valid) Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-03-23ENGR00140950 mfg: fix the bug that ubiformat utility breaks utp protocolPeter Chen
ubiformat includes command, data, command periods, it breaks utp protocol for PUT commands. So we add two operations to fix it. One is sending busy to host before the data periods begins. The second is adding a new command to waiting ubiformat's command period. Signed-off-by: Li Xingyu <b02754@freescale.com> Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-03-22ENGR00140893-1 VPU: remove VPU IRAM config and add iram info to plat data.Sammy He
One kernel image is requested, however, we need to enable iram for performance improvement on mx53, and disable it on mx51 due to known issue. So use platform data to pass vpu iram disable/enable flag. And considering requested iram size also can be different per requirement, iram size is also set in platform data. Signed-off-by: Sammy He <r62914@freescale.com>
2011-03-22ENGR00140864-2 OV5642:Support 1080P at 15fps and PAL at 30fpsLiu Ying
This patch supports OV5642 camera to work at 1080P at 15fps and PAL at 30fps. Tested on MX53 SMD board. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-03-22ENGR00140864-1 OV5640:Support QSXGA(2592x1944) at 7.5fpsLiu Ying
This patch supports OV5640 camera to work at QSXGA(2592x1944) at 7.5fps. Tested on MX53 SMD board. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-03-19ENGR00140486-1 MX50 Add SPI NOR Flash on RD3Robby Cai
support new chip M25P32 driver via FSL SPI interface Signed-off-by: Robby Cai <R63905@freescale.com> (cherry picked from commit fd4834656499f925b185aa70d6e3ba69d7a98d69)
2011-03-17ENGR00140764 ipuv3 dev: change cache policy to writethroughJason Chen
Change from writecombine to writethrough. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-03-17ENGR00140710-2 usb-device: add more device wakeup modesPeter Chen
device driver parts Following usb device wakeup modes is supported are added: -vbus failing wakeup: it happens when our SoC suspend and host's vbus failing (after host(pc) suspends 10 seconds later) -device receives reset wakeup: it happens follow below steps: --Find MSC device at pc for soc --Right-click -> Disable (this will suspend the device) --let soc go to suspend --Right-click -> Enable (this will reset the device) -device receives resume signal from pc: it can be tested by pc HSET tools Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-03-16ENGR00140638 - EPDC fb: System may hang if entering suspend while updates activeDanny Nold
- Added signalling to ensure suspend call does not return until EPDC has powered down. - Fixed race condition in IST. The working buffer (WB) process for a new update may report collision with LUTs that complete and are processed and removed by the IST before the working buffer completes. When this occurs, the collision may wait (forever) for a LUT that has already completed. This was putting the update queues into a bad state, preventing the update pipe from being flushed out. Solved this by tracking all completed LUTs after the WB process begins, and then removing them from the collision mask once the WB completes. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-03-16ENGR00140699-1 [mxs spi]support spi slave mode.Tony Lin
suppport spi slave mode. master/slave mode is selected in the beginning do not support dynamically switch between master/slave mode. in slave mode, pio mode is not allowed, only DMA mode is supported. Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-03-16ENGR00140700 GPU: fix tiger run the second time causing system hangRichard Zhao
The root cause is endless GSL_INTR_BLOCK_YDX_CP interrupt. Apply interrupt status read work around only when yamato started. Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2011-03-15ENGR00140550-2 [AR6003 WIFI]remove old wifi driverTony Lin
remove old wifi driver code from driver/net/wireless/ath6kl/ Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-03-15ENGR00140550-1 [AR6003 WIFI]modifications from cherry-pickTony Lin
add header files to make cherry-pick compile on 2.6.35 kernel change wireless name from eth to wlan Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-03-15staging: add ath6kl driver for AR6003 chipVipin Mehta
AR6003 is a single stream, SDIO based 802.11 chipset from Atheros optimized for mobile and embedded devices. ath6kl is a cfg80211 driver for AR6003 and supports both the station and AP mode of operation. Station mode supports 802.11 a/b/g/n with HT20 on 2.4/5GHz and HT40 only on 5GHz. Some of the other features include WPA/WPA2, WPS, WMM, WMM-PS, and BT coexistence. AP mode can be operated only in b/g mode with support for a subset of features mentioned above. The driver supports cfg80211 but comes with its own set of wext ioctls which have historically supported some of our customers with features like BT 3.0 and AP mode of operation. For further details, please refer to: http://wireless.kernel.org/en/users/Drivers/ath6kl The driver requires firmware that runs on the chip's network processor. The majority of it is stored in ROM. The binaries that are downloaded and executed from RAM are as follows: 1) Patch against the code in ROM for bug fixes and feature enhancements. 2) Code to copy the data from the OTP region of the memory into RAM. 3) Calibration file carrying board specific data. The above files need to be present in the directory '/lib/firmware/ath6k/AR6003/hw2.0/' for the driver to initialize the chip upon enumeration. The files can be downloaded from the link specified at the following location: http://wireless.kernel.org/en/users/Drivers/ath6kl#Download This driver is only provided in the interim while we work on the mac80211 replacement, ath6k. Once the mac80211 driver achieves feature parity with the ath6kl driver, the ath6kl will be deprecated and removed from staging. Signed-off-by: Vipin Mehta <vmehta@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-10ENGR00140401 SET_BLOCKLEN shouldn't be sent when eanble DDRRichard Zhu
Customer provided this patch, the SET_BLOCKLEN shouldn't be sent when enable the DDR mode required by customer's iNand. Tested by customer on it's own board. BTW, this patch is not needed on 2.6.38 kernel, should be discarded after upgrade the kernel version. Signed-off-by: Richard Zhu <r65037@freescale.com>
2011-03-10ENGR00140462 esdhci fix the errors after implement the new SOC rev APIsRichard Zhu
Fix the errors after implement the new soc rev APIs Refine the SOC revision APIs in the esdhc driver. Signed-off-by: Richard Zhu <r65037@freescale.com>
2011-03-08ENGR00140400 MXC V4L2 capture:Add maximum buffer numberLiu Ying
This patch adds MXC V4L2 capture maximum buffer number from 3 to 10. This makes users be able to get rid of losing frames in streaming mode by requiring more buffers. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-03-08ENGR00140391 ISL29023:Keep int thresholds in interrupt handlerLiu Ying
We used to set the interrupt thresholds to the measure range of the light sensor in the interrupt handler, this potentially makes user poll on the input event and never be waken up. This patch keeps the interrupt thresholds in the interrupt handler and is tested on MX53 SMD. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-03-07ENGR00140122 MX53_SMD: p1003: report single pointer.Zhang Jiejing
Since Ubuntu needs report single pointer, I add BTN_TOUCH event in single pointer event report. It will not affact Android, also made ubuntu touchscreen works. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2011-03-04ENGR00140086 - EPDC fb: Alternate buffer virtual address handled incorrectlyDanny Nold
- Virtual address parameter for alternate buffer feature removed. Virtual address now computed based on physical address parameter. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-03-03ENGR00139919 - EPDC fb: Allows merging of 2 updates with markersDanny Nold
- Create new per-update list of markers instead of just one marker per update. - Allow updates with markers to merge and compile all markers onto a per-update list. - Changed full marker list member variable to a list_head to reduce memory allocations and wasted memory. - Also redefined buffer queue objects as list_head objects Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-03-03ENGR00140050 GPU: workaround hang with heavy bus loadingZhou, Jie
The GPU hang when run two cubes together with one video playback. According to the suggestion from AMD, we'd better not read register when GPU active, especially for CP block. Signed-off-by: Zhou, Jie <b30303@freescale.com>
2011-03-02ENGR00140036 Set init max poll delay time in mma sensor driverSammy He
1. Set initial max poll delay time in mma8450 and mma8451 accelerometer sensor driver. And remove one build warning. 2. Remove dev parent set. Signed-off-by: Sammy He <r62914@freescale.com>
2011-03-01ENGR00139672-3 Make use of the new mx5x_revision callDinh Nguyen
For better alignment with the upstream i.MX kernel, switch from cpu_is_mx5x_rev() to mx5x_revision(). This is the drivers/ part of the patch. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
2011-03-01ENGR00137868 - EPDC fb: Accept unlimited updates for queued schemeDanny Nold
Created a list for pending update and a list for update markers. Memory for list object for both is allocated dynamically. Accordingly, code was modified to work with these new object structures. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-25ENGR00139383-1 Add ISL29023 light sensor supportLiu Ying
This patch adds ISL29023 light sensor support. Users may control the light sensor work at different modes/ranges/resolutions or read the lux value via sysfs. A power state node is also created in sysfs. If the light sensor works at ALS once mode, users need to power down/power up the sensor before read the lux value again. Currently, IR(Infra Red) mode is not supported. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>