diff options
author | Mike Rapoport <mike@compulab.co.il> | 2011-04-17 11:10:35 +0300 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-07-12 20:39:00 -0700 |
commit | 9504940ae03e0ebe6cfef9cd8914199a42128107 (patch) | |
tree | 69d2372f9c854b986c2e5ba78afb8853c1e374f2 /arch/arm/mach-tegra/board-trimslice.c | |
parent | bea2d6b84bdf1ae7384286394e0048a692e12c3f (diff) | |
download | linux-9504940ae03e0ebe6cfef9cd8914199a42128107.tar.bz2 |
ARM: tegra: trimslice: add audio devices and clocks
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-trimslice.c')
-rw-r--r-- | arch/arm/mach-tegra/board-trimslice.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-trimslice.c b/arch/arm/mach-tegra/board-trimslice.c index dcf5fc53f8f6..a19e90b622ec 100644 --- a/arch/arm/mach-tegra/board-trimslice.c +++ b/arch/arm/mach-tegra/board-trimslice.c @@ -73,10 +73,19 @@ static struct tegra_sdhci_platform_data sdhci_pdata4 = { .power_gpio = -1, }; +static struct platform_device trimslice_audio_device = { + .name = "tegra-snd-trimslice", + .id = 0, +}; + static struct platform_device *trimslice_devices[] __initdata = { &debug_uart, &tegra_sdhci_device1, &tegra_sdhci_device4, + &tegra_i2s_device1, + &tegra_das_device, + &tegra_pcm_device, + &trimslice_audio_device, }; static struct tegra_i2c_platform_data trimslice_i2c1_platform_data = { @@ -127,6 +136,10 @@ static void __init tegra_trimslice_fixup(struct machine_desc *desc, static __initdata struct tegra_clk_init_table trimslice_clk_init_table[] = { /* name parent rate enabled */ { "uarta", "pll_p", 216000000, true }, + { "pll_a", "pll_p_out1", 56448000, true }, + { "pll_a_out0", "pll_a", 11289600, true }, + { "cdev1", NULL, 0, true }, + { "i2s1", "pll_a_out0", 11289600, false}, { NULL, NULL, 0, 0}, }; |