mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 18:40:53 +07:00
Blackfin: bf537-stamp: ad1938: switch to GPIO CS
Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
6bd1fbea2e
commit
08a54bffaf
@ -528,7 +528,6 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = {
|
|||||||
static struct bfin5xx_spi_chip ad1938_spi_chip_info = {
|
static struct bfin5xx_spi_chip ad1938_spi_chip_info = {
|
||||||
.enable_dma = 0,
|
.enable_dma = 0,
|
||||||
.bits_per_word = 8,
|
.bits_per_word = 8,
|
||||||
.cs_gpio = GPIO_PF5,
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -910,7 +909,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
|
|||||||
.modalias = "ad1938",
|
.modalias = "ad1938",
|
||||||
.max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
|
.max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
|
||||||
.bus_num = 0,
|
.bus_num = 0,
|
||||||
.chip_select = 0,/* CONFIG_SND_BLACKFIN_SPI_PFBIT */
|
.chip_select = 5,
|
||||||
.controller_data = &ad1938_spi_chip_info,
|
.controller_data = &ad1938_spi_chip_info,
|
||||||
.mode = SPI_MODE_3,
|
.mode = SPI_MODE_3,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user