summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/pinctrl-single.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/pinctrl-single.h')
-rw-r--r--include/linux/platform_data/pinctrl-single.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/platform_data/pinctrl-single.h b/include/linux/platform_data/pinctrl-single.h
new file mode 100644
index 000000000000..72eacda9b360
--- /dev/null
+++ b/include/linux/platform_data/pinctrl-single.h
@@ -0,0 +1,12 @@
+/**
+ * irq: optional wake-up interrupt
+ * rearm: optional soc specific rearm function
+ *
+ * Note that the irq and rearm setup should come from device
+ * tree except for omap where there are still some dependencies
+ * to the legacy PRM code.
+ */
+struct pcs_pdata {
+ int irq;
+ void (*rearm)(void);
+};
OpenPOWER on IntegriCloud