mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
[Blackfin] arch: punt the simple ad5304 spi driver now that the generic spidev driver lets you do it from userspace
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
parent
fe9ec9b969
commit
0db5d105cd
@ -484,13 +484,6 @@ static struct bfin5xx_spi_chip spi_si3xxx_chip_info = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE)
|
|
||||||
static struct bfin5xx_spi_chip ad5304_chip_info = {
|
|
||||||
.enable_dma = 0,
|
|
||||||
.bits_per_word = 16,
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
||||||
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
|
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
|
||||||
.enable_dma = 0,
|
.enable_dma = 0,
|
||||||
@ -611,17 +604,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
|
|||||||
.mode = SPI_MODE_3,
|
.mode = SPI_MODE_3,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE)
|
|
||||||
{
|
|
||||||
.modalias = "ad5304_spi",
|
|
||||||
.max_speed_hz = 1250000, /* max spi clock (SCK) speed in HZ */
|
|
||||||
.bus_num = 0,
|
|
||||||
.chip_select = 2,
|
|
||||||
.platform_data = NULL,
|
|
||||||
.controller_data = &ad5304_chip_info,
|
|
||||||
.mode = SPI_MODE_2,
|
|
||||||
},
|
|
||||||
#endif
|
|
||||||
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
||||||
{
|
{
|
||||||
.modalias = "ad7877",
|
.modalias = "ad7877",
|
||||||
|
@ -212,13 +212,6 @@ static struct bfin5xx_spi_chip spi_si3xxx_chip_info = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE)
|
|
||||||
static struct bfin5xx_spi_chip ad5304_chip_info = {
|
|
||||||
.enable_dma = 0,
|
|
||||||
.bits_per_word = 16,
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE)
|
#if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE)
|
||||||
static struct bfin5xx_spi_chip spi_mmc_chip_info = {
|
static struct bfin5xx_spi_chip spi_mmc_chip_info = {
|
||||||
.enable_dma = 1,
|
.enable_dma = 1,
|
||||||
@ -308,17 +301,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
|
|||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE)
|
|
||||||
{
|
|
||||||
.modalias = "ad5304_spi",
|
|
||||||
.max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
|
|
||||||
.bus_num = 0,
|
|
||||||
.chip_select = 2,
|
|
||||||
.platform_data = NULL,
|
|
||||||
.controller_data = &ad5304_chip_info,
|
|
||||||
.mode = SPI_MODE_2,
|
|
||||||
},
|
|
||||||
#endif
|
|
||||||
#if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE)
|
#if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE)
|
||||||
{
|
{
|
||||||
.modalias = "spidev",
|
.modalias = "spidev",
|
||||||
|
@ -371,13 +371,6 @@ static struct bfin5xx_spi_chip spi_si3xxx_chip_info = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE)
|
|
||||||
static struct bfin5xx_spi_chip ad5304_chip_info = {
|
|
||||||
.enable_dma = 0,
|
|
||||||
.bits_per_word = 16,
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
||||||
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
|
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
|
||||||
.enable_dma = 0,
|
.enable_dma = 0,
|
||||||
@ -483,17 +476,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
|
|||||||
.mode = SPI_MODE_3,
|
.mode = SPI_MODE_3,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE)
|
|
||||||
{
|
|
||||||
.modalias = "ad5304_spi",
|
|
||||||
.max_speed_hz = 1250000, /* max spi clock (SCK) speed in HZ */
|
|
||||||
.bus_num = 0,
|
|
||||||
.chip_select = 2,
|
|
||||||
.platform_data = NULL,
|
|
||||||
.controller_data = &ad5304_chip_info,
|
|
||||||
.mode = SPI_MODE_2,
|
|
||||||
},
|
|
||||||
#endif
|
|
||||||
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
||||||
{
|
{
|
||||||
.modalias = "ad7877",
|
.modalias = "ad7877",
|
||||||
|
@ -472,13 +472,6 @@ static struct bfin5xx_spi_chip spi_si3xxx_chip_info = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE)
|
|
||||||
static struct bfin5xx_spi_chip ad5304_chip_info = {
|
|
||||||
.enable_dma = 0,
|
|
||||||
.bits_per_word = 16,
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
||||||
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
|
static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
|
||||||
.enable_dma = 0,
|
.enable_dma = 0,
|
||||||
@ -591,17 +584,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
|
|||||||
.mode = SPI_MODE_3,
|
.mode = SPI_MODE_3,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE)
|
|
||||||
{
|
|
||||||
.modalias = "ad5304_spi",
|
|
||||||
.max_speed_hz = 1250000, /* max spi clock (SCK) speed in HZ */
|
|
||||||
.bus_num = 0,
|
|
||||||
.chip_select = 2,
|
|
||||||
.platform_data = NULL,
|
|
||||||
.controller_data = &ad5304_chip_info,
|
|
||||||
.mode = SPI_MODE_2,
|
|
||||||
},
|
|
||||||
#endif
|
|
||||||
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
|
||||||
{
|
{
|
||||||
.modalias = "ad7877",
|
.modalias = "ad7877",
|
||||||
|
Loading…
Reference in New Issue
Block a user