Title: [8644] trunk/arch/blackfin/mach-bf537/boards/stamp.c: [#5996] New IIO driver for raw input data stream only.
Revision
8644
Author
bhsong
Date
2010-04-14 05:24:36 -0400 (Wed, 14 Apr 2010)

Log Message

[#5996] New IIO driver for raw input data stream only. Digital Output Gyro adis160xx and adis16100
ADIS16060 spi board info

Modified Paths

Diff

Modified: trunk/arch/blackfin/mach-bf537/boards/stamp.c (8643 => 8644)


--- trunk/arch/blackfin/mach-bf537/boards/stamp.c	2010-04-14 09:06:48 UTC (rev 8643)
+++ trunk/arch/blackfin/mach-bf537/boards/stamp.c	2010-04-14 09:24:36 UTC (rev 8644)
@@ -1329,6 +1329,25 @@
 		.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_ADIS16260) \
 	|| defined(CONFIG_ADIS16260_MODULE)
 	{
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to