summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-07-22gpio: ux500: Porting ab8500-gpio on 3.0Philippe Langlais
Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2011-07-22staging: cg2900: Fix for gpio header moveRobert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22input: ske: Fix for gpio header moveRobert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22gpio/nomadik: use genirq core to track enablementLinus Walleij
Currently the Nomadik GPIO driver tracks enabled/disabled interrupt status with a local variable, switch to using the interrupt core. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2011-07-22gpio/nomadik: disable clocks when unusedRabin Vincent
The GPIO clock is required for register access and interrupt detection. When interrupt detection is not required on any of the pin in a block, the block's clock can be disabled when the registers are not being accessed. Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-by: Rickard Andersson <rickard.andersson@stericsson.com> Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com> [Adjust for new IRQ chip core code, use only local functions] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2011-07-22gpio/nomadik: move the Nomadik GPIO headerLinus Walleij
This takes the Nomadik GPIO header out of the plat-nomadik directory and pushes it down into <gpio/nomadik> where it belongs. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2011-07-22Fix merge problems merge with org commit.Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22misc: bh1780gli: Fix merge problems merge with orignial commit.Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22mfd: prcmu-updates: Fix for merge from 35 merge with original commitsRobert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22hsi: ste_hsi: Fix merge problems merge with original commit.Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22misc: shrm: Update for 3.0Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22mmc: host: Merge fixes merge with original commit.Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22staging: Kconfig fix merge with original commitRobert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22staging: camera-flash: Update for 3.0Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22musb: Update for 3.0Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22av8100: Update for 3.0Robert Marklund
TODO: This commit must be fixed. Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22staging: mmio: Update for 3.0Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22staging: nmf-cm: Update for 3.0Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22staging: cg2900: Update for 3.0Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22cw1200: throughput optimization and fine-tuning.Dmitry Tarnyagin
* Fixed: Do not allocate a dedicated communication channel (buffer) for WSM command stream, use it for data traffic when needed. * Additional statistics added to DebugFS: counters for TX policy cache misses and unaligned skbs memmove. * Fixed: Strip IV/ICV in the driver to prevent mac80211 layer from double-verification. Change-Id: I600664466d577df4c2bc62ff49fb22f2d3b024cc Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24482 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25622 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: Remove link to platform_device from platform_data.Dmitry Tarnyagin
Pointer to platform_device was added to the cw1200 platform_data in the regulator support commit. It is not needed and breaks design: cw1200 platform_devce should not be exposed to the cw1200 driver. Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Change-Id: Ic880da9e4bc7ee4d3cfd759bf201c6f850509142 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25140 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: rate policy optimization.Dmitry Tarnyagin
Try to utilize higher rates as much as possible before switching to lower rates. Change-Id: Ieaba60bc17b9c8e4e676a6ed7e5061d2ba8eddcf Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24481 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25621 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: Document and optimize device reset sequence.Dmitry Tarnyagin
Some devices have problems with reset if WRESET is active (low) when device is being powered on. Additional WRESET cycle is required for these devices. Change-Id: I117c1776e3819260ec7f4aa4e0d14174eb3f7e82 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25624 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com> Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com>
2011-07-22cw1200: New option for 5GHz support.Dmitry Tarnyagin
5GHz band support is disabled by default in the driver. Use CW1200_5GHZ_SUPPORT kernel option to explicitly enable it if your hardware supports 5GHz band. Change-Id: I21c30ebd277ab19fcd92380f806111f2db668d0f Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25623 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: 11n verification and bugfixing.Dmitry Tarnyagin
* MCS rate indexes were wrongly interpreted by the driver as legacy rate offsets in both TX and RX directions. * HT rates have not been marked as MCS rates in rate description table. * Driver should not expose AMPDU aggregation capability to the mac80211 stack, aggrehation is fully controlled by the firmware. Firmware takes care of block ACK negotiation. * Block ACK action frames are filtered by driver: mac80211 layer is not involved into BA dialog. * Block ACK in TX direction is enabled. * Block ACK in SoftAP mode is enabled. * RX'ed frames should not be marked as "aggregated" for the mac80211 stack, it confuses rate control algorithm quite a lot. * CONFIG_CW1200_HT_SUPPORT option is removed: drivers always supports HT. TODO: - Modify minstrel rate policy "distillation" to prioritize higher bitrates. - Verify greenfield mode. Change-Id: I9288a2b99984785ae97d85de98ea79d3a49ea64f Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24480 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25620 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: stylistic change: move RX callback to txrx.cDmitry Tarnyagin
WSM RX callback is moved form sta.c to txrx. Change-Id: Id56e07c3b71d8a2fb52b3b974feaed8c48364390 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24479 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25619 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: Multi-tx confirmation is implemented.Dmitry Tarnyagin
Multi-tx offloads SDIO interface by reducing number of TX confirm messages. Multiple PDUs are acknowledged by a single multi-tx confirm message. Change-Id: Ie152a2dc9fc3ca18e2a8042965f626a6c2ec6409 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24478 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25618 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: AMSDU debug statisticsDmitry Tarnyagin
MSDU aggregation statistics are exposed to DebugFS. Change-Id: Ifb99ab3a206d50a3f86b791fbc505de0e9b64371 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24477 Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25617 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: Support of WSM293+ firmware in STA mode.Dmitry Tarnyagin
WSM299 firmware is more strict in terms of when driver is allowed to send "Set PM" request. Change is done to move power management after join. Change-Id: I211ab9cf9ad3dc40f551e1b09f7b3d9179e02c74 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24297 Reviewed-by: Bartosz MARKOWSKI <bartosz.markowski@tieto.com> Reviewed-by: Janusz DZIEDZIC <janusz.dziedzic@tieto.com> Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25616 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: fix for locked datapath after deauth.Dmitry Tarnyagin
When AP sent more than one deauth requests in a row, datapath was remaining locked after deauthentication/unjoin. Result code of queue_work() was not checked and datapath was not unlocked if unjoin_work was already pending execution. Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Change-Id: I9c8394acd75e1aa828fad04c33bda118893ba031 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25615 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: throughput optimization.Dmitry Tarnyagin
* An expencive workaround against a bug in really old hardware is removed. * IEEE80211_HW_AMPDU_AGGREGATION is set in the device capability flags. * Michael MIC is stripped by the driver: avoiding double-check by the mac80211 stack. Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Change-Id: Iaf07e3f675685208c1c66a5faa6219ccbc893238 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25614 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22cw1200: Expose driver internals on DebugFS.Dmitry Tarnyagin
Change-Id: I8dc24f029e78c9c2026dbe03f4a7111746316d70 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25613 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2011-07-22ux500: mmio: Fix 2.6.38 ioctl portingPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2011-07-22mach-ux500: Adding Support for U5500 Camera BoardPhilippe Langlais
This change will allow users to use B5500/S5500 Camera ST-Ericsson Linux next: NA ST-Ericsson ID: ST-Ericsson FOSS-OUT ID: Trivial Change-Id: If26b76e2f400e2c67cdb555454e92cbcef5b65d4 Signed-off-by: Nikhil Bhandary <nikhil.bhandary@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23087 Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-07-22staging: Add support in mmio driver for u5500Robert Marklund
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22staging: camera-flash: Add camera-flash driverPhilippe Langlais
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22staging: nmf-cm: Add NMF/CM driverPhilippe Langlais
This is driver for loading code to a DSP Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org> Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22staging: Add STE mmio driverRobert Marklund
Add STE camera IO driver code in staging Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
2011-07-22SDIO: Fix deadlock when destroying IRQ work queueStefan Nilsson XK
This patch fixes a deadlock in sdio_release_irq. If there was work scheduled that had not yet claimed the mmc host at the point of calling sdio_release_irq, then it never could claim the host since the caller of sdio_release_irq already had claimed the host. Now the host is released to allow the work queue to flush out any pending work. A check is also added to make sure IRQ:s are not enabled as a consequence of this cleanup work. ST-Ericsson Linux next: NA ST-Ericsson ID: ER339608 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I700719e10c779d69561f0cc66b1df5fb41cbd21e Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24675 Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com> Reviewed-by: QATEST
2011-07-22video: hdmi: Correct hdcp acc to documentationPer Persson
The hdcp management data sent to av8100 is synchronised with the av8100 documentation. ST-Ericsson ID: 344063 ST-Ericsson Linux next: Not tested, ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I00f54abe266178be0141ee1c4a46cc9bd2de91d5 Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24522 Reviewed-by: QATOOLS Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: QATEST Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com>
2011-07-22misc: shrm: Remove u8500 ED supportJonas Aaberg
ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: 342987 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I10725c885b3492014f5ee6006e188d569383960b Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24278 Reviewed-by: QATEST Reviewed-by: Hemant-vilas RAMDASI <hemant.ramdasi@stericsson.com> Reviewed-by: Kumar A SANGHVI <kumar.sanghvi@stericsson.com>
2011-07-22mfd: ab8500_gpadc: Raw ADC value converted twiceKalle Komierowski
A bug made the raw ADC value converted to voltage entity twice. Renamed some gpadc function arguments to clarify use. ST-Ericsson ID: 344073 ST-Ericsson Linux next: Tested by ELINWAL ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I53465c2e65c001c23d13929b4bdb59700eb7cf18 Signed-off-by: Kalle Komierowski <kalle.komierowski@gmail.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24552 Tested-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com> Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Reviewed-by: John BECKETT <john.beckett@stericsson.com> Reviewed-by: QATEST
2011-07-22video: mcde: add support for generic write commandsAnders Bauer
This patch adds function mcde_dsi_generic_write, used for sending generic write commands to DSI display. ST-Ericsson ID: 334291 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: Not tested, ER 282779 Change-Id: I9c0bb3135321b7ab27067dc9d85a048bdce90f85 Signed-off-by: Anders Bauer <anders.bauer@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23218 Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2011-07-22video: mcde: fix build problems with updateMarcel Tunnissen
This patch fixes build problems that were introduced by the patch with ID Ice1f936a8a00e2fbc8fdf7e8c6621c539efe0ac4. The problems are seen when non-default configurations are used. ST-Ericsson ID: 343242 ST-Ericsson Linux next: Not tested, ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iac284116e8f33f059bb85cf9e10820fb51f8f6f2 Signed-off-by: Marcel Tunnissen <Marcel.Tuennissen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24347 Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-07-22video: av8100: Add suspend resumePer Persson
Parts of suspend/resume handling are moved from display driver to av8100 driver. ST-Ericsson ID: 326691 ST-Ericsson Linux next: Not tested, ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9a6ac38c138bfea4cf07d3b38d16d4ac95d05a84 Signed-off-by: Per Persson <per.xb.persson@stericsson.com>
2011-07-22video: mcde: Log error interrupts as debug supportMarcel Tunnissen
When built with debug support this patch takes care that some error interrupts from MCDE are logged, e.g. FIFO underflow. ST-Ericsson ID: 269500 Linux-next: ST-Ericsson ID: ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie39129c09bdf3ac08a488cc90eed86575cc210d8 Signed-off-by: Marcel Tunnissen <Marcel.Tuennissen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21819 Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: QATEST Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2011-07-22u5500 : Change flag to GFP_ATOMIC for memory reqBibek Basu
In interrupt handler one should request for memory with flag as GFP_ATOMIC ST-Ericsson Linux next: 336280 ST-Ericsson ID: 343229 ST-Ericsson FOSS-OUT ID: N/00201-FEA 212 8003 Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Change-Id: Ic5510e48f6e4d7acbdfa3ac681ecd2fac1e60e46 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24222 Reviewed-by: QATEST Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-07-22video: av8100: Improve plug detectionPer Persson
- Set 5V cycle to always on when plugged. - Keep existing 5V cycle when unplugged. - Avoid changing 5V time value to zero. ST-Ericsson ID: 343199 ST-Ericsson Linux next: Not tested, ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I999eaa5ef0cfe4ee41bb47213c174a85fc7a04a3 Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24313 Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QATEST Reviewed-by: Per-Daniel OLSSON <per-daniel.olsson@stericsson.com> Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-07-22ux500: cryp: Use relaxed versions of writel/readlJoakim Bech
- Use readl_relaxed instead of readl. - Use writel_relaxed instead of writel. - Use writesl where a stream of data is written to the crypto hardware. - Use readsl where a stream of data is read from the crypto hardware. The above changes will increase performance when doing cryptographic operations. We noticed about 30%-50% better throughput when running the cryptographic test module tcrypt. ST-Ericsson ID: 343394 ST-Ericsson Linux next: Not tested, ER 320876 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I32d9229f93a8b86257d5a9ab9729cfc4337caa52 Signed-off-by: Joakim Bech <joakim.xx.bech@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24275 Reviewed-by: QATEST Reviewed-by: Berne HEBARK <berne.hebark@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2011-07-22AB8500: Export all AB8500 ADCs as debugfs nodesJohn Beckett
ST-Ericsson ID: 326039 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I30ca4ef74046397d4b498b7cf5673a153a2f62e1 Signed-off-by: John Beckett <john.beckett@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23456 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>