diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2011-08-30 13:12:26 -0400 |
|---|---|---|
| committer | Mike Frysinger <vapier@gentoo.org> | 2011-10-25 19:51:50 -0400 |
| commit | 2fba06f2b8a7fe69c0eff94389834821f54ada10 (patch) | |
| tree | e5ad2ba22a099bf06be02043945504ffef8e7b03 | |
| parent | 2db1f97299131ecd121e32b6d2fc88ae4802bf86 (diff) | |
Blackfin: bf537-stamp: register adau1701 codec and asoc machine driver
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| -rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 090a880927bf..fcd0a67efada 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
| @@ -2275,6 +2275,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
| 2275 | I2C_BOARD_INFO("adau1361", 0x38), | 2275 | I2C_BOARD_INFO("adau1361", 0x38), |
| 2276 | }, | 2276 | }, |
| 2277 | #endif | 2277 | #endif |
| 2278 | #if defined(CONFIG_SND_SOC_ADAU1701) || defined(CONFIG_SND_SOC_ADAU1701_MODULE) | ||
| 2279 | { | ||
| 2280 | I2C_BOARD_INFO("adau1701", 0x34), | ||
| 2281 | }, | ||
| 2282 | #endif | ||
| 2278 | #if defined(CONFIG_AD525X_DPOT) || defined(CONFIG_AD525X_DPOT_MODULE) | 2283 | #if defined(CONFIG_AD525X_DPOT) || defined(CONFIG_AD525X_DPOT_MODULE) |
| 2279 | { | 2284 | { |
| 2280 | I2C_BOARD_INFO("ad5258", 0x18), | 2285 | I2C_BOARD_INFO("ad5258", 0x18), |
| @@ -2661,6 +2666,13 @@ static struct platform_device iio_gpio_trigger = { | |||
| 2661 | }; | 2666 | }; |
| 2662 | #endif | 2667 | #endif |
| 2663 | 2668 | ||
| 2669 | #if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701) || \ | ||
| 2670 | defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701_MODULE) | ||
| 2671 | static struct platform_device bf5xx_adau1701_device = { | ||
| 2672 | .name = "bfin-eval-adau1701", | ||
| 2673 | }; | ||
| 2674 | #endif | ||
| 2675 | |||
| 2664 | static struct platform_device *stamp_devices[] __initdata = { | 2676 | static struct platform_device *stamp_devices[] __initdata = { |
| 2665 | 2677 | ||
| 2666 | &bfin_dpmc, | 2678 | &bfin_dpmc, |
| @@ -2821,6 +2833,11 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 2821 | defined(CONFIG_IIO_GPIO_TRIGGER_MODULE) | 2833 | defined(CONFIG_IIO_GPIO_TRIGGER_MODULE) |
| 2822 | &iio_gpio_trigger, | 2834 | &iio_gpio_trigger, |
| 2823 | #endif | 2835 | #endif |
| 2836 | |||
| 2837 | #if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701) || \ | ||
| 2838 | defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701_MODULE) | ||
| 2839 | &bf5xx_adau1701_device, | ||
| 2840 | #endif | ||
| 2824 | }; | 2841 | }; |
| 2825 | 2842 | ||
| 2826 | static int __init net2272_init(void) | 2843 | static int __init net2272_init(void) |
