summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
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>
2011-02-25ENGR00139755 mxc edid: work around no support interlaced modeJason Chen
Remove interlaced mode from fb modelist before it can be supported. Should revert this patch after interlaced mode support on normal display port. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-25fbdev: Fix fb_find_nearest_mode refresh comparisonAndrew Kephart
Refresh rate nearness is not calculated or reset when nearest resolution changes. This patch resets the refresh rate differential measurement whenever a new nearest resolution is discovered. This fixes two error cases; first, wherein the first mode's refresh rate differential is never calculated and second, when the closest refresh rate from a previous nearest resolution is erroneously preserved. Signed-off-by: Andrew Kephart <andrew.kephart@alereon.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org> (cherry picked from commit e504b84805c574cf18d705c610c9e4a8f6e61017)
2011-02-23ENGR00139635 mxc edid: add edid name sysnodeJason Chen
Add name sysnode to mxc_ddc and sii902x, which can be check under: /sys/devices/platform/mxc_ddc.0/fb_name or /sys/devices/platform/sii902x.0/fb_name It's the name of fb fix id which it associated. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-23ENGR00139643-3 mxc edid: can not read edid at probe for first power onJason Chen
Need enable analog regulator. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-22ENGR00139505 battery charger: add battery charger change event for max17085Jason Chen
add battery charger change event. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-22ENGR00139119: mxc_iim: add console output for iim valueTerry Lv
Add console output for iim value. Signed-off-by: Terry Lv <r65388@freescale.com>
2011-02-21ENGR00139380-2 battery charger: add max17085 battery charger supportJason Chen
Add max17085 battery charger support Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-21ENGR00139192 - EPDC fb: Refine merging and workaround missed collisionDanny Nold
Added code to detect the potential for a "missed collision", where an update would cause a collision with an update sitting on the collision list, but does not do so with currently active updates. For this case, we conservatively treat the update as if it has generated a collision. Refined merging algorithm by blocking the merge process upon detecting certain conditions where no further merges should be done. Also added check for a special case where update regions are identical. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-18ENGR00139423 mxc edid: add edid attr sysnodeJason Chen
After this patch, you can check edid info under /sys/devices/platform/sii902x.0/edid for sii902x HDMI. And under /sys/devices/platform/mxc_ddc.0/edid for common DDC. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-18ENGR00139422 mxc edid: fix build break for imx25Jason Chen
fix build break for imx25 Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-17ENGR00139321 ipuv3: add YV12 format supportJason Chen
Add YV12 format support. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-17ENGR00139354-3 mxc edid: add common ddc driver supportJason Chen
Add common ddc driver support. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-16ENGR00137879-1 input: add HannStar p1003 touch screen driverZhang Jiejing
This is HannStar p1003 touch screen driver with Ilitek firmware multitouch(two point at max) touch screen driver. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com> Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2011-02-15ENGR00139191 [MMC]vendor spec register will be overwritternTony Lin
during multi-block transfer and MX50 TO1.1/MX53 TO2 SDHCI_VERDOR_SPEC register will be overwritten Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-02-14ENGR00139110-2 LDB:Chang video mode setting methodLiu Ying
This patch changes video mode setting method for LDB related video modes. Users need to add 'ldb=dix' for default video mode support, otherwise, need to specify the ldb mode in Kernel bootup command line. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-02-12ENGR00139111: USB GADGET: Fix endpoint disable problemsZhang Yan
fsl_ep_disable may be called while unregister gadget driver. Gedget speed was set to UNKNOWN. So we should disable endpoint whatever link speed. Correct uninitialized variables in spin lock. Signed-off-by: Zhang Yan <b34916@freescale.com>
2011-02-12ENGR00138644-5 HDMI: change the video mode setting methodJason Chen
HDMI Sii902x support for changing the video mode setting method. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-12ENGR00138644-4 TVE: change the video mode setting methodJason Chen
TVE & related ipu driver support for changing the video mode setting method. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-12ENGR00138644-3 ipuv3 fb: change the video mode setting methodJason Chen
FB driver support for the video mode setting method. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-12ENGR00138642-2 usb-device: fix spin lock recursion problemPeter Chen
Some functions at setup_received_irq will cause spin lock recursion problem, unlock spin locks before calling these functions, and re-lock spin locks after executing them. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-02-11ENGR00139076 - EPDC fb: Pan display may drop key updatesDanny Nold
Instead of dropping updates with a different panning offset than the current framebuffer panning offset, we just process those updates using the current framebuffer panning offset. This ensures that all requested update regions are processed from the latest buffer. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-08ENGR00138820 - EPDC fb: PxP mutex handling may cause race conditionDanny Nold
PxP mutex was being released and retaken while EPDC power turned on. This provides opportunity for a race condition where another thread attempts to being a PxP operation and corrupts the PxP data structures of the EPDC. PxP mutex now held through the EPDC powerup sequence. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-08ENGR00138821 - EPDC fb: Panning may cause missed collisionDanny Nold
- When update is processed, we check against latest panning offset and drop the update if they don't match. This ensures that we always update using the most current buffer location. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-03ENGR00138652 - EPDC fb: Out-of-memory due to alloc/free temp buffersDanny Nold
Statically allocate buffers for each update object, rather than dynamically allocating/freeing buffers per use. These buffers are used when PxP limitations require update content first be copied into a temporary buffer. Signed-off-by: Danny Nold <dannynold@freescale.com>