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>
This commit is contained in:
parent
c5b77b450a
commit
97dd505cd6
|
@ -525,6 +525,14 @@ static struct platform_device bfin_sir1_device = {
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE)
|
||||||
|
static struct platform_device bfin_i2s = {
|
||||||
|
.name = "bfin-i2s",
|
||||||
|
.id = CONFIG_SND_BF5XX_SPORT_NUM,
|
||||||
|
/* TODO: add platform data here */
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE)
|
#if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE)
|
||||||
static struct resource bfin_twi0_resource[] = {
|
static struct resource bfin_twi0_resource[] = {
|
||||||
[0] = {
|
[0] = {
|
||||||
|
@ -559,6 +567,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
|
||||||
.irq = IRQ_PF8,
|
.irq = IRQ_PF8,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(CONFIG_SND_SOC_SSM2602) || defined(CONFIG_SND_SOC_SSM2602_MODULE)
|
||||||
|
{
|
||||||
|
I2C_BOARD_INFO("ssm2602", 0x1b),
|
||||||
|
},
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE)
|
#if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE)
|
||||||
|
@ -736,6 +749,10 @@ static struct platform_device *stamp_devices[] __initdata = {
|
||||||
&i2c_bfin_twi_device,
|
&i2c_bfin_twi_device,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE)
|
||||||
|
&bfin_i2s,
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE)
|
#if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE)
|
||||||
#ifdef CONFIG_SERIAL_BFIN_SPORT0_UART
|
#ifdef CONFIG_SERIAL_BFIN_SPORT0_UART
|
||||||
&bfin_sport0_uart_device,
|
&bfin_sport0_uart_device,
|
||||||
|
|
Loading…
Reference in New Issue