summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2013-02-06asoc: AIC3262: Fix headset detection failure during bootupVijay Mali
Remove codec driver call for headset detection. On Pluto headset detection is done using AP GPIO pin. Remove unused code. For bug 1228726 Change-Id: I4be5a0c89375749919eb3222293564318bde9547 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/197463 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rahul Mittal <rmittal@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-02-05audio: Power manage Realtek codec when TFA is in use.Vinod Subbarayalu
Change-Id: I4c32cdde467c597e55eadee54c7a9202ee219975 Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> Reviewed-on: http://git-master/r/191520 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-02-04asoc: tegra: aic326x: Fix build break and cleanupVijay Mali
Fix build break for cardhu where DAM coefficient programming is not supported. Add appropriate check for compilation. Cleanup - remove DAM shutdown sequence Bug 1179798 Change-Id: Ia12dcbd1eb45b27d18ae2a2acb6d5554256cc7f9 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/195949 Reviewed-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Tested-by: Scott Peterson <speterson@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-02-01arm: tegra: macallan: create board fileKerwin Wan
Create initial board files and config files for Macallan. Bug 1216782 Change-Id: I5ccf8f79a1c29659fc518277da1a96531f48c5ba Signed-off-by: Kerwin Wan <kerwinw@nvidia.com> Signed-off-by: Johnny Qiu <joqiu@nvidia.com> Signed-off-by: Hayden Du <haydend@nvidia.com> Signed-off-by: hyongbink <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/193645 Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>
2013-01-30asoc: codecs: rt5640: fix headset power issueDara Ramesh
Write back the power control register values after detecting headset or headphone. bug 1218111 Change-Id: I372c3d1e397290d8c31bd0591861731d4eb861db Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/194637 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-01-28soc: tegra: cs42l73: add speaker AMP EDP supportDara Ramesh
a) registered speaker AMP EDP client b) implemented throttle callback function for EDP Bug 1160686 Change-Id: I79906d3fd5dbfbedea7512d9745c59d700e325d5 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/193065 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-01-28asoc: tegra: aic326x: Add Voice call recording connectionsVijay Mali
Use tegra for mixing UL+DL audio Setup DAM for SRC and mixing Add voice call recording connections Bug 1179798 Change-Id: I8027ac48eb265537795c7c1ac1c57758fa6c8f20 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/193631 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-01-27asoc: tegra: SPI interface for TI codecScott Peterson
Add support for accessing the TI aic3262 codec using the spi interface Change-Id: I30c72ac2bec5cd51e472f8f4e0750cd533d354a3 Signed-off-by: Scott Peterson <speterson@nvidia.com> Change-Id: I0dff26133be6c5f0ec36113a61e2b1b5b57b3339 Reviewed-on: http://git-master/r/194172 Tested-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-01-22asoc: tegra: Support Voice + MediaScott Peterson
Add support for concurent voice and media streams without using the DAM when the audio codec supports two I2S interfaces. Bug 1213272 Change-Id: Ie39d048a27003bc69ab40ee4d3087d15894f168f Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/192202 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
2013-01-16asoc: tegra: aic326x: Fix BT and normal voice call switchingRahul Mittal
DAM was getting configured in passthrough mode in normal voice call path DAM not required in normal voice call, as BB and codec both operate at 16khz Disabled the DAM from voice path for aic3262 codec, which fixed the switching Bug 1179798 Change-Id: I65fbcefa157eaa7f507a1352c3cfe7abc3661bb3 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/191633 Reviewed-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-01-16asoc: tegra: cs42l73: change sw registration logicNikesh Oswal
change switch registration and unregistration logic to use common api's implemented in tegra_asoc_utils Bug 1203124 Change-Id: Ie5264617b330d9bda6481eae410c0fdb59139e07 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/188339 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-01-16asoc: tegra: add control to set headset stateNikesh Oswal
add alsa control to set headset switch state Bug 1203124 Change-Id: Ieacf387e5a9b0d3215ad1e022fa5ab606618d44a Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/188337 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-01-15asoc: codecs: rt5640: Implement i2c shutdownRahul Mittal
i2c shutdown implementation for rt5640 No i2c transaction should happen after shutdown Bug 1202582 Change-Id: I1f4981d1a33a22b84f652926eed5478432c8a637 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/188216 (cherry picked from commit 67925f41526dc4f1791ffaeca7322b11cc712ef7) Reviewed-on: http://git-master/r/191112 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-01-15asoc: tegra: Enable voice call in LP1Scott Peterson
Enable support in audio driver for voice call while in LP1 power state. Bug 1211157 Change-Id: If63d3ad89ebc09abc3b4d306a4ca35668ca245fc Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/190369 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com> Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
2013-01-08tegra: asoc: Enable AIC3262 HP detectScottPeterson
Enable Headphone detection for AIC3262 audio codec. For bug 1179798 Change-Id: I4107c02d4463ea1d1ac71add7519a946af34ddc6 Signed-off-by: ScottPeterson <speterson@nvidia.com> Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/189114 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-01-08asoc: tegra: AIC3262 codec support for PlutoVijay Mali
Add config for selecting AIC3262 codec on Pluto. Update AIC3262 machine driver for Pluto. Add DMIC support. Add music and voice call connections. For bug 1179798 Change-Id: Ia1901c45c93d93ceea7b37d6498ac8e90e537466 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/189107 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-01-04asoc:tegra: fix dam cif programmingDara Ramesh
as per dam spec file chout is fixed to 32bits so accept chout and ch1 input as 32bit always. Reviewed-on: http://git-master/r/170931 (cherry picked from commit dd07f40144f763be77ce4e2aea5e7d4d22e6a134) Change-Id: Ie423bb62e88ca2800b8a9180381685b5e085379f Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/188287 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-01-04asoc: tegra: i2s: fix DSP mode frame sync widthDara Ramesh
set default fsync width (i.e short fsync) for both DSP_A and DSP_B modes. Change-Id: I519743d4332220b7f686b09da87a096508827990 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/188278 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rahul Mittal <rmittal@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-01-03asoc: tegra: Roth headphone detectionScott Peterson
Fixed clocking issues when doing headphone detection on roth. The NXP device requires an active I2S interface in order to supply clocks for programming. Bug 1210696 Change-Id: I6e18daa349448d14e7ea2c98df2917213d24d82a Signed-off-by: Scott Peterson <speterson@nvidia.com> (cherry picked from commit 5d386c3275f38c84686f9b7f2181b5ecb08e0391) Reviewed-on: http://git-master/r/188063 Tested-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
2012-12-26audio:Add support to configure NXP based on In-hand/On-desk mode and Volume ↵Vinod Subbarayalu
Control Change-Id: I7f0630a8fa35687714d9f5bf2fbb0976c6b969a4 Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> Reviewed-on: http://git-master/r/173278 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-12-26asoc: tegra: cs42l73: Add earpiece DAPM supportRahul Mittal
Add DAPM widget and audio map for earpiece Bug 1179527 Change-Id: I27b588e21bb9beb0bf58966195ba94615c907f3e Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/170511 (cherry picked from commit 6a83f7effeebb9f43aa1deef10f79911ee36ca1c) Reviewed-on: http://git-master/r/172829 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2012-12-21asoc:tegra: BT Call on PlutoNikesh Oswal
1. Use a DAM in BT Codec path 2. Add T114 specific code for DAM programming in call related functions 3. Add T114 specific code for I2S programming in call related functions 4. Update the machine drivers to call DAM functions only if DAM is used in the concerned path Bug 1171615 Change-Id: I3ba9f088117045f2465ee0485d8f1afb0ac9ec59 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/168684 (cherry picked from commit 39dca2c24579084c10644c018afbe3fe002bf422) Reviewed-on: http://git-master/r/173584 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2012-12-19asoc:tegra: Support setting bit clockScottPeterson
Support for setting I2S bit clock from information in the pdata structure. Correctly supported DSPA and DSPB modes of I2S during voice call. Change-Id: I50e20ed66d2d0a01050d1d3902d179133f767f87 Signed-off-by: ScottPeterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/133669 Reviewed-on: http://git-master/r/146605 (cherry picked from commit 46e174b418c2e1b39260fae7e8113786545219d7) Reviewed-on: http://git-master/r/172070 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-12-19tegra: kernel: voice call debugScottPeterson
Changed KB_ROW7 gpio to PULL_UP for better headset detection. Added vdd_sys_audio regulator for speaker amp Debugging voice call UL/DL loss during stress testing. Change-Id: Ib1930ff693306621aef269f0e0ff27aee2ab450f Signed-off-by: ScottPeterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/171212
2012-12-17ALSA: hda: powergate HDA when clock gatingJon Mayo
Use powergating APIs to ensure that HDA and display play nice. Export powergate APIs so snd-intel-hda can be built as a module. Bug 1178366 Change-Id: I30559b9288fcbd86615a674756e70f04c9fb5d83 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/169245 Reviewed-by: Automatic_Commit_Validation_User (cherry picked from commit ca49eeb9b0722505194635d68a7ed7a2b3a343b6) Reviewed-on: http://git-master/r/171205
2012-11-29asoc: aic326x machine: Add support for TI codecManoj Gangwal
Add support for TI K3.4 aic326x codec driver. Bug 1179798 Change-Id: Id098932d3bb4ecf25643f7a49e42b8f901af1d0d Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/165623 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-11-29asoc: aic326x codec: Add TI codec supportManoj Gangwal
Added support for TI aic326x codec for K3.4 Bug 1179798 Change-Id: Ib9efcf67c7b99cc9c7cfc1d6150aa587b88bd3cd Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/165611 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-11-29asoc: codecs: rt5640:Enable rt5439Vinod Subbarayalu
Change-Id: I13a8a915ec93004cf0e73fcefb821547a52481c3 Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> (cherry picked from commit 62a04e4501a46eaef69794eb5e13fbb425889d30) Reviewed-on: http://git-master/r/166417 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-11-28audio: TFA9887 driverVinod Subbarayalu
Change-Id: I415485bb8aa6723c98d2991df9456eea49a65e7f Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> (cherry picked from commit 69f4d8348cccc232b82fbcc26b8ff49efcbb0b4c) Reviewed-on: http://git-master/r/166415 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-11-27asoc: tegra: tdm: change buffer sizes.Nitin Pai
Change the min-buffer-size according to min-channels. Bug 1040171 Change-Id: Ief575c0a180c05521338d0d38fecb8907127b9fe Reviewed-on: http://git-master/r/165340 (cherry picked from commit 93c738795b834290e71775206a8e94e58e4f223d) Signed-off-by: Nitin Pai <npai@nvidia.com> Change-Id: I8d49035c433cbbf0ed7e7a7df61b86fe1657dad3 Reviewed-on: http://git-master/r/166137 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-11-27asoc: tegra: Add DAPM routes for onboard DMICRahul Mittal
Add DAPM routes for onboard DMIC Bug 1162834 Change-Id: I7fc4f3d847e6953cdc87d39800b343876759af62 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/161084 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-11-27asoc: codecs: Updated RT5640 driver with DMIC clk fixRahul Mittal
Fix received from realtek for setting DMIC clock Bug 1162834 Change-Id: Ib59fb30ccc07c38db091dcf5cc70b6210d8fc580 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/166535 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-11-23asoc: tegra: Voice call with cs42l73 ASP+VSP supportScottPeterson
Using cs42l73 VSP audio port for voice call in pluto Bug 1056501 Change-Id: I58697b1a08f5e2d1199da5255d1ff086367ad23c Signed-off-by: ScottPeterson <speterson@nvidia.com> Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/162574 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-11-23asoc: tegra: cs42l73: ASP + VSP supportRahul Mittal
Music with ASP Voice with VSP Bug 1055246 Bug 1056501 Change-Id: Ia54035b811376d9bd42b558c53f7d61f956017b6 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/160886 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-11-20asoc: tegra: cs42l73: VSP capture changesDara Ramesh
a) VSPOUTL/VSPOUTR and VSPIN as a single power bit to control, disabling the playback path (VSPIN) causing VSPOUTL/VSPOUTR (capture path) disables. removed power management option with VSP AIF Stream widgets, making the actual power controlled by a new VSPINOUT supply widget. That way the power will be enabled as required. b) added ADC Left/Right in DAPM route table for Headset Mic. c) enabled MIC2 bias when headset is detected. d) removed static VSPIN DAPM stream widget from DAPM route table. Change-Id: Ia1022e196ba6b44cae3299b03755d87d42007eca Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/164892 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-11-14asoc: tegra: cs42l73: updated driver from cirrusDara Ramesh
updated version of the driver v0.1 thats adds the proper power down method. Bug 1053365 Bug 1161544 Change-Id: Ia3f4f2827d3ef2330a927cb5140bb9954a852654 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/162265 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> Tested-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-11-13asoc: tegra: rt5640: fix the machine bias standbyDara Ramesh
Before tegra_rt5640_init function get called DAPM machine bias level set to off and again resetting in _init function to standby causing the extern1 clock always on. bug 1054060 Change-Id: Id3b82bf85e45409302b0d288ca51120220514492 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/162986 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com>
2012-11-13ASoC: Tegra: Correct tx and add missing rx namesRavindra Lokhande
Change-Id: I9186f27861f4f306e69eac0940e0242f2455ce75 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/162340 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-11-12arm: tegra: Remove reduntant headers for platform dataRahul Mittal
Remove reduntant header files Correct platform data Change-Id: I9a70b79031b5ba47ab87e50d94934e936749c4d7 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/161639 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-11-12asoc: tegra: Fix DAPM route for headset recordingRahul Mittal
Fixes headset recording issue Fixes no playback issue after headset recording ends Bug 1057667 Change-Id: Icb7378021d2fa00fef4300c4c3e38063caf0a9b6 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/162000 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-11-09asoc: tegra: cs42l73: Add VSPIN to DAPM routeRahul Mittal
Workaround to get VSP recording working with Cirrus codec Need to add proper DAPM route based on Cirrus inputs Change-Id: I118f90b8561525979e23cfab011e99490d8f86a0 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/162260 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-11-06asoc: tegra: Rt5640: modify DAPM route tableVijay Mali
a) register DAPM route table with snd_soc_card structure and remove the open-coded DAPM add route calls. b) set card.fully_routed flag to request the ASoC core calculated unused codec pins, and call snd_soc_dapm_nc_pin() for them. Bug 1054060 Change-Id: I512b6329bf1328eff172f40d4cc6b59c763f1323 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/161249 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
2012-11-06Revert "asoc: tegra: cs42l73: VSPIN dapm route with DMIC event"Rahul Mittal
This reverts commit 8bd50e3f390810fffdb63d3b0a32972e09db3000 Fix for pluto DMIC audio recording ANR Bug 1167696 Change-Id: I58edab224d6527912869e8bafa7248c82c332556 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/160833 Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-11-02asoc: tegra: cs42173: modify DAPM route tableDara Ramesh
a) register DAPM route table with snd_soc_card structure and remove the open-coded DAPM add route calls. b) set card.fully_routed flag to request the ASoC core calculated unused codec pins, and call snd_soc_dapm_nc_pin() for them. Bug 1158489 Bug 1052069 Bug 1054060 Change-Id: I43e9f4dab812904e314d460edec0a2bd903f09c6 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/160252 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-10-30asoc: tegra: Fix error in checking SMMU flagRahul Mittal
SMMU flag check was wrong due to which DMA allocs were done using SMMU Corrected check to disable SMMU allocations Bug 1160332 Bug 1155696 Change-Id: I154716d1dc93e45f1f9f1c997bf63fa6f23b73bc Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/159472 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-10-30asoc: tegra: cs42l73: VSPIN dapm route with DMIC eventRahul Mittal
Enable/disable VSPIN in dapm route only with DAPM event Default enable caused 1.3W power in LP0 as codec suspend was failing Bug 1053365 Bug 1161544 Change-Id: I8a4ed0801249ec11da089f0cc597d8abdc6c2dbb Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/159463 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-10-29asoc: tegra: cs42173: Fix to update clock variableDara Ramesh
Change-Id: I533e7c360e039fdfec277029d67b3da99d5f70b2 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/145866 (cherry picked from commit 06ba007018b63b6ffa97ee96536946791b9fef54) Reviewed-on: http://git-master/r/159444 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-10-26asoc:tegra: disable ext1 and enable codec bias offDara Ramesh
a) disable extern1 clock during OSIdle and suspend b) enable codec idle bias off Bug 1158489 Bug 1052069 Bug 1054060 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/144820 (cherry picked from commit 777bbde281ede62a847c3eeb3252957c0a5ee99c) Change-Id: I8102ece58ca2d208e38fcf2dc72320dfb5d030a1 Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/146966 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-10-26asoc: tegra: cs42l73: Support voice callScottPeterson
Add support for voice calls on pluto platform. Bug 1056501 Signed-off-by: ScottPeterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/139823 (cherry picked from commit 9a18bc54326a603b46bd15f500a08b6149f6b70c) Change-Id: I100497338b9cdb7ec66627151e4c7e7840f059fa Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/146965 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-10-26asoc: tegra: cs42l73: slave mode supportRahul Mittal
I2S changed to slave mode Add Schmidt trigger enable for DAP2 Add devid and conid for sync clock lookup Configured DAP direction to INPUT Audience configured for PORTA -> PORTC passthrough Bug 1062554 Change-Id: I9e7cc40e4ce4e165685d9081242f181d5bd5d6d8 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/141123 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> (cherry picked from commit f329532f3b76a276c2f1219ff6422510b5a8ed9d) Reviewed-on: http://git-master/r/147928 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>