Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[firefly-linux-kernel-4.4.55.git] / include / linux / spi / at86rf230.h
index b2b1afbb32024ebbb80be196ea276a7ff53ae43e..aa327a8105ada0d2502d697c6f66699e8f8c516b 100644 (file)
@@ -26,6 +26,20 @@ struct at86rf230_platform_data {
        int rstn;
        int slp_tr;
        int dig2;
+
+       /* Setting the irq_type will configure the driver to request
+        * the platform irq trigger type according to the given value
+        * and configure the interrupt polarity of the device to the
+        * corresponding polarity.
+        *
+        * Allowed values are: IRQF_TRIGGER_RISING, IRQF_TRIGGER_FALLING,
+        *                     IRQF_TRIGGER_HIGH and IRQF_TRIGGER_LOW
+        *
+        * Setting it to 0, the driver does not touch the trigger type
+        * configuration of the interrupt and sets the interrupt polarity
+        * of the device to high active (the default value).
+        */
+       int irq_type;
 };
 
 #endif