diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2011-12-13 21:07:56 +0530 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-15 12:12:35 +0530 |
commit | 7d2988bcb3b28c3cb3c2c027fc1ae6f230db5941 (patch) | |
tree | 5d683c7c82d35c4f0d17b9d2e476773ca25df4bf /sound/soc/tegra/tegra30_i2s.h | |
parent | 0906482aa3e33187e3430c1c517fbdbccd1843f2 (diff) |
ASoC: Tegra: Add support for AP slave mode for Tegra30
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>
Diffstat (limited to 'sound/soc/tegra/tegra30_i2s.h')
-rw-r--r-- | sound/soc/tegra/tegra30_i2s.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra30_i2s.h b/sound/soc/tegra/tegra30_i2s.h index 26c2c87cde52..1240cc65d1fb 100644 --- a/sound/soc/tegra/tegra30_i2s.h +++ b/sound/soc/tegra/tegra30_i2s.h @@ -234,6 +234,9 @@ struct tegra30_i2s { int id; struct clk *clk_i2s; + struct clk *clk_i2s_sync; + struct clk *clk_audio_2x; + struct clk *clk_pll_a_out0; enum tegra30_ahub_rxcif rxcif; struct tegra_pcm_dma_params capture_dma_data; enum tegra30_ahub_txcif txcif; |