summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2014-07-30 22:41:43 -0500
committerTero Kristo <t-kristo@ti.com>2014-08-01 11:38:35 +0300
commit1c18c1d436973aeeba376c51aa8d54a9e354dcc7 (patch)
tree705da25f2e256a90ccdbc22f325092e636fa65a0 /include
parenteaaf85234b62572130003da56e28133fa08c3102 (diff)
ARM: OMAP2+: Use pdata-quirks for wkup_m3 deassert_hardreset
Use pdata-quirks to reset the wkup_m3 during boot. Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/wkup_m3.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/platform_data/wkup_m3.h b/include/linux/platform_data/wkup_m3.h
new file mode 100644
index 00000000000..6ee33d7f161
--- /dev/null
+++ b/include/linux/platform_data/wkup_m3.h
@@ -0,0 +1,23 @@
+/*
+ * omap wkup_m3: platform data
+ *
+ * Copyright (C) 2014 Texas Instruments, Inc.
+ *
+ * Dave Gerlach <d-gerlach@ti.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _LINUX_PLATFORM_DATA_WKUP_M3_H
+#define _LINUX_PLATFORM_DATA_WKUP_M3_H
+
+struct wkup_m3_platform_data {
+ const char *reset_name;
+
+ int (*assert_reset)(struct platform_device *pdev, const char *name);
+ int (*deassert_reset)(struct platform_device *pdev, const char *name);
+};
+
+#endif /* _LINUX_PLATFORM_DATA_WKUP_M3_H */