summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-22Ux500 ASoC: Enhanced regulator managementPhilippe Langlais
The mic-regulators are now only taken when needed. This involves querying the codec-driver to see if the the associated DAPM-path is enabled or not. ST-Ericsson Linux next: NA ST-Ericsson ID: 337512 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I5dec05a8a4b0cdb567bd3a3301d3c50a48fab23b Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24373 Reviewed-by: QATEST Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Conflicts: sound/soc/ux500/ux500_ab8500.c
2012-05-22Ux500 ASoC: Add controls for sidetone in AB8500Ola Lilja
Controls needed for setting sidetone FIR-coeffecients has been added to the AB8500 codec-driver. ST-Ericsson ID: 328357 Change-Id: Ibe7ba8226356f8bcc2ab2dc397b34af8331bb2b8 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23999 Reviewed-by: QATEST Reviewed-by: Henrik SEGERBACK <henrik.xh.segerback@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2012-05-22Ux500 ASoC: Add codec-driver for AB5500Shyam Krishnan M
ST-Ericsson Linux next: Not tested ST-Ericsson ID: 332112 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10006 Change-Id:Ic35d9290ab3d938f19b8581c8e82cbd878952f54 Signed-off-by: Shyam Krishnan M <shyam.moni@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24090 Tested-by: Hemanth P SETHURAM <hemanth.sethuram@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22sound: u8500: msp: Remove v1 supportJonas 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: I9cdae05681ec60f13cf9079a4d3b0292157da91d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24282 Reviewed-by: QATEST Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22arm: ux500: common dbx500 prcmu driver apiPhilippe Langlais
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>
2012-05-22Ux500 ASoC: Add controls for negative charge pumpHenrik Segerback
Adds the following ALSA controls for the negative charge pump, which provides power to the headset: Charge Pump High Threshold For Low Voltage Charge Pump Low Threshold For Low Voltage Charge Pump Envelope Detection Charge Pump Envelope Detection Decay Time ST-Ericsson ID: 337868 Change-Id: Ieecab4dc880cb4ea63e4dd4980e78879abc17bf3 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23516 Tested-by: Henrik SEGERBACK <henrik.xh.segerback@stericsson.com> Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22Ux500 ASoC: Reflect changes in clock-db8500.cOla Lilja
audioclk has intclk as parent. intclk has sysclk or ulpclk as parent. ASoC-driver changes intclk parent. Change-Id: I395f0d7cfa6811e148a3e43f49eb756663b46ee3 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23497 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com>
2012-05-22Ux500 ASoC: Dynamic audio master-clock selectPhilippe Langlais
A new control in the Ux500_AB8500 machine-driver is added to be able to switch between SYSCLK and ULPCLK. Power management-code related to clocks is also moved from the codec-driver into the machine-driver. ST-Ericsson ID: 325090 Depends On: I641c6eb243552d8d0ff4902cae8ead336fff575c Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Change-Id: I23ecbee74aeebc64a1dedd0d7c4cdab4194de24b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23500 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: sound/soc/codecs/ab8500_audio.c sound/soc/codecs/ab8500_audio.h sound/soc/ux500/ux500_ab8500.c
2012-05-22msp i2s: Don't enable regulator for msp1 and msp3Mikael Vatau
Enabling the regulator for msp1/msp3 hinders sleep when in burst mode. Change-Id: Ic9484221e44e68b9e185d0a180f49d957e5aa9cd Signed-off-by: Mikael Vatau <mikael.vatau@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22351 Reviewed-by: QATEST Reviewed-by: Peter AULIN <peter.aulin@stericsson.com> Tested-by: Peter AULIN <peter.aulin@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22ux500-ASoC: Update ux500 driver to use dmaengineRobert Marklund
ST-Ericsson Linux next: 342252 ST-Ericsson ID: 342253 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Robert Marklund <robert.marklund@stericsson.com> Change-Id: I6d0b04aaa9f3e0d170cb3dd2510960f606c4435f Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24728 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2012-05-22ux500-ASoC: Change to support ux500 soc:s in buildRobert Marklund
Change to support ux500 soc:s in the same build. ST-Ericsson Linux next: 342252 ST-Ericsson ID: 342253 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Robert Marklund <robert.marklund@stericsson.com> Change-Id: I276df2266288c0ae95a7ad8d41bdcdce6cfde2bc Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24727 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com> Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22sound: soc: codec: Fix link warningsRobert Marklund
ST-Ericsson Linux next: 342252 ST-Ericsson ID: 342253 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Robert Marklund <robert.marklund@stericsson.com> Change-Id: I9b17c8fe0bf86d19066951ae5acc6a2261a3527e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24730 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2012-05-22sound: soc: ux500: Fix merge problemsRobert Marklund
Fix merge problems introduced in soc u8500 driver when merging from main dev track ST-Ericsson Linux next: 342252 ST-Ericsson ID: 342253 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Robert Marklund <robert.marklund@stericsson.com> Change-Id: I083638dddc34792b654d36b5aa967238614799c7 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24724 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2012-05-22mach-ux500: gpio: audio: Moved the NOMADIK_NR_GPIOPhilippe Langlais
Move the NOMADIK_NR_GPIO to the right location. Fix warnings generated by this change. ST-Ericsson Linux next: ER 340134 ST-Ericsson ID: 340139 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Robert Marklund <robert.marklund@stericsson.com> Change-Id: I5b69d4a4662b707d815a867b2b5be19e4675d010 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24082 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
2012-05-22Ux500 ASoC: Dynamical mapping of DA from slot settingsOla Lilja
AB8500 codec-driver now exposes controls for manually setting which DA input should be fed from what slot on the digital interface. ST-Ericsson ID: 337376 Change-Id: I2504256cd77ee1c92a09b98f84efc83633dd5bd7 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22551 Reviewed-by: Johan BOHLIN <johan.bohlin@stericsson.com> Tested-by: Johan BOHLIN <johan.bohlin@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2012-05-22Audio: Add support of ULPCLK in audioio driverDeepak Karda
This patch does the following: - add support of ULPCLK in audioio driver - add ULPCLK as default audio clock - add dynamic switching between ULPCLK & SYSCLK ST-Ericsson Linux next: - ST-Ericsson ID: 325090 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I1a307b65041208dcbfab0ee2283fec18c610cc3b Signed-off-by: Deepak Karda <deepak.karda@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21031 Reviewed-by: Anneli LUNDBLOM <anneli.lundblom@stericsson.com> Reviewed-by: QATEST
2012-05-22misc/i2s: OPP100 in MSP master-mode onlyOla Lilja
When I2S is setup to run in codec-master the msp_i2s driver should never consider OPP100. Change-Id: Id450766a6838c43dca66012f4c065098723e3a40 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22091 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2012-05-22Ux500 ASoC: cg29xx: The I2S PCM interface must not be configuredroger nilsson
It is not possible to configure the I2S PCM interface after the SCO link has been setup by the BT stack. ST-Ericsson ID: 337 138 Change-Id: Icc48f76c0d41665988709e4f09856e081c654e8a Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21955 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Johan BOHLIN <johan.bohlin@stericsson.com> Tested-by: Johan BOHLIN <johan.bohlin@stericsson.com>
2012-05-22Ux500 ASoC: Move enabling of regulatorsPhilippe Langlais
Regulators is no longer enabled during machine-driver init, but rather done before playback, and disabled after playback is finished. Change-Id: I5f6bfc3dd60b139ce4e786160104e4daaa4040fc Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21788 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500.c include/sound/ux500_ab8500_ext.h sound/soc/codecs/ab8500_audio.c sound/soc/ux500/ux500_ab8500.c
2012-05-22Ux500 ASoC: Turn off AB8500 when inactivePhilippe Langlais
Using reference counter to be able to turn of AB8500 when none of playback, capture or vibra is active. Change-Id: If295d40a31e0f7529c2cd9573052ce798fdbe465 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21661 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Conflicts: sound/soc/codecs/ab8500_audio.c
2012-05-22Ux500 ASoC: Added reference counter for sysclkOla Lilja
A reference counter is added for enable/disable of sysclk to be able to handle playback and capture combinations. Change-Id: Ia28d3b94f3b54561cc990aa51fa5a0bf99319656 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21385 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2012-05-22Ux500 ASoC: Take sysclk during audio-playbackPhilippe Langlais
Change-Id: Iad133756a33d6f15f78806a29d9d3653e918578f Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21325 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Conflicts: sound/soc/codecs/ab8500_audio.c
2012-05-22Ux500: Audio: AB8500 v3.x was wrongly handled as v1.x.roger nilsson
ST-Ericsson ID: 334 414 Change-Id: Iff062500dc5e3e3940180834d10cf62c5dbda0c3 Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21199 Reviewed-by: QATEST Reviewed-by: Johan BOHLIN <johan.bohlin@stericsson.com> Tested-by: Johan BOHLIN <johan.bohlin@stericsson.com>
2012-05-22Ux500 ASoC: Dynamical mapping of AD to slot settingsOla Lilja
AB8500 codec-driver now exposes controls for manually setting which AD output should be fed into what slot on the digital interface. Change-Id: I51a32b15bc5a948c24c36029aa7ed29860903503 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21158 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22Ux500 ASoC: Fix build-error for AV8100 codec-driverOla Lilja
Change-Id: I4e4d016854b875580a8a7ec4f5243dc8f11cfbe3 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21096 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2012-05-22Ux500 ASoC: Fixed register defines for AB8500 codec-driver.Ola Lilja
Changed defines that were set as bit-mask but used as number of shifts. Change-Id: Ic1e3fbf7133c15eadeb97a3e57d5e48ac466bfbd Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20096 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22Ux500 ASoC: Add support for burst-modeOla Lilja
ALSA-controls added to be able to control the burst FIFO. Change-Id: Ieb8fdbd942c11251c6bbd368a434750a15f39512 Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19822 Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2012-05-22Ux500 ASoC: Support configuration of I2S interface 1Philippe Langlais
Added support for configuring the second I2S interface. This is needed for FM-radio. Change-Id: I1a8cd908f66db45b6031d15d33779236a1a55344 Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19821 Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Conflicts: sound/soc/codecs/ab8500_audio.c
2012-05-22ASoC: cg29xx: The driver will not start a BTSCO stream.roger nilsson
If BTSCO is routed the driver will rely on the BT stack to setup the chip. Change-Id: Iea547d291c38d7a0784bbbd337d6095722c9ecfb Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19628 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22Ux500 ASoC: The MSP DAI driver now implements set_sysclk.Philippe Langlais
The cg2900 machine driver does now set the sysclk frequency that drives the MSP. The bitclock will now be correct when the MSP is master. Change-Id: I1134d00cf4b5600997b683977076815fd864ca04 Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19615 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Conflicts: sound/soc/ux500/ux500_msp_dai.h
2012-05-22ux500 MSP: Set SLPM for GPIO pins used by MSP1Tobias Johansson
This is needed when playing audio with auto idle enabled in CM in the low power audio use case. ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I13ee24c548c82f639c9bad82fd06a2850b23e85b Signed-off-by: Tobias Johansson <tobias.johansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19313 Reviewed-by: Deepak KARDA <deepak.karda@stericsson.com> Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22Ux500 ASoC: Naming alignments and __devinit and __devexit fix.Philippe Langlais
Alignments of function names and filenames inside the Ux500 ASoC-driver. Fix to have __devinit and __devexit without section mismatch warnings. Change-Id: I367a18b846b54dbcea3fe8fc642779cdf4090278 Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19303 Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: sound/soc/codecs/Makefile sound/soc/codecs/ab8500_audio.c
2012-05-22Ux500 ASoC: Adaptations in the AB8500-parts for U8500.Philippe Langlais
Support added for more channels and more formats and configuration possibilities. Added controls in AB8500-codec for fsbitclk and master generator. Change-Id: I2ea60c54c3892340b4a0d1771a1efdb504cc2495 Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18279 Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500.c
2012-05-22I2S/DMA: Code cleanupPhilippe Langlais
Cleanup of Gerrit Change-Id I35f8f245039a3cdac2e45b35154eae17bae3042d ER: 323642 Change-Id: I6bb1df13a1b55e595cb702548db6c52225529e87 Signed-off-by: Craig Sutherland <craig.xx.sutherland@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17718 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: drivers/misc/i2s/i2s.c drivers/misc/i2s/i2s_test_protocol_driver.c
2012-05-22Input: Add AB8500 AV Acc. Detection as platform drvPhilippe Langlais
Adds AV Accessory detection driver functionality as a platform driver. Driver allows detection of basic AV-Accessory connected to 3.5mm AV-Connector. Supported accessories include headphone, headset, video and carkit. Driver controls the audio-in/video-out switch based on the detected accessory type and notifies about button presses from basic headsets (No ECI Support). Accessory status and button presses are reported as standard input events, if AB8500 ASoC Machine driver is configured. For accessory properties reporting, ALSA JACK definitions (SND_JACK_*) are used to report the features supported by the attached accessory. Button presses are reported with KEY_MEDIA keycode. Depends on: http://gerrit.lud.stericsson.com/gerrit/16910 for GPIO framework update. ST-Ericsson ID: ER 275366 Signed-off-by: Rahul Venkatram <rahul.venkatram@stericsson.com> Change-Id: Ie1c68120fc718710ecac2d3dafe4f3e7b1a53ac1 Signed-off-by: Rahul Venkatram <rahul.venkatram@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16256 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500-regulators.c arch/arm/mach-ux500/board-mop500.c sound/soc/ux500/ux500_ab8500.c
2012-05-22i2s: Remove DMA cyclic from i2s, temporary hackPhilippe Langlais
This commit must be removed after cyclic DMA support done Signed-off-by: Robert Marklund <robert.marklund@stericsson.com> Conflicts: arch/arm/mach-ux500/include/mach/hardware.h
2012-05-22msp: Fix warningsPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22mach-ux500: delete SSP PrimeCell IDPhilippe Langlais
This is redundant. The correct ID number is right there in the hardware anyway. We will introduce a mechanism later to hard-code this for deviant cells. Signed-off-by: Linus Walleij <linux.walleij@linaro.org>
2012-05-22sound: replace init_MUTEX() by sema_init() and fix MODULE_LICENSE for 2.6.38Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22sound: fix DAPM API change in 2.6.38Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22sound accessory: update taken from 2.6.35 GLKPhilippe Langlais
2012-05-22Ux500 ASoC: Fix IF delay issue with AV8100Mikko Sarmanne
Fixes distortion in the AV8100 playback caused by mismatching IF formats in TDM mode. The fix enables configuration of the IF delay on MSP side. Change-Id: Icf154041fb3032e9f285eb6e7d8fa673e1c7f024 Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13524 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22Ux500 ASoC: Fix 7 and 8 channel playback for AV8100Mikko Sarmanne
Fixes an issue with 8 channel setup that caused the audio not being played from the last two speakers. Also adds support for 7.0 speaker configuration. Change-Id: Ia46d6ab8e2f218e7bda384f364f1b4ea88a053fc Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13415 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: QATOOLS
2012-05-22Enable headset mic on V2 HWMikko Sarmanne
Enables headset mic recording on V2 hardware by updating regulator handling in the AB8500 ASoC driver. ST-Ericsson ID: ER281760 Change-Id: I1047f66a4a1fd8177e408330a8c34c27022bbbfa Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12883 Tested-by: Josefin LOFSTEDT <josefin.lofstedt@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22Update AB8500 ASoC mixer controlsMikko Sarmanne
Updates the naming of several AB8500 ALSA SoC mixer controls and adds new ones to support vibra functionality. Support is added for both PCM and PWM vibra modes. ST-Ericsson ID: WP271430 and WP271431 Change-Id: If87fc88bbbb4d27dedd17db3652b35fdb59d97cc Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12882 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Josefin LOFSTEDT <josefin.lofstedt@stericsson.com>
2012-05-22ASoC: Add support for AB8500 audioMikko Sarmanne
Adds ALSA SoC support for AB8500 audio codec for 2.6.35 kernel. Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Change-Id: Ibb8c0ae51ebd7c31615fd214292f3be2063a3dcf Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12277 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2012-05-22Ux500 ASoC: Change debug-level to avoid log-spam.Ola Lilja
pr_err was used where it should be pr_debug. Changed. ST-Ericsson ID: ER318557 Change-Id: I052d975da93c00807923ad4c57aa58c244bd357c Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11980 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: QATOOLS
2012-05-22mfd: Updating sound/soc/codecs/cg29xx.c for communityPhilippe Langlais
2012-05-22sound/soc: Add the AB5500 codec driver and correct the MSP internal clock ↵Xie Xiaolei
frequency. ST-Ericsson ID: WP 259100 Signed-off-by: Xie Xiaolei <xie.xiaolei@stericsson.com> Change-Id: Ia2ecfb380d9f59f0ef588888745269160e914d9e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11424 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Xie XIAOLEI <xie.xiaolei@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22msp: improved configuration for msp1Philippe Langlais
MSP1 Pins configured as GPIO to improve consumption during sleep mode GPIO[33] DIR=1, DATA=0 GPIO[36:34] DIR=0, PDIS=1 ST-Ericsson ID: ER 271120 Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Change-Id: Ie394b8633a079974d9cc481b618eec1a8c005f03 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10365 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500-msp.c arch/arm/mach-ux500/board-mop500.c arch/arm/mach-ux500/include/mach/msp.h drivers/misc/audio_io_dev/ste_audio_io_core.c drivers/misc/audio_io_dev/ste_audio_io_core.h drivers/misc/audio_io_dev/ste_audio_io_func.c drivers/misc/i2s/msp_i2s.c include/linux/mfd/ab8500.h