|
@@ -166,3 +166,25 @@ struct omap_ball {
|
|
|
*/
|
|
|
struct omap_board_mux {
|
|
|
u16 reg_offset;
|
|
|
+ u16 value;
|
|
|
+};
|
|
|
+
|
|
|
+#define OMAP_DEVICE_PAD_REMUX BIT(1) /* Dynamically remux a pad,
|
|
|
+ needs enable, idle and off
|
|
|
+ values */
|
|
|
+#define OMAP_DEVICE_PAD_WAKEUP BIT(0) /* Pad is wake-up capable */
|
|
|
+
|
|
|
+/**
|
|
|
+ * struct omap_device_pad - device specific pad configuration
|
|
|
+ * @name: signal name
|
|
|
+ * @flags: pad specific runtime flags
|
|
|
+ * @enable: runtime value for a pad
|
|
|
+ * @idle: idle value for a pad
|
|
|
+ * @off: off value for a pad, defaults to safe mode
|
|
|
+ * @partition: mux partition
|
|
|
+ * @mux: mux register
|
|
|
+ */
|
|
|
+struct omap_device_pad {
|
|
|
+ char *name;
|
|
|
+ u8 flags;
|
|
|
+ u16 enable;
|