diff options
author | Bob Liu <lliubbo@gmail.com> | 2010-09-29 04:30:12 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-22 16:29:59 -0400 |
commit | 97dd505cd617628049f9779a4cfbc97e2962947f (patch) | |
tree | 49671743020f121aad6f77ef3e51ccda9b014e23 /arch/blackfin | |
parent | c5b77b450a067cd09031caaee72b671810a0fd25 (diff) |
Blackfin: bf518-ezkit: add ssm2603 codec resources
This board has a SSM2603 codec, so make sure we have the right resources
declared for it.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-bf518/boards/ezbrd.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf518/boards/ezbrd.c b/arch/blackfin/mach-bf518/boards/ezbrd.c index 46cb5d410b62..f95e6096719b 100644 --- a/arch/blackfin/mach-bf518/boards/ezbrd.c +++ b/arch/blackfin/mach-bf518/boards/ezbrd.c | |||
@@ -525,6 +525,14 @@ static struct platform_device bfin_sir1_device = { | |||
525 | #endif | 525 | #endif |
526 | #endif | 526 | #endif |
527 | 527 | ||
528 | #if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE) | ||
529 | static struct platform_device bfin_i2s = { | ||
530 | .name = "bfin-i2s", | ||
531 | .id = CONFIG_SND_BF5XX_SPORT_NUM, | ||
532 | /* TODO: add platform data here */ | ||
533 | }; | ||
534 | #endif | ||
535 | |||
528 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) | 536 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) |
529 | static struct resource bfin_twi0_resource[] = { | 537 | static struct resource bfin_twi0_resource[] = { |
530 | [0] = { | 538 | [0] = { |
@@ -559,6 +567,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
559 | .irq = IRQ_PF8, | 567 | .irq = IRQ_PF8, |
560 | }, | 568 | }, |
561 | #endif | 569 | #endif |
570 | #if defined(CONFIG_SND_SOC_SSM2602) || defined(CONFIG_SND_SOC_SSM2602_MODULE) | ||
571 | { | ||
572 | I2C_BOARD_INFO("ssm2602", 0x1b), | ||
573 | }, | ||
574 | #endif | ||
562 | }; | 575 | }; |
563 | 576 | ||
564 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 577 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
@@ -736,6 +749,10 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
736 | &i2c_bfin_twi_device, | 749 | &i2c_bfin_twi_device, |
737 | #endif | 750 | #endif |
738 | 751 | ||
752 | #if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE) | ||
753 | &bfin_i2s, | ||
754 | #endif | ||
755 | |||
739 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 756 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
740 | #ifdef CONFIG_SERIAL_BFIN_SPORT0_UART | 757 | #ifdef CONFIG_SERIAL_BFIN_SPORT0_UART |
741 | &bfin_sport0_uart_device, | 758 | &bfin_sport0_uart_device, |