summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra30_i2s.h
AgeCommit message (Collapse)Author
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-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-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>
2011-12-30asoc: tegra: handling of i2s capture in voice call recordingNikesh Oswal
stop the enabling/disabling of i2s capture from i2s dai in voice call recording usecase because this would be handled by the voice call management functions and also add parameters for voice call record usecase in i2s structures. Bug: 912897 Change-Id: I9df117300121218fe7f258fd8c79092ab3e1f8e1 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/72352 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2011-12-15ASoC: Tegra: Add support for AP slave mode for Tegra30Sumit Bhattacharya
If AP is set as slave set audio_sync clock as source of i2s controller clock and use pll_a_out0 as i2s controller source in AP master mode. This change is needed to support AP slave mode reliably on Tegra30. Bug 911332 Change-Id: I91e54d1d297c58ad65baac86831bccfbaadf732c Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/69777 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2011-11-30asoc: tegra: add power management functionality in t30 driversNikesh Oswal
add code for handling register save/restore and clocks disable/enable during suspend/resume Bug: 862023 Change-Id: I1b709b6bf674c9a2d93c2a21c1f44bbadff64aab Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/65478 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: R2383486dac0892e317dbd25044df59284031b6c4
2011-11-30ASoC: tegra: t30 add support for voice callNikesh Oswal
Bug: 862023 Change-Id: If22a815f3c941e07b4be91c485353087e45b7503 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/62894 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: R3cceb258be9da3e8bb45741705aabd65c6065c3c
2011-11-30ASoC: tegra: max98088 machine: connect playback path via the damNikesh Oswal
default playback path is established through the dam so as to support mixing of system sounds during voice call and also playing of connection and disconnection tones Bug: 862023 Change-Id: Ia055e7372f4ca18d038db483c3657ee4bbbfb6ca Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/63816 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: R38a4b7b469f5c8cffdc9c53a4a1fb07c13b5a531
2011-11-30ASoC: tegra: configure default playback path for t30Nikesh Oswal
with these changes from the machine driver we can configure the default playback path to go through the dam or bypass the dam Bug: 862023 Change-Id: I0c51dd167c6822c4583240ece14211a82734ee2e Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/62891 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: R7e756015a8436841c00295145ec45a23ec3ba8f7
2011-11-30ASoC: Tegra: Support Tegra30 I2s DSP modeSumit Bhattacharya
Correct DSP-A/B mode logic and bitcnt calculation logic for DSP mode. Also enable single slot for both I2s and DSP modes. Bug 872652 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Change-Id: I9df935bfddde71b3c3a0df68cef73f530079176c Reviewed-on: http://git-master/r/62024 Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Rebase-Id: R8ef4810768bbc7d3d091cc08054e952763d9087f
2011-11-30ASoC: Tegra: Modifiy I2s and AHUB clock managementSumit Bhattacharya
Remove redundant ref counting for I2s and AHUB clocks. For Tegra30 enable AHUB clocks before I2s registers are accessed. Disable clocks when they are not in use. Bug 872652 Change-Id: I7ec4e45cecd0391d0b5a2765214d6c03fa5cc339 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/55005 Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Tested-by: Gerrit_Virtual_Submit Rebase-Id: R886c4a1a472c6b68240f2899a0b0be94c7ac9966
2011-11-30ASoC: Tegra: Add tegra30-i2s driverStephen Warren
This provides an ASoC DAI interface for Tegra 30's I2S controller. Signed-off-by: Stephen Warren <swarren@nvidia.com> Rebase-Id: R7ff210416560aa776e2e751ceba765083f4ce6e5