diff options
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 24 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 25 |
2 files changed, 49 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) | ||
498 | static 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) | ||
506 | static 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) |
498 | static struct bfin5xx_spi_chip lq035q1_spi_chip_info = { | 514 | static 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 | ||
1157 | static int __init ezkit_init(void) | 1181 | static int __init ezkit_init(void) |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index f78861a617d9..80b3b577f74e 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -1849,9 +1849,26 @@ static struct platform_device bfin_dpmc = { | |||
1849 | }, | 1849 | }, |
1850 | }; | 1850 | }; |
1851 | 1851 | ||
1852 | #if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE) | ||
1853 | static struct platform_device bfin_i2s = { | ||
1854 | .name = "bfin-i2s", | ||
1855 | .id = CONFIG_SND_BF5XX_SPORT_NUM, | ||
1856 | /* TODO: add platform data here */ | ||
1857 | }; | ||
1858 | #endif | ||
1859 | |||
1852 | #if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE) | 1860 | #if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE) |
1853 | static struct platform_device bfin_tdm = { | 1861 | static struct platform_device bfin_tdm = { |
1854 | .name = "bfin-tdm", | 1862 | .name = "bfin-tdm", |
1863 | .id = CONFIG_SND_BF5XX_SPORT_NUM, | ||
1864 | /* TODO: add platform data here */ | ||
1865 | }; | ||
1866 | #endif | ||
1867 | |||
1868 | #if defined(CONFIG_SND_BF5XX_AC97) || defined(CONFIG_SND_BF5XX_AC97_MODULE) | ||
1869 | static struct platform_device bfin_ac97 = { | ||
1870 | .name = "bfin-ac97", | ||
1871 | .id = CONFIG_SND_BF5XX_SPORT_NUM, | ||
1855 | /* TODO: add platform data here */ | 1872 | /* TODO: add platform data here */ |
1856 | }; | 1873 | }; |
1857 | #endif | 1874 | #endif |
@@ -1965,9 +1982,17 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1965 | &stamp_flash_device, | 1982 | &stamp_flash_device, |
1966 | #endif | 1983 | #endif |
1967 | 1984 | ||
1985 | #if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE) | ||
1986 | &bfin_i2s, | ||
1987 | #endif | ||
1988 | |||
1968 | #if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE) | 1989 | #if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE) |
1969 | &bfin_tdm, | 1990 | &bfin_tdm, |
1970 | #endif | 1991 | #endif |
1992 | |||
1993 | #if defined(CONFIG_SND_BF5XX_AC97) || defined(CONFIG_SND_BF5XX_AC97_MODULE) | ||
1994 | &bfin_ac97, | ||
1995 | #endif | ||
1971 | }; | 1996 | }; |
1972 | 1997 | ||
1973 | static int __init stamp_init(void) | 1998 | static int __init stamp_init(void) |