Title: [8493] trunk/arch/blackfin/mach-bf537/boards/stamp.c: Task[#5912] board configuration for adt7408 iio driver
- Revision
- 8493
- Author
- sonicz
- Date
- 2010-03-18 03:21:25 -0400 (Thu, 18 Mar 2010)
Log Message
Task[#5912] board configuration for adt7408 iio driver
Modified Paths
Diff
Modified: trunk/arch/blackfin/mach-bf537/boards/stamp.c (8492 => 8493)
--- trunk/arch/blackfin/mach-bf537/boards/stamp.c 2010-03-18 07:20:43 UTC (rev 8492)
+++ trunk/arch/blackfin/mach-bf537/boards/stamp.c 2010-03-18 07:21:25 UTC (rev 8493)
@@ -1900,6 +1900,18 @@
},
#endif
+#if defined(CONFIG_ADT7408) || defined(CONFIG_ADT7408_MODULE)
+ {
+ I2C_BOARD_INFO("adt7408", 0x18),
+ .irq = IRQ_PG5,
+ /*
+ * platform_data pointer is borrwoed by the driver to
+ * store custimer defined IRQ ALART level mode.
+ * only IRQF_TRIGGER_HIGH and IRQF_TRIGGER_LOW are valid.
+ */
+ .platform_data = (void *)IRQF_TRIGGER_LOW,
+ },
+#endif
#if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE)
{
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits