|
@@ -1166,3 +1166,121 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
|
|
|
.irq = IRQ_PF6,
|
|
|
.max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */
|
|
|
.bus_num = 0,
|
|
|
+ .chip_select = 2,
|
|
|
+ .mode = SPI_MODE_3,
|
|
|
+ },
|
|
|
+#endif
|
|
|
+#if defined(CONFIG_ADF702X) || defined(CONFIG_ADF702X_MODULE)
|
|
|
+ {
|
|
|
+ .modalias = "adf702x",
|
|
|
+ .max_speed_hz = 16000000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0,
|
|
|
+ .chip_select = GPIO_PF10 + MAX_CTRL_CS, /* GPIO controlled SSEL */
|
|
|
+ .platform_data = &adf7021_platform_data,
|
|
|
+ .mode = SPI_MODE_0,
|
|
|
+ },
|
|
|
+#endif
|
|
|
+#if defined(CONFIG_TOUCHSCREEN_ADS7846) || defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
|
|
|
+ {
|
|
|
+ .modalias = "ads7846",
|
|
|
+ .max_speed_hz = 2000000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0,
|
|
|
+ .irq = IRQ_PF6,
|
|
|
+ .chip_select = GPIO_PF10 + MAX_CTRL_CS, /* GPIO controlled SSEL */
|
|
|
+ .platform_data = &ad7873_pdata,
|
|
|
+ .mode = SPI_MODE_0,
|
|
|
+ },
|
|
|
+#endif
|
|
|
+#if defined(CONFIG_AD7476) \
|
|
|
+ || defined(CONFIG_AD7476_MODULE)
|
|
|
+ {
|
|
|
+ .modalias = "ad7476", /* Name of spi_driver for this device */
|
|
|
+ .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0, /* Framework bus number */
|
|
|
+ .chip_select = 1, /* Framework chip select. */
|
|
|
+ .platform_data = NULL, /* No spi_driver specific config */
|
|
|
+ .controller_data = &spi_ad7476_chip_info,
|
|
|
+ .mode = SPI_MODE_3,
|
|
|
+ },
|
|
|
+#endif
|
|
|
+#if defined(CONFIG_ADE7753) \
|
|
|
+ || defined(CONFIG_ADE7753_MODULE)
|
|
|
+ {
|
|
|
+ .modalias = "ade7753",
|
|
|
+ .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0,
|
|
|
+ .chip_select = 1, /* CS, change it for your board */
|
|
|
+ .platform_data = NULL, /* No spi_driver specific config */
|
|
|
+ .mode = SPI_MODE_1,
|
|
|
+ },
|
|
|
+#endif
|
|
|
+#if defined(CONFIG_ADE7754) \
|
|
|
+ || defined(CONFIG_ADE7754_MODULE)
|
|
|
+ {
|
|
|
+ .modalias = "ade7754",
|
|
|
+ .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0,
|
|
|
+ .chip_select = 1, /* CS, change it for your board */
|
|
|
+ .platform_data = NULL, /* No spi_driver specific config */
|
|
|
+ .mode = SPI_MODE_1,
|
|
|
+ },
|
|
|
+#endif
|
|
|
+#if defined(CONFIG_ADE7758) \
|
|
|
+ || defined(CONFIG_ADE7758_MODULE)
|
|
|
+ {
|
|
|
+ .modalias = "ade7758",
|
|
|
+ .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0,
|
|
|
+ .chip_select = 1, /* CS, change it for your board */
|
|
|
+ .platform_data = NULL, /* No spi_driver specific config */
|
|
|
+ .mode = SPI_MODE_1,
|
|
|
+ },
|
|
|
+#endif
|
|
|
+#if defined(CONFIG_ADE7759) \
|
|
|
+ || defined(CONFIG_ADE7759_MODULE)
|
|
|
+ {
|
|
|
+ .modalias = "ade7759",
|
|
|
+ .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0,
|
|
|
+ .chip_select = 1, /* CS, change it for your board */
|
|
|
+ .platform_data = NULL, /* No spi_driver specific config */
|
|
|
+ .mode = SPI_MODE_1,
|
|
|
+ },
|
|
|
+#endif
|
|
|
+#if defined(CONFIG_ADE7854_SPI) \
|
|
|
+ || defined(CONFIG_ADE7854_SPI_MODULE)
|
|
|
+ {
|
|
|
+ .modalias = "ade7854",
|
|
|
+ .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0,
|
|
|
+ .chip_select = 1, /* CS, change it for your board */
|
|
|
+ .platform_data = NULL, /* No spi_driver specific config */
|
|
|
+ .mode = SPI_MODE_3,
|
|
|
+ },
|
|
|
+#endif
|
|
|
+#if defined(CONFIG_ADIS16060) \
|
|
|
+ || defined(CONFIG_ADIS16060_MODULE)
|
|
|
+ {
|
|
|
+ .modalias = "adis16060_r",
|
|
|
+ .max_speed_hz = 2900000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0,
|
|
|
+ .chip_select = MAX_CTRL_CS + 1, /* CS for read, change it for your board */
|
|
|
+ .platform_data = NULL, /* No spi_driver specific config */
|
|
|
+ .mode = SPI_MODE_0,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .modalias = "adis16060_w",
|
|
|
+ .max_speed_hz = 2900000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0,
|
|
|
+ .chip_select = 2, /* CS for write, change it for your board */
|
|
|
+ .platform_data = NULL, /* No spi_driver specific config */
|
|
|
+ .mode = SPI_MODE_1,
|
|
|
+ },
|
|
|
+#endif
|
|
|
+#if defined(CONFIG_ADIS16130) \
|
|
|
+ || defined(CONFIG_ADIS16130_MODULE)
|
|
|
+ {
|
|
|
+ .modalias = "adis16130",
|
|
|
+ .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
|
|
|
+ .bus_num = 0,
|
|
|
+ .chip_select = 1, /* CS for read, change it for your board */
|