diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/stamp.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 29c219eff2ff..b3b1cdea2703 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -185,7 +185,7 @@ static struct bfin5xx_spi_chip spi_adc_chip_info = { | |||
185 | }; | 185 | }; |
186 | #endif | 186 | #endif |
187 | 187 | ||
188 | #if defined(CONFIG_SND_BLACKFIN_AD183X) || defined(CONFIG_SND_BLACKFIN_AD183X_MODULE) | 188 | #if defined(CONFIG_SND_BF5XX_SOC_AD183X) || defined(CONFIG_SND_BF5XX_SOC_AD183X_MODULE) |
189 | static struct bfin5xx_spi_chip ad1836_spi_chip_info = { | 189 | static struct bfin5xx_spi_chip ad1836_spi_chip_info = { |
190 | .enable_dma = 0, | 190 | .enable_dma = 0, |
191 | .bits_per_word = 16, | 191 | .bits_per_word = 16, |
@@ -252,13 +252,15 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
252 | }, | 252 | }, |
253 | #endif | 253 | #endif |
254 | 254 | ||
255 | #if defined(CONFIG_SND_BLACKFIN_AD183X) || defined(CONFIG_SND_BLACKFIN_AD183X_MODULE) | 255 | #if defined(CONFIG_SND_BF5XX_SOC_AD183X) || defined(CONFIG_SND_BF5XX_SOC_AD183X_MODULE) |
256 | { | 256 | { |
257 | .modalias = "ad1836", | 257 | .modalias = "ad183x", |
258 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 258 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
259 | .bus_num = 0, | 259 | .bus_num = 0, |
260 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 260 | .chip_select = 4, |
261 | .platform_data = "ad1836", /* only includes chip name for the moment */ | ||
261 | .controller_data = &ad1836_spi_chip_info, | 262 | .controller_data = &ad1836_spi_chip_info, |
263 | .mode = SPI_MODE_3, | ||
262 | }, | 264 | }, |
263 | #endif | 265 | #endif |
264 | 266 | ||
@@ -495,8 +497,8 @@ static struct platform_device bfin_device_gpiokeys = { | |||
495 | #include <linux/i2c-gpio.h> | 497 | #include <linux/i2c-gpio.h> |
496 | 498 | ||
497 | static struct i2c_gpio_platform_data i2c_gpio_data = { | 499 | static struct i2c_gpio_platform_data i2c_gpio_data = { |
498 | .sda_pin = 2, | 500 | .sda_pin = GPIO_PF2, |
499 | .scl_pin = 3, | 501 | .scl_pin = GPIO_PF3, |
500 | .sda_is_open_drain = 0, | 502 | .sda_is_open_drain = 0, |
501 | .scl_is_open_drain = 0, | 503 | .scl_is_open_drain = 0, |
502 | .udelay = 40, | 504 | .udelay = 40, |
@@ -534,6 +536,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
534 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | 536 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), |
535 | }, | 537 | }, |
536 | #endif | 538 | #endif |
539 | #if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) | ||
540 | { | ||
541 | I2C_BOARD_INFO("ad5252", 0x2f), | ||
542 | }, | ||
543 | #endif | ||
537 | }; | 544 | }; |
538 | 545 | ||
539 | static const unsigned int cclk_vlev_datasheet[] = | 546 | static const unsigned int cclk_vlev_datasheet[] = |