summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2018-12-12 15:51:47 -0800
committerStefan Wahren <stefan.wahren@i2se.com>2019-01-09 16:55:06 +0100
commit5e6acc3e678ed3db746ab4fb53a980861cd711b6 (patch)
tree5d6bfa348c012539a03ea407c1a326b7f808e386 /include/linux/mfd
parentfbeab182b1ae41c3e2e9c05808c01e8f65883e61 (diff)
bcm2835-pm: Move bcm2835-watchdog's DT probe to an MFD.
The PM block that the wdt driver was binding to actually has multiple features we want to expose (power domains, reset, watchdog). Move the DT attachment to a MFD driver and make WDT probe against MFD. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/bcm2835-pm.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/mfd/bcm2835-pm.h b/include/linux/mfd/bcm2835-pm.h
new file mode 100644
index 000000000000..b7d0ee1feffa
--- /dev/null
+++ b/include/linux/mfd/bcm2835-pm.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+#ifndef BCM2835_MFD_PM_H
+#define BCM2835_MFD_PM_H
+
+#include <linux/regmap.h>
+
+struct bcm2835_pm {
+ struct device *dev;
+ void __iomem *base;
+};
+
+#endif /* BCM2835_MFD_PM_H */