summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_aic326x.c
AgeCommit message (Collapse)Author
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-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-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-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: 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-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-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-02-23asoc: tegra: aic326x: add support for aic326x on cardhuNikesh Oswal
add support for aic326x on cardhu and also cleanup unused code of t30 voice call since it has never been tested as aic326x is not used on any t30 phone platform yet Change-Id: I32e916f53f6e73031d39bc09afef8ad7f872639b Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84545 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: tegra: aic326x machine: configure codec as master for voice callNikesh Oswal
Change-Id: I970ab858399113e4ea0d079779a2cb368af90850 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84539 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: tegra: aic326x machine: register the sw dev before the cardNikesh Oswal
If sw dev is registered after the card then there would be a kernel panic if we try to boot the device with Headset connected because when the card is registered init of every dai link is called from where we register the jack with codec driver and doing so will enable headset interrupts which would try to set switch state for an unregistered switch device Change-Id: Ie951f41028a3459e4e13d021c80c3f830bbcc533 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84536 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: tegra: aic326x: turn the mic bias on for headset detctionNikesh Oswal
Change-Id: I3d2bb9de12f72fe7c860bdfe740a2d55676a8aa3 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84533 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: tegra: aic326x: add dapm route for capture pathNikesh Oswal
Change-Id: I433c35f2ada14f273f85d67f8cf18612bd1e72ea Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84531 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: tegra: aic326x: add support for voice call and bt voice callNikesh Oswal
Change-Id: I773a7c6769ca74d1a02e2d0b8236fdc20af3ecb8 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84530 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: tegra: aic326x: support bt sco playback and recordingNikesh Oswal
support bt sco playback and recording with bt chip as master and ap-i2s as slave Change-Id: I0e1bcd6fa71a234a90c830195a7eb2015f71a3b0 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84529 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: tegra: enable playback for TI aic326x codecNikesh Oswal
Change-Id: I39fc88a2647556b261767fa8ec990282ceb65103 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84527 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-01-30asoc:tegra: Support I2S slave modeScottPeterson
Support I2S slave mode. Disable pll_p_out1 and pll_a to reduce power when in slave mode. Slave mode disabled by default. Reviewed-on: http://git-master/r/76046 Change-Id: I873a11d54f1e037d99c86ff4cec06ee83064902a Signed-off-by: ScottPeterson <speterson@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77765 Reviewed-by: Automatic_Commit_Validation_User
2011-12-15kernel: sound: soc: Enable voice call dai linkVinod G
Enabling the dai link for voice call devices. Change-Id: Ie89ae4cbc1ae987c56776706c5e4cf1bbd6c8f18 Reviewed-on: http://git-master/r/68575 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-12-08kernel: sound: soc: Fix TI codec reg access issue.Vinod G
Using snd_soc_write is causing some issue with TI codec. So register read and write are handled locally inside the codec calls. Added checking to continue card register based on codec availability, this help to use either TI codec or wm8753 codec being present in the board. bug 816608 Change-Id: Ie5edd1c70609991c28216bbc3a0ffcafd0f815ab Reviewed-on: http://git-master/r/68044 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-12-08kernel: soc: tegra: Add machine driver for TIcodec.Vinod G
Machine driver for TI codec AIC3262. bug 816608 Change-Id: I4b339b218ec4f2097518d001fb65778c2d8155d3 Reviewed-on: http://git-master/r/67818 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>