aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf527
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2009-10-13 05:19:18 -0400
committerMike Frysinger <vapier@gentoo.org>2010-03-09 00:30:49 -0500
commit336746ed8ee8ef503ba79bc4b6f0b5a40e8ab3ce (patch)
treeb917590d61960385c7e3d8ae2e218e299bc4ae26 /arch/blackfin/mach-bf527
parent439b486746df9f57524e002dfd6117bbc040e925 (diff)
Blackfin: bf537-stamp/bf527-ezkit: move ASoC SPORT resources to boards file
Rather than declaring pin resources in the drivers, do it in the board. Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf527')
-rw-r--r--arch/blackfin/mach-bf527/boards/ezkit.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c
index 9f2cb2b86528..3d32a35427a6 100644
--- a/arch/blackfin/mach-bf527/boards/ezkit.c
+++ b/arch/blackfin/mach-bf527/boards/ezkit.c
@@ -494,6 +494,22 @@ static struct bfin5xx_spi_chip spidev_chip_info = {
494}; 494};
495#endif 495#endif
496 496
497#if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE)
498static struct platform_device bfin_i2s = {
499 .name = "bfin-i2s",
500 .id = CONFIG_SND_BF5XX_SPORT_NUM,
501 /* TODO: add platform data here */
502};
503#endif
504
505#if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE)
506static struct platform_device bfin_tdm = {
507 .name = "bfin-tdm",
508 .id = CONFIG_SND_BF5XX_SPORT_NUM,
509 /* TODO: add platform data here */
510};
511#endif
512
497#if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE) 513#if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE)
498static struct bfin5xx_spi_chip lq035q1_spi_chip_info = { 514static struct bfin5xx_spi_chip lq035q1_spi_chip_info = {
499 .enable_dma = 0, 515 .enable_dma = 0,
@@ -1152,6 +1168,14 @@ static struct platform_device *stamp_devices[] __initdata = {
1152#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) 1168#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
1153 &ezkit_flash_device, 1169 &ezkit_flash_device,
1154#endif 1170#endif
1171
1172#if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE)
1173 &bfin_i2s,
1174#endif
1175
1176#if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE)
1177 &bfin_tdm,
1178#endif
1155}; 1179};
1156 1180
1157static int __init ezkit_init(void) 1181static int __init ezkit_init(void)