Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162670
b: refs/heads/master
c: d4b834c
h: refs/heads/master
v: v3
  • Loading branch information
Barry Song authored and Mike Frysinger committed Sep 17, 2009
1 parent 97f069a commit 6bdcc6f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e68d1ebc30e033612bb69f949da654d72beae57d
refs/heads/master: d4b834c13940b5433d16ae3605794b3d74804348
21 changes: 21 additions & 0 deletions trunk/arch/blackfin/mach-bf537/boards/stamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,15 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = {
};
#endif

#if defined(CONFIG_SND_BF5XX_SOC_AD1938) \
|| defined(CONFIG_SND_BF5XX_SOC_AD1938_MODULE)
static struct bfin5xx_spi_chip ad1938_spi_chip_info = {
.enable_dma = 0,
.bits_per_word = 8,
.cs_gpio = GPIO_PF5,
};
#endif

#if defined(CONFIG_AD9960) || defined(CONFIG_AD9960_MODULE)
static struct bfin5xx_spi_chip ad9960_spi_chip_info = {
.enable_dma = 0,
Expand Down Expand Up @@ -754,6 +763,18 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
.controller_data = &ad1836_spi_chip_info,
},
#endif

#if defined(CONFIG_SND_BF5XX_SOC_AD1938) || defined(CONFIG_SND_BF5XX_SOC_AD1938_MODULE)
{
.modalias = "ad1938-spi",
.max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
.bus_num = 0,
.chip_select = 0,/* CONFIG_SND_BLACKFIN_SPI_PFBIT */
.controller_data = &ad1938_spi_chip_info,
.mode = SPI_MODE_3,
},
#endif

#if defined(CONFIG_AD9960) || defined(CONFIG_AD9960_MODULE)
{
.modalias = "ad9960-spi",
Expand Down

0 comments on commit 6bdcc6f

Please sign in to comment.