summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-06-01ENGR00140550-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-06-01staging: 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-06-01ENGR00140401 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-06-01ENGR00140462 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-06-01ENGR00140400 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-06-01ENGR00140391 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-06-01ENGR00140122 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-06-01ENGR00140086 - 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-06-01ENGR00139919 - 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-06-01ENGR00140050 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-06-01ENGR00140036 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-06-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-06-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-06-01ENGR00139383-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-06-01ENGR00139755 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-06-01fbdev: 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-06-01ENGR00139635 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-06-01ENGR00139643-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-06-01ENGR00139505 battery charger: add battery charger change event for max17085Jason Chen
add battery charger change event. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00139119: mxc_iim: add console output for iim valueTerry Lv
Add console output for iim value. Signed-off-by: Terry Lv <r65388@freescale.com>
2011-06-01ENGR00139380-2 battery charger: add max17085 battery charger supportJason Chen
Add max17085 battery charger support Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00139192 - 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-06-01ENGR00139423 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-06-01ENGR00139422 mxc edid: fix build break for imx25Jason Chen
fix build break for imx25 Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00139321 ipuv3: add YV12 format supportJason Chen
Add YV12 format support. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00139354-3 mxc edid: add common ddc driver supportJason Chen
Add common ddc driver support. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-06-01ENGR00137879-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-06-01ENGR00139191 [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-06-01ENGR00139110-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-06-01ENGR00139111: 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-06-01ENGR00138644-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-06-01ENGR00138644-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-06-01ENGR00138644-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-06-01ENGR00138642-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-06-01ENGR00139076 - 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-06-01ENGR00138820 - 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-06-01ENGR00138821 - 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-06-01ENGR00138652 - 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>
2011-06-01ENGR00138742 - EPDC fb: Driver may run out of markers after a whileDanny Nold
Markers now cleared once the associated LUT completes. This ensures that markers will always be cleared. The marker does not have to be waited on to be cleared. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00138651 - EPDC fb: Rotation updates clipped incorrectlyDanny Nold
- Corrected the computation of PxP input/output buffer address offsets - Corrected the computation of EPDC input buffer address offset - Expanded cases requiring SW of update contents pre-PxP processing, now covering: - Case where input address offset is not 32-bit aligned and auto-waveform mode selected - Case where input address is not 32-bit aligned and total pixels added per-line to PxP processing task is 8 or more. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00138513 - EPDC fb: Auto-waveform selecting wrong waveform modeDanny Nold
- Software workaround for PxP alignment/histogram limitation implemented For updates using auto-waveform selection and using update region dimensions that are not 8x8 multiples, the update region is copied into a temporary buffer and the margins filled with 0s. This buffer becomes the input to the PxP. - PxP/EPDC buffer offsets adjusted to properly handle all rotation cases. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00138520 IPUv3:Correct IPU spinlock logicLiu Ying
1) Fix the double locking IPU spinlock issue. 2) Protect g_channel_enable_mask with IPU spinlock. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-06-01ENGR00138560 USB: Disable usb interrupt before host resumeZhang Yan
Disable usb interrupt in host wakeup to avoid bad irq. USB host irq was re-enabled in resume. BTW, set host-to-gadget discharge 20ms. Signed-off-by: Zhang Yan <b34916@freescale.com>
2011-06-01ENGR00138165 - EPDC fb: Updates not protected against changes to FB dataDanny Nold
- Ensure that no updates are active when changing the FB info - Fix criteria for evaluating whether any updates are active Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-06-01ENGR00138535 USB: Discharge VBUS after set VBUS lower or unplug from HOSTZhang Yan
1. Add discharge vbus when set vbus lower; 2. Due to unplug from HOST bring up suspend irq. add discharge in suspend irq. 3. Update port speed when port connect changed. 4. Add port speed verify in ep operation code. Signed-off-by: Zhang Yan <b34916@freescale.com>
2011-06-01ENGR00138547: mxc_iim: can't release twice in mxc_iimTerry Lv
When open mxc_iim twice, mxc_iim can't be close twice. Signed-off-by: Terry Lv <r65388@freescale.com>
2011-06-01ENGR00138532: mxc_iim: let mxc_iim work with dd and echoTerry Lv
mxc_iim: let mxc_iim work with dd and echo. Signed-off-by: Terry Lv <r65388@freescale.com>
2011-06-01ENGR00138333 MX5x In security drivers use IS_ERR to check for clk pointer errorAnish Trivedi
Error check of clk pointer should use IS_ERR instead of ERR_PTR(ENOENT). Updated SCC2 and SAHARA drivers to use this method for error checks as well as to propagate the error code where applicable. Signed-off-by: Anish Trivedi <anish@freescale.com>
2011-06-01ENGR00138480: mxc_iim can't be open twiceTerry Lv
mxc_iim can't be open twice. The reason is that request_irq failed when open mxc_iim again. So put request_irq function to probe function. Signed-off-by: Terry Lv <r65388@freescale.com>
2011-06-01ENGR00138477 USB: perfect usb debug fileZhang Yan
Open usb clock before view usb debug file. avoid system hang when view usb debug information in suspend state. Signed-off-by: Zhang Yan <b34916@freescale.com>