aboutsummaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-06-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-06-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-06-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-06-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-06-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-06-17ux500: mmio: Fix 2.6.38 ioctl portingPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2011-06-17Imaging : Camera : 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> Conflicts: arch/arm/configs/u5500_defconfig arch/arm/mach-ux500/Makefile arch/arm/mach-ux500/board-u5500.c drivers/staging/Kconfig include/linux/mmio.h
2011-06-17ARM: ux500: flash: put driver code into stagingPhilippe Langlais
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: arch/arm/configs/u8500_defconfig
2011-06-17ux500: Put NMF/CM driver in kernel source treePhilippe Langlais
Put all sources from NMF/CM driver in kernel source tree instead of having a link within Android environment. u8500 NMF/CM: Use deferrable timer in the DSP-monitor threads Use deferrable timer in the threads monitoring the DSP load, to not wake up ARM just for that. u8500 NMF/CM: update to NMF 2.10.106 - Remove useless (userland only) files - Fix several ER (Null pointer, issue in multiprocess environment) u8500 NMF/CM: enable NMF/CM driver by default Enable the NMF/CM driver in the default config for u8500 instead of relying on Android's makefile. Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> staging: nmf-cm: Remove u8500 v1 support Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> staging: nmf-cm: Adding support for cyclic DMA jobs NMF-CM gets support for setting up cyclic DMA jobs. Start/stop of the DMA job will be controlled by the DSP. ST-Ericsson ID: 338329 Signed-off-by: anneli lundblom <anneli.lundblom@stericsson.com> u8500 NMF/CM: do not call MMDSP if it is out Do not do any call to MMDSP if it is not or no more booted. Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Fix in moduleparam.h for compilation pb Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2011-06-17ux500: STE camera IO driver code in stagingPhilippe Langlais
Updates board_mop500.c so that mmio driver can obtain gpio config from platform Adds sensor clock configuration to board specific file. Adds support for impplementing different power cycling schemes for primary and secondary camera sensors. Signed-off-by: rajat verma <rajat.verma@stericsson.com>
2011-06-17SDIO: 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-06-17video: 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-06-17misc: 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-06-17mfd: 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-06-17video: 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-06-17video: 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-06-17video: 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> Change-Id: Ib5e293629bd01b731c9761da3ed5115cdb74752d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24315 Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: Per-Daniel OLSSON <per-daniel.olsson@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2011-06-17video: 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-06-17u5500 : 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-06-17video: 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-06-17ux500: 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-06-17AB8500: 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>
2011-06-17ux500: cryp: Remove register accessJoakim Bech
Remove unnecessary call to function cryp_configure_for_dma when running in CPU mode only (we will gain performance by not calling this function, since it read and write to registers in the crypto hardware). ST-Ericsson ID: 343001 ST-Ericsson Linux next: Not tested, ER 320876 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie5e99d2f96e6c9218ec767a76eb65a6683ad17dd Signed-off-by: Joakim Bech <joakim.xx.bech@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24150 Reviewed-by: QATEST Reviewed-by: QATOOLS Reviewed-by: Berne HEBARK <berne.hebark@stericsson.com>
2011-06-17cpufreq: return proper val in cpufreq_update_freqMartin Persson
ST-Ericsson ID: 342949 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id3505cbdd43f3b68dfcc882b7ca82075987349c4 Signed-off-by: Martin Persson <martin.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24231 Reviewed-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com> Reviewed-by: QATEST Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-06-17[ANDROID]: misc: bh1780gli.c: Fix ifdefsJonas Aaberg
ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie68a18f1120899167026b8b5116dd14c658d2d1d Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23701 Reviewed-by: Marcus COOPER <marcus.xm.cooper@stericsson.com> Reviewed-by: QATEST
2011-06-17hwmon: ab8500: Add BatCtrl thermal sensorHuan DUAN
Support for monitoring BatCtrl in AB8500 has been added ST-Ericsson Linux next: ER282986 ST-Ericsson ID: CR339643 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I71cfa8b8ecaeae9291d910bc1928ad0e36834709 Signed-off-by: Huan DUAN <huan.duan@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23986 Reviewed-by: QATEST Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Martin PERSSON <martin.persson@stericsson.com>
2011-06-17cryp: Session handling for software contextJoakim Bech
- Add a session id to the software crypto context in ux500 crypto driver. - Add a static global session id which is a counter that increases when a new job is started (it is ok that this variable loop back to zero when it reach the maximum value). - These session id's will be used to decide if the hardware registers needs be restored or not for continous jobs. As a result we gain performance when we don't need to restore hardware registers. ST-Ericsson ID: 342659 ST-Ericsson Linux next: Not tested, ER 320876 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I1a1f508e9969e438204d1b4a803f1d637c1e0d60 Signed-off-by: Joakim Bech <joakim.xx.bech@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24019 Reviewed-by: QATOOLS Reviewed-by: QATEST Reviewed-by: Berne HEBARK <berne.hebark@stericsson.com>
2011-06-17lsm303dlh: adding functions under CONFIG_SENSORS_INPUT_DEVICEChethan Krishna N
Functions that are called only when CONFIG_SENSORS_INPUT_DEVICE is enabled are put under the same switch Change-Id: If652e8ab2ca0d3482d24145bb5d908f5dbacf965 Signed-off-by: Chethan Krishna N <chethan.krishna@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23882 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-06-17ab8500-gpio: Allow initial configuration of GPIO registersChris Kimber
Allows the setting of the initial GPIO direction & pullup registers. ST-Ericsson Linux next: Ported & patch created ST-Ericsson ID: 334609 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I676ed8129a96a2fe41865117e4c864edc09d01ce Signed-off-by: Chris Kimber <chris.kimber@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23339 Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2011-06-17arm: ux500: common dbx500 prcmu driver apiMattias Nilsson
This patch updates the PRCMU driver API to be the same (as far as possible) in U8500 and U4500. - <mach/prcmu-fw-api.h> has been renamed <mach/prcmu.h>. - The platform specific APIs have moved to <mach/prcmu-db5500.h> and <mach/prcmu-db8500.h> (but these should not be directly included). - The PRCMU QoS API has been put in <mach/prcmu-qos.h>. ST Ericsson ID: 334772 ST Ericsson FOSS-OUT ID: trivial ST Ericsson Linux next: 318371 Change-Id: I6ce117ec35ebf2e987178ccacce09afb554d2736 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23863 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-06-17regulators: Added get_optimum_mode on regulators with idle modeBengt Jonsson
With this change, Vtvout, Vintcore12, Vaux1, 2 and 3 regulators support DRMS (Dynamic Regulator Mode Switching) which will dynamically handle requests for max current consumption from several consumers and select a suitable regulator mode. ST-Ericsson Linux next: N/A ST-Ericsson ID: CR339486 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Icdaed40df47859eb3e9701da296a814b38a48b56 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23859 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Reviewed-by: QATEST
2011-06-17[ANDROID]: hwmon: l3g4200d: Fix ifdefsJonas Aaberg
ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie228d5ac6533ff74d103a79ef379137428e92652 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23696
2011-06-17[ANDROID]: hwmon: lsm303dlh_a: Fix ifdefsJonas Aaberg
ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ia2cdb2cde8f0baffe5b8f5847754780068153d9e Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23697
2011-06-17[ANDROID]: hwmon: lsm303dlh_m: Fix ifdefsJonas Aaberg
ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I085ff9f7e54491b6dde56c956dada8ebd6c7d8a1 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23698
2011-06-17mach-ux500: Regulator: ExtSupply3LPn in Low PowerMattias Wallin
This patch set the ExtSupply3LPn in Low Power mode at startup. ExtSupply3LPn can control the ExtSmps4 and ExtSmps3. On HREF the ExtSupply3LPn is configured to not control ExtSmps3, only ExtSmps4. ST-Ericsson ID: ER337978 ST-Ericsson Linux next: na ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I793209c7ed104199976c5d35858058e9a49eae16 Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23944 Reviewed-by: QATEST Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2011-06-17video: mcde: Support YUV 422 overlay pixel formatMarcel Tunnissen
This patch adds support for converting an overlay with YUV 422 pixel format. ST-Ericsson ID: 339423 ST-Ericsson Linux next: Not tested, ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I5a8536c12f12b6cf69f7053cc236e274d13295b4 Signed-off-by: Marcel Tunnissen <Marcel.Tuennissen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22867 Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
2011-06-17regulators: ab5500: add mode controlRabin Vincent
ST-Ericsson Linux next: - ST-Ericsson ID: WP332185 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I85075a61da5aaf6d71edd3a374ee7098d3cf5bce Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23774 Tested-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-06-17cryp: CPU mode register read/write optimizationsJoakim Bech
- Minimize the number of read/write to the cryp hardware. - Write direct to hardware instead of going through functions that aren't inlined to get rid of function prologues/epilogues. - Remove NULL checks where performance is needed and the check itself is unnecessary since it is catched earlier in the callstack. - Remove unused defines/includes that are not used any longer due to above optimizations. ST-Ericsson ID: 341921 ST-Ericsson Linux next: Not tested, ER 320876 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9efff1714f851672f8cb04e0c946a753a4b3f4b8 Signed-off-by: Joakim Bech <joakim.xx.bech@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23719 Reviewed-by: Berne HEBARK <berne.hebark@stericsson.com> Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-06-17mmc: Fix hangs related to insert/remove of cardsUlf Hansson
In the error handling of mmc_attach(sd|mmc|sdio) functions, the bus can be detached. A detach triggered also a power_off, which was the key reason to the issue. If a power_off has been done, the framework must never send any new commands/requests to the host driver, without first doing a new power_up. This occured in the rescan sequence most likely triggering ANY host driver to hang. Moving power_off out of detach and instead handle power_off separate when it is actually needed, solves the issue. ST-Ericsson Linux next: - ST-Ericsson ID: 339637 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9fefe95c4331b98b9f460b8309594ed32037cf2f Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23841 Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com> Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-06-17mmc: core: duplicated trial with same freq in mmc_rescan_try_freq()Jaehoon Chung
mmc_rescan_try_freq() tries to init two times with the last frequency. For example, if host->f_min is 400KHz, we see the message below: mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz Andy Ross says that he didn't try this code on a board with an f_min that exactly matches one of the table entries, which explains why the bug wasn't detected. Change-Id: I57eb076aefb073421260de348364d290117198e1 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Andy Ross <andy.ross@windriver.com> Signed-off-by: Chris Ball <cjb@laptop.org> Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23443 Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com> Reviewed-by: Daniel WILLERUD <daniel.willerud@stericsson.com> Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-06-17CAIF: Fix U5500 compile error for shared memory driverKim Lilliestierna XX
Rearrange pr_fmt so it compiles. Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net> Change-Id: I26a71a302160306af26fda00c99c024ffb731f08 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23756 Reviewed-by: Durga Prasada Rao BATHINA <durgaprasadarao.b@stericsson.com> Tested-by: Durga Prasada Rao BATHINA <durgaprasadarao.b@stericsson.com> Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: Kim LILLIESTIERNA <kim.xx.lilliestierna@stericsson.com>
2011-06-17caif-u5500: CAIF shared memory mailbox interfaceAmarnath Revanna
Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net> Change-Id: I9a2ee64e5a581fdfd4853f96f38aaa9a52d19fcf Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23754 Reviewed-by: Durga Prasada Rao BATHINA <durgaprasadarao.b@stericsson.com> Tested-by: Durga Prasada Rao BATHINA <durgaprasadarao.b@stericsson.com> Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-06-17caif-u5500: CAIF shared memory transport protocolsjur.brandeland@stericsson.com
Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net> Change-Id: I02d30135ba3694bfbeb31de4275237490a2fbac1 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23753 Reviewed-by: Durga Prasada Rao BATHINA <durgaprasadarao.b@stericsson.com> Tested-by: Durga Prasada Rao BATHINA <durgaprasadarao.b@stericsson.com> Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-06-17i2c-nomadik: Do not use _interruptible_ variant callsrinidhi kasagar
If there is a signal pending and wait_for_completion_interruptible_timeout exited because of the -ERESTARTSYS error we are unable to send any more i2c messages. So, deprecate this _interruptible_ variant call. ST-Ericsson Linux next: Posted to linux-i2c ST-Ericsson ID: 341783 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ibaf1fdb85008fb2cc35b745208d1605e411a74e6 Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23677 Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-06-17lsm303dlh: add DocBook documentationChethan Krishna N
Adding DocBook documentation for lsm303dlh accelerometer and magnetometer drivers. ST-Ericsson ID: 277198 Change-Id: Idfca43aa6ffaa39b7f73d0135dc6d2b01a0a44c6 Signed-off-by: Chethan Krishna N <chethan.krishna@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23784 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-06-17crypto: ux500: hash: converted to ahash.Berne Hebark
- Removed cryp1 and hash1 from u8500_v2_prcc_clocks, added comment that they already are included in u8500_v1_v2_prcc_clocks. - Re-activated hash1 accelerator in u8500__defconfig. - Updated clock-db8500.c with correct clk for hash1. - Added -O0 in hash Makefile, to remove optimization in debug mode. - Converted to ahash (from shash). - Updated infrastructure (klist functionality). - Dependencies to hcl_defs removed. - Changed power_state_mutex to spinlock and also use the atomic regulator interfaces, which removes the kernel printout BUG: sleeping function... - Removed the clear_bit function call and instead use the HASH_CLEAR_BITS macro. - Re-arranged the code to collect the external functions in the bottom of the file. - Removed page_to_phys/phys_to_virt calls in hash_hw_update, data directly accessed in walk.data. - Removed unused defines. ST-Ericsson ID: 319847, 280690 ST-Ericsson Linux next: Not tested, ER 320876 ST-Ericsson FOSS-OUT ID: NA Change-Id: I732b7320cd8302d1dc86e4acb1954880e175773a Signed-off-by: Berne Hebark <berne.hebark@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23294 Reviewed-by: Joakim BECH <joakim.xx.bech@stericsson.com>
2011-06-17cpuidle: Add missing dependency to PMJonas Aaberg
ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Change-Id: Ib10daf8375e6c54052f4554635a07b670832e85c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23695 Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com>
2011-06-17u5500 : kernel-doc for Mailbox Logical DriverBibek Basu
Kernle-Doc created for u5500 Mailbox Logical Driver ST-Ericsson ID: 277198 Change-Id: I6e1298615a3943177fa05342a9ff8215e521fa72 Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23718 Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-06-17u5500:Docbook:Added the tmpl files for driversNaveen Kumar Gaddipati
Added the tmpl files for keypad and touchpad drivers with repect to kernel doc compliance. ST-Ericsson Linux next: - ST-Ericsson ID: AP 277198 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie704c10ff44f2b5b7f3806252cbcdd3d0f91f849 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23735 Reviewed-by: QATEST Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-06-17cryp: Updates according to corrected design specJoakim Bech
- Change names of context registers so they corresponds to the name in the DS. - Follow the design specification strictly and with the additional missing steps that we have got from IP developers. - Remove unused functions from u8500. - Call atomic version of power enable/disable functions to get rid of sleeping while atomic BUG prints. - Replace mutex with spinlock in the crypto context to get rid of sleeping while atomic BUG prints. - Replace completion in interrupt mode with polling for the remaining data length of data to get rid of sleeping in invalid context BUG print. - Correct optimization bug which occured when building without debug information (the compiler optimized it incorrectly). - Update of irq, fixed interrupt mask handling. - Correct bug regarding keysize when doing context save. - BUG! DES hangs when encrypting data not modulo 16 using DMA. The reason for this is that the CRYP IP only supports burst size of 4 words. Due to this reason DMA for DES have been replaced by CPU mode instead. ST-Ericsson ID: 283399, 340779 ST-Ericsson Linux next: Not tested, ER 320876 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I23dbc123dd2fb7e47f5713025ed71423efbb5b18 Signed-off-by: Joakim Bech <joakim.xx.bech@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23297 Reviewed-by: QATEST Reviewed-by: Berne HEBARK <berne.hebark@stericsson.com>