arch: arm: tegra: Add SPDIF driver support
Sumit Bhattacharya [Sun, 18 Sep 2011 18:48:34 +0000 (23:48 +0530)]
Bug 872652

Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>

Change-Id: I7b948b820434721511c008f644b69d93c23865e1
Reviewed-on: http://git-master/r/53094
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R84104a5c041de277c6b0c966dc1e07a804671b5e

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

index 2dbb239..64e7dc2 100644 (file)
@@ -217,6 +217,7 @@ static __initdata struct tegra_clk_init_table whistler_clk_init_table[] = {
        { "kbc",        "clk_32k",      32768,          true},
        { "sdmmc2",     "pll_p",        25000000,       false},
        { "i2s1",       "pll_a_out0",   0,              false},
+       { "spdif_out",  "pll_a_out0",   0,              false},
        { NULL,         NULL,           0,              0},
 };
 
@@ -335,7 +336,9 @@ static struct platform_device *whistler_devices[] __initdata = {
        &whistler_scroll_device,
        &tegra_camera,
        &tegra_i2s_device1,
+       &tegra_spdif_device,
        &tegra_das_device,
+       &spdif_dit_device,
        &tegra_pcm_device,
        &whistler_audio_device,
 };