summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra_das.c
AgeCommit message (Collapse)Author
2011-07-25ARM: tegra: das: Add port check before set DAP tristateArtiste Hsu
If tagra_dap_port_info_table.dac_port is tegra_das_port_none, das_set_pin_state() should not control tri-state for the DAP pingroup. Bug 824362 Reviewed-on: http://git-master/r/41489 (cherry picked from commit Id48945c21c0e383f5b43cc62ccc610af3a0fd2ee) Change-Id: Ice963957753a2ee6e8be5db2c4d02b2f2e48c694 Reviewed-on: http://git-master/r/42293 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-22tegra: alsa: Added support for I2S TDM modesNitin Pai
Added DAS functions to do custom connections where routing is not involved. Added support for the tegra_pcm_tdm_hardware for handling the latency. Addded support for the tegra_soc driver for AD1937 Codec Made generic codec dais to be common for all platform of Tegra Change-Id: I20a513f27f39273064ce90b973014c418e6d1362 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/42360 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-29arm: tegra: fix audio issueVinod G
bug 820773 Fix the audio issue resulted from code merge. Change-Id: I37999fabec7de077eac337db33eb2b01939349fc Reviewed-on: http://git-master/r/29684 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-26arm: tegra: correct the i2s clockingVinod G
Rearrange the i2s clock code so that it will be handled properly using the audio_manager code. Mclk code is moved to audio_manager from soc. bug 804696 Original-Change-Id: Icf9e823154cf3b5a63426944c4864a413df82213 Reviewed-on: http://git-master/r/27255 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Change-Id: I8acd9c5d5389b3d4ca574bd62a392c56fdfa35b7
2011-04-13ARM: tegra: DAS: Support new DAS driver APIsSumit Bhattacharya
Added three new APIs in DAS driver. These APIs can be used to query which dap/i2s port is master and supported data format of a certain codec for the current set of das connections. ALSA driver will be using these APIs. Adding all the required board specific data in tegra_das_pdata structure. Disabling all audio related clocks from board file. This is required for ALSA to be able to disable audio clocks when they are not in use. Change-Id: Idc49b4723f10e1e48530273f993f29983b48f324 Reviewed-on: http://git-master/r/24676 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-17[ARM] Tegra:Handle DAP tristate properlySumit Bhattacharya
We should not tristate CDEV1 pinmux from dap driver. We should tristate all the DAP pinmuxes while not in use. Change-Id: I7865d96011a7fb03b4dacee2c7bba03ee36c0b7d Reviewed-on: http://git-master/r/22329 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com>
2011-02-22[ARM] tegra: i2s and das suspend/resumeSumit Bhattacharya
Add APIs in das driver to get and set das register values. ALSA driver will be using these APIs to cache das register values during system suspend resume. In i2s register get/set APIs caching few more registers. Bug 789967 Bug 792879 Change-Id: Iaa4487cb003d2f75d5c54f450f17833c7af96cf2 Reviewed-on: http://git-master/r/20291 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-01-05[ARM] tegra: DAS driver for tegraRavindra Lokhande
DAS(Digital Audio Switch) driver for tegra is added. This driver configures DAC and DAP port for audio switching. Change-Id: I47d4ac53aed0906df1469c7c70425136f0e3b2c7 Reviewed-on: http://git-master/r/14975 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>