diff options
author | Chaithrika U S <chaithrika@ti.com> | 2009-06-05 06:28:08 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-26 03:57:00 -0400 |
commit | 25acf553aeed86f93f2cf39227b59fc6eb3e8c78 (patch) | |
tree | 39ad69bf9d160bac7e2d890fc1b4b0f82e8bcb85 /arch/arm/mach-davinci/board-dm644x-evm.c | |
parent | 7a36071e7954836ba437987e5ca4ced174462b28 (diff) |
davinci: ASoC: Add the platform devices for ASP
1) Registers the platform devices for ASP on dm355, dm644x and dm646x
so that the machine driver can probe to get ASP related platform
data.
2) Move towards definition of the asp clocks using physical name(for
dm355 and dm644x)
3) Add platform data to board specific files.
Signed-off-by: Naresh Medisetty <naresh@ti.com>
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm644x-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-dm644x-evm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index 56c8cd01de9a..d37f5c204b66 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c | |||
@@ -225,6 +225,10 @@ static struct platform_device ide_dev = { | |||
225 | }, | 225 | }, |
226 | }; | 226 | }; |
227 | 227 | ||
228 | static struct snd_platform_data dm644x_evm_snd_data = { | ||
229 | .clk_name = "asp0", | ||
230 | }; | ||
231 | |||
228 | /*----------------------------------------------------------------------*/ | 232 | /*----------------------------------------------------------------------*/ |
229 | 233 | ||
230 | /* | 234 | /* |
@@ -666,6 +670,7 @@ static __init void davinci_evm_init(void) | |||
666 | davinci_setup_mmc(0, &dm6446evm_mmc_config); | 670 | davinci_setup_mmc(0, &dm6446evm_mmc_config); |
667 | 671 | ||
668 | davinci_serial_init(&uart_config); | 672 | davinci_serial_init(&uart_config); |
673 | dm644x_init_asp(&dm644x_evm_snd_data); | ||
669 | 674 | ||
670 | soc_info->emac_pdata->phy_mask = DM644X_EVM_PHY_MASK; | 675 | soc_info->emac_pdata->phy_mask = DM644X_EVM_PHY_MASK; |
671 | soc_info->emac_pdata->mdio_max_freq = DM644X_EVM_MDIO_FREQUENCY; | 676 | soc_info->emac_pdata->mdio_max_freq = DM644X_EVM_MDIO_FREQUENCY; |