diff options
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/stamp.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 5ed654ae66e1..307bd7e62f43 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -2641,6 +2641,21 @@ static struct platform_device bfin_ac97_pcm = { | |||
2641 | }; | 2641 | }; |
2642 | #endif | 2642 | #endif |
2643 | 2643 | ||
2644 | #if defined(CONFIG_SND_BF5XX_SOC_AD1836) \ | ||
2645 | || defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE) | ||
2646 | static const char * const ad1836_link[] = { | ||
2647 | "bfin-tdm.0", | ||
2648 | "spi0.4", | ||
2649 | }; | ||
2650 | static struct platform_device bfin_ad1836_machine = { | ||
2651 | .name = "bfin-snd-ad1836", | ||
2652 | .id = -1, | ||
2653 | .dev = { | ||
2654 | .platform_data = (void *)ad1836_link, | ||
2655 | }, | ||
2656 | }; | ||
2657 | #endif | ||
2658 | |||
2644 | #if defined(CONFIG_SND_BF5XX_SOC_AD73311) || \ | 2659 | #if defined(CONFIG_SND_BF5XX_SOC_AD73311) || \ |
2645 | defined(CONFIG_SND_BF5XX_SOC_AD73311_MODULE) | 2660 | defined(CONFIG_SND_BF5XX_SOC_AD73311_MODULE) |
2646 | static const unsigned ad73311_gpio[] = { | 2661 | static const unsigned ad73311_gpio[] = { |
@@ -2927,6 +2942,11 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
2927 | &bfin_ac97_pcm, | 2942 | &bfin_ac97_pcm, |
2928 | #endif | 2943 | #endif |
2929 | 2944 | ||
2945 | #if defined(CONFIG_SND_BF5XX_SOC_AD1836) || \ | ||
2946 | defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE) | ||
2947 | &bfin_ad1836_machine, | ||
2948 | #endif | ||
2949 | |||
2930 | #if defined(CONFIG_SND_BF5XX_SOC_AD73311) || \ | 2950 | #if defined(CONFIG_SND_BF5XX_SOC_AD73311) || \ |
2931 | defined(CONFIG_SND_BF5XX_SOC_AD73311_MODULE) | 2951 | defined(CONFIG_SND_BF5XX_SOC_AD73311_MODULE) |
2932 | &bfin_ad73311_machine, | 2952 | &bfin_ad73311_machine, |