summaryrefslogtreecommitdiff
path: root/sound/soc/tegra
AgeCommit message (Collapse)Author
2012-06-06asoc: tegra: Fix setting rate for clk_audio_2xNitin Pai
- For slave mode, clk_audio_2x needs to be programmed to bitclock value. Setting this frequency is not possible if the parent clock has different frequency. Hence change the parent of this clock to i2s_sync clock first before setting the rate. - Fixed setting uninitialized variables. Bug 948478 Change-Id: Ieb4656e6e114d3a9b815f44003a476c4b9892059 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/104445 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bob Johnston <bjohnston@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-06-04asoc: tegra: p1852: Use pcm-driver from platformNitin Pai
Use the pcm-driver specified from platform/board specified file. Bug 991926 Change-Id: I9e4c9a3f76bacb22de817273a2281ac9b8959c43 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/105415 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bob Johnston <bjohnston@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-31ASoC: tegra: remove compilation warningJuha Tukkinen
Ensure i2s_client_bits and i2s_audio_bits do not get used uninitialized. Bug 949219 Change-Id: Ibdd7f2598278639388d2c2afb5843f2471375ea2 Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-on: http://git-master/r/105426 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>
2012-05-28ASoC: Tegra: Add support for AVP renderingSumit Bhattacharya
Add alsa controls to specify which alsa device is used by AVP to render audio. Also add support for disabling DMA interrupt when AVP renders audio. Also add couple of alsa controls to query DMA channel ID and DMA buffer physical address. Bug 968814 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Change-Id: If593329db72bf00d97f7433f5c54e13500281253 Reviewed-on: http://git-master/r/97916 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-25ASoC: tegra: treat compilation warning as errorSanjay Singh Rawat
Bug 949219 Change-Id: Ic8976b008772220299369369427a80dd370df596 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/104419 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-05-25ASoC: resolve compilation time warningsSanjay Singh Rawat
Bug 949219 Change-Id: If7b4dd928cc5a808fd1a674bcc5f31c9a396a043 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/103772 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-24asoc: tegra: utils: fix for multiple instances of extern1 clock.Ankit Gupta
The extern1 codec clock was not getting switched off whenever codec goes below BIAS_OFF level. Moreover, there were two instances of extern1 clock whenever codec was on. Reason behind this was that, those codecs for which probe function was called and were not present on board, turned on their extern1 clock, but clean up routine (for switch device register failure) was not able to turn off the clock. With this change, a conditional check is put to turn off the clock. (Bug 984678) Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Change-Id: I585ecf73c0cabca856592dcd84e67588dfe13beb Reviewed-on: http://git-master/r/104073 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-05-23asoc: tegra: P1852 machine: Add TDM mode settingsNitin Pai
Pass TDM mode variables for CPU dai. Codec Id is not passed properly, hence use dual instances of the dai_link operations. Bug 948478 Change-Id: I13188d5001b8f9c2f2f67ee7a9d3bec89311037d Signed-off-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-on: http://git-master/r/103793 Reviewed-by: Nitin Pai <npai@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-23asoc: tegra: Add TDM mode supportNitin Pai
Added TDM mode support in I2S driver. Added support functions in AHUB to pass audio/client bits. Added support functions in AHUB to pass audio/client channels. Fixed the stopping of I2S/TDM by clearing the fifo. Bug 948478 Signed-off-by: Nitin Pai <npai@nvidia.com> Change-Id: I560f4ab5b71e4833931934275272a094241241fe Reviewed-on: http://git-master/r/103840 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-14asoc: tegra: MAX98088 machine: Add support for setting bias levelAnkit Gupta
Allow setting bias level to turn off clock extern1 when codec is idle for enterprise board. (Maxim 98088 codec) Bug 984678 Change-Id: Ib01be71362ab0c5525f570693b41db73777875e6 Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Reviewed-on: http://git-master/r/102240 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-14asoc:tegra: Enable I2S tx in voice callNikesh Oswal
Associated with I2S there is a playback ref count, when we open the I2S for plyabck it is incremented and during voice call we check if its not zero then enable the tX. This logic fails if the start-trigger is not called for the prior playback stream. Hence we unconditionally enable the tx, which is harmless Bug: 981806 Change-Id: I66aafda596e2b2b03745e93f3e851dedc3b8ef5d Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/101996 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-14asoc: tegra: pcm: Add support for setting bias levelAnkit Gupta
Allow setting bias level to turn off clock extern1 when codec is idle for Enterprise (Maxim 98088 codec). Bug 984678 Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Change-Id: I09538dafe6c6f01547ff989de3c23933c9745db0 Reviewed-on: http://git-master/r/100286 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com> Tested-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com>
2012-05-11Revert "asoc: tegra: Add TDM mode support"Nikesh Oswal
This reverts commit dfa00e184b5fe0d4d48fa62a15fc956de9b6b65c. This is causing a regresssion. Bug: 977319 Change-Id: I4fe6daf88b2988978f089194f2931691eeb0eb09 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/101687 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijaya Bhaskar <vbhaskar@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-08asoc: tegra: pcm: If there is no dma information exit from triggerNikesh Oswal
If there is no dma information exit from trigger, this is required for the dummy voice call playback and capture streams Change-Id: I5276e7ebb72c17268a9785204fea9f395b2e5d3a Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/101235 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-01asoc: tegra: pcm: Add support for setting bias levelManoj Gangwal
Allow setting bias level to turn off clock extern1 when codec is idle. Bug 964287 Change-Id: I48056b86a9fdaea70202bee9326debaaddf69c0c Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/99665 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-01asoc: tegra: ALC5640 machine: Add support for setting bias levelManoj Gangwal
Allow setting bias level to turn off clock extern1 when codec is idle. Bug 964287 Reviewed on: http://git-master/r/#change,93950 Change-Id: Icc11e8bfb359b432f0bfd9ba214877259188de2b Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/99659 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Hunk Lin <hulin@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-01ASoC: tegra: Fix bit-format checkingJubeom Kim
condition to check bit-format is always false because TEGRA20_I2S_CTRL_BIT_FORMAT_I2S is zero. Bug 947429 Change-Id: Ieb92f0732b092100dc1bf323ad60aff4439d5b3d Signed-off-by: Jubeom Kim <jubeomk@nvidia.com> Reviewed-on: http://git-master/r/99341 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
2012-05-01asoc: tegra: Add PCM driver for TDM modeNitin Pai
Modified existing pcm driver to take dma mode/ hw structure. Exported the functions needed for other pcm mode driver. Added new TDM mode hw param structure. Added pass SINGLE/DOUBLE buffered dma mode params. Bug 948478 Change-Id: I58309d52748f813b3303a8d6a052fbb6cc7ca87a Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/99146 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-26asoc: tegra: ALC5640 machine:Add support to detect HP in LP0Manoj Gangwal
Add Support to detect the HP insertion or removal during LP0 state. Bug 969405 Change-Id: Ibedf1769338e16877240ea9cc82fa7469eb7ff9e Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/98745 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-26ASoC: Tegra: Make dma_req count easily configurableSumit Bhattacharya
Instead of always using 2 dma_req count pass max dma_req_count through a macro. Ensure dma_req_count does not cross period_count. Bug 968814 Change-Id: Iddfbd77017992ccb8c90441213e191133dadb347 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/97915 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-26ASoC: Tegra: Pass snd_soc_card handle in tegra_asoc_utils_initSumit Bhattacharya
Change prototype of tegra_asoc_utils_init to pass snd_soc_card handle. It is needed to move common tegra machine driver codes to tegra_asoc_utils interface. Bug 968814 Change-Id: I98490ffdda51cf7d0b89adadb23c31892183bc0e Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/97914 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-24asoc: tegra: Add TDM mode supportNitin Pai
Added TDM mode support in I2S driver. Added support functions in AHUB to pass audio/client bits. Added support functions in AHUB to pass audio/client channels. Fixed the stopping of I2S/TDM by clearing the fifo. Bug 948478 Change-Id: I246942b3a07ffcfbcfafbc820208190bd3acc5d4 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/98456 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-19ASoC: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I52969e8dd1a5ed4dc76ac360ec08b0afb18cd4a5 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92833 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-04-10asoc: wm8753 machine: use common platform dataRavindra Lokhande
use common platform data for machine driver Change-Id: I90e0d2f47aed46da650305d98f6525287adfaf04 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/95101 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-08asoc: aic326x machine: use common platform dataRavindra Lokhande
replace platform specific data with common platform data Change-Id: Ie34b9b9288bf76a004db0bcdf4fd59845e0c9d71 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/95083 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-08ASoC: Tegra: customize modem parameters for voice call.Ankit Gupta
Add support to customize modem parameters for voice call. Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Change-Id: I947bf1955713c4ae19e5dd829091bd7e51bca08f Reviewed-on: http://git-master/r/93091 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-06asoc: tegra: ALC5640 machine: Fix ext mic detect issueManoj Gangwal
Enable/disable the ext mic depending on the jack notification for insertion/removal comes.This is done to save the Audio power. Bug 955019 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> (cherry picked from commit 7a22037fd4a274637a5bdb18a8c5452fe58aad32) Change-Id: I1a8b47c4e9c424a914f546b48c86a6fb07d8e42a Reviewed-on: http://git-master/r/93956 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-06asoc: tegra: ALC5640 machine: Turn off ext_mic by defaultDaniel Solomon
Drive ext mic gpio (active low) to 1 during init. It will be toggled as needed by ext mic events. Bug 949026 Signed-off-by: Daniel Solomon <daniels@nvidia.com> (cherry picked from commit de806c193fde5cd8c5b0285efeeaef4adb7be611) Change-Id: Idd72830d89ebe080739694d7f2c8f6ad80d5cdf5 Reviewed-on: http://git-master/r/93955 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-05sound: soc: tegra: Use tegra_dma_cancel() to abort requestLaxman Dewangan
To terminate request from dma, use the tegra_dma_cancel() inplace of tegra_dma_dequeue(). The api tegra_dma_dequeue() is getting to be obsolete. Change-Id: Id2a888a726086fb1e4ade04ac047442554188bee Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/91754 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-30asoc: tegra: ALC5640 machine: Fix i2s for BT ScoManoj Gangwal
fix i2s for BT Sco. Bug 936626 Change-Id: Iaf1d1a230fcb37d45d9deaaf1dae780f5870e99f Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/92860 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-30ASoC: wm8903: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I8abd1e837a774d15aef25ec8c40b857b8cba0426 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92858 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-30ASoC: Tegra wm8903 machine: Remove regulator error messagePreetham Chandru
Few boards which uses wm8903 has independent regulators for spk and mic while others do not have it. For the boards which do not have independent regulators we should avoid getting their regulators otherwise we would get the following error messages: "tegra-snd-wm8903 tegra-snd-wm8903.0: No speaker regulator found" "tegra-snd-wm8903 tegra-snd-wm8903.0: No digital mic regulator found" Bug 956562 Signed-off-by: Preetham Chandru <pchandru@nvidia.com> Change-Id: Ide1ce141b5d45d56e834dc82a7cf5a7adc6c3e80 Reviewed-on: http://git-master/r/91548 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-03-23ARM: tegra: Remove legacy i2s/spdif driverLaxman Dewangan
Removing legacy i2s/spdif driver from tree. These files are added to support customer projects prior to moving over to alsa driver for audio. There is no intention of using them and hence removing it. Change-Id: I864dbc50e2e76ac16f40542460f63c8c8a0eff71 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/91758 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-23asoc: tegra: max98088 machine: use common platform dataNikesh Oswal
use common platform data instead of using codec specific platform data for different codecs Change-Id: I88ecb08f3945e0d9c5162ec2b2d3279a4da50099 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/91686 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-23asoc: tegra: aic326x machine: add voice call functionalities for ap30Nikesh Oswal
add voice call, bt voice call, voice call with system sound mix, bt voice call with system sound mix, voice call recording, bt voice call recording functionalities for ti aic326x on ap30 Change-Id: Ia94c1586c30d0636d8de738ff6cbb716f4f79d16 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/90123 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-23asoc: tegra: max98088 machine: check for card instantiationNikesh Oswal
If card fails to instantiate then unregister the card Change-Id: Ibcc0d505a8df48c1f924a3d8688dc23e362d5e8d Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/90060 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-23asoc: aic326x machine: handle switch unregistrationNikesh Oswal
If switch registration is success and later card registration fails then we must unregister the switch Change-Id: I140b3fb0890f41fea653100bcff450f10294cd9d Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/90058 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-23asoc: aic326x machine: add aic326x for enterpriseNikesh Oswal
Change-Id: I1b41c408b65b79f12b20a5efb7c0d2e3245bad6a Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/90057 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-22ASoC: Tegra WM8903 machine: Fix to control name conflictRamalingam C
This change resolves the control name (Line Out Switch) conflict between wm8903 codec driver and tegra machine driver. Bug 956506 Change-Id: Iab049c7fb2fdde0d481d07d8e1bbdbeea1a831d9 Signed-off-by: Ramalingam C <ramalingamc@nvidia.com> Reviewed-on: http://git-master/r/91510 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2012-03-15ASoC: Tegra wm8903 machine: suspend/resume code for HP detectionAnkit Gupta
Suspend and resume code included for headphone detection. Earlier, it was causing problem in HP detection when device enters into LP0 state and headphone is plugged in. (Bug 937153) Change-Id: If625f0e7b857b40b0535f8bc8d1c262650886fa7 Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Reviewed-on: http://git-master/r/89975 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-14ASoC: tegra: p1852: Add P1852-board machine driverNitin Pai
Added machine driver for P1852 board. The driver supports a plug/play architecture where the details of the codec_driver/codec_dai will come from the top level board config file. Bug 948478 Change-Id: Id34a34b224e02b61475ca17253c1b13893a09e6c Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/89474 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2012-03-13ASoC: Tegra wm8903 machine: Fix to control namesRamalingam C
Fixing the typos in the member of cardhu_controls. Bug 946932 Change-Id: I26f2a5a60f40d55846a89aaa76dab00741e018d0 Signed-off-by: Ramalingam C <ramalingamc@nvidia.com> Reviewed-on: http://git-master/r/88824 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Preetham Chandru <pchandru@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-03-13asoc: machine: add api to query voice call stateNikesh Oswal
Change-Id: I0b2b50c007d9e7b722b2c4bbc0282c51a8d18b00 Reviewed-on: http://git-master/r/88239 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-03-12asoc: wm8753 machine: change M/S configuration for btNikesh Oswal
change M/S configuration for bt, with BT as Slave and Modem as Master Change-Id: Ifae5ca228f3bcf0f882f47e79448c10bcc33ec4d Reviewed-on: http://git-master/r/89127 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-06asoc: aic326x machine: change M/S configurationsNikesh Oswal
change M/S configurations as modem has been made master on whistler Change-Id: Iae0cf3f85c43116b13ceb1ff5dfa4a9b121a5d62 Reviewed-on: http://git-master/r/88014 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-06asoc: ap20: change i2s bitclk for dsp modeNikesh Oswal
i2s bitclk for dsp mode was kept 4 times the minimum requirement for bcm4330 bt chip on whistler we require only 2 times the minimum requirement because modem is also configured similarly and for bt call both the bit clocks should match Change-Id: I6a84b22c9fbd66b4e60832933b508fe8cf21f387 Reviewed-on: http://git-master/r/88013 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-02ASOC: Tegra: Fix Tegra20 BT SCO playback/recordSumit Bhattacharya
Set I2s FIFO attention level based on sample size and channel count. Also set playback DMA destination bus width and capture DMA source bus width based on sample size. These changes are needed to have proper BT SCO playback and record which uses 16bit-mono format. Bug 934101 Bug 874428 Bug 927978 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/84817 (cherry picked from commit 3ca2eb665af450d7e8f3bf6f2471e31203052641) Change-Id: I95c10716eaa990adb8b6ae535ce6acfca122a609 Reviewed-on: http://git-master/r/87192 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-02asoc: tegra: ALC5640 machine: Fix switch nameManoj Gangwal
Fix headset switch name for kai. Bug 945640 Change-Id: I61b0a7c58a97bd3f2b976d521a5298a48a27798c Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/87136 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-02asoc: tegra: ALC5640 machine: Add headset detect supportManoj Gangwal
Add support for headset detection on kai board. Bug 937914 Change-Id: Ic69f5ffda45f71c3f566533ef74fd2a94d82894c Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/86601 Reviewed-by: Chandler Zhang <chazhang@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-02-28asoc: tegra: ALC5640 machine: fix GPIO_EXT_MIC_ENChandler Zhang
Invert the gpio output because GPIO_EXT_MIC_EN is active low. Bug 937914 Change-Id: Ifeccda092d7834dfdd39e3d1df616bda7bf516bc Reviewed-on: http://git-master/r/86038 Reviewed-by: Liangchuan Mi <lmi@nvidia.com> Tested-by: Chandler Zhang <chazhang@nvidia.com> Reviewed-by: Johnny Qiu <joqiu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Kerwin Wan <kerwinw@nvidia.com>