arm: tegra:dalmore : Add support for K3.10 audio
Manoj Gangwal [Mon, 2 Sep 2013 13:25:52 +0000 (18:25 +0530)]
1) Add pcm device.
2) Add dups clocks for audio modules.

Bug 1310452

Change-Id: Icf7f788bb7dad9092eb09abe2c3acd4a0b45f7ac
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/269160
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

arch/arm/mach-tegra/board-dalmore.c
arch/arm/mach-tegra/tegra11_clocks.c

index 7c9c724..3a34e3d 100644 (file)
@@ -387,6 +387,7 @@ static struct platform_device *dalmore_devices[] __initdata = {
        &tegra_spdif_device,
        &spdif_dit_device,
        &bluetooth_dit_device,
+       &tegra_pcm_device,
        &dalmore_audio_device,
        &tegra_hda_device,
 #if defined(CONFIG_TEGRA_CEC_SUPPORT)
index 796d631..0c358d2 100644 (file)
@@ -7201,6 +7201,15 @@ struct clk_duplicate tegra_clk_duplicates[] = {
        CLK_DUPLICATE("i2c5", "tegra_cl_dvfs", "i2c"),
        CLK_DUPLICATE("cpu_g", "tegra_cl_dvfs", "safe_dvfs"),
        CLK_DUPLICATE("epp.cbus", "tegra_isp", "epp"),
+       CLK_DUPLICATE("i2s0", NULL, "i2s0"),
+       CLK_DUPLICATE("i2s1", NULL, "i2s1"),
+       CLK_DUPLICATE("i2s2", NULL, "i2s2"),
+       CLK_DUPLICATE("i2s3", NULL, "i2s3"),
+       CLK_DUPLICATE("i2s4", NULL, "i2s4"),
+       CLK_DUPLICATE("dam0", NULL, "dam0"),
+       CLK_DUPLICATE("dam1", NULL, "dam1"),
+       CLK_DUPLICATE("dam2", NULL, "dam2"),
+       CLK_DUPLICATE("spdif_in", NULL, "spdif_in"),
        CLK_DUPLICATE("mclk", NULL, "default_mclk"),
 };