arch: arm: Enable SPDIF driver for Tegra30
Sumit Bhattacharya [Wed, 28 Sep 2011 12:29:22 +0000 (17:29 +0530)]
Bug 872652

Change-Id: Ic170dc2fc86f74d9e67d3b73a6f83368597dafcb
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/54975
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rcffb88a225fe811ac21466f8d15ee536c2e8b6a4

arch/arm/mach-tegra/board-cardhu.c

index d27bde7..137b625 100644 (file)
@@ -191,6 +191,7 @@ static __initdata struct tegra_clk_init_table cardhu_clk_init_table[] = {
        { "pwm",        "pll_p",        3187500,        false},
        { "blink",      "clk_32k",      32768,          true},
        { "i2s1",       "pll_a_out0",   0,              false},
+       { "spdif_out",  "pll_a_out0",   0,              false},
        { "vi_sensor",  "pll_p",        150000000,      false},
        { NULL,         NULL,           0,              0},
 };
@@ -488,6 +489,8 @@ static struct platform_device *cardhu_devices[] __initdata = {
 #endif
        &tegra_ahub_device,
        &tegra_i2s_device1,
+       &tegra_spdif_device,
+       &spdif_dit_device,
        &tegra_pcm_device,
        &cardhu_audio_device,
 #if defined(CONFIG_CRYPTO_DEV_TEGRA_AES)