diff options
author | Eric Anholt <eric@anholt.net> | 2018-12-13 02:51:47 +0300 |
---|---|---|
committer | Stefan Wahren <stefan.wahren@i2se.com> | 2019-01-09 18:55:06 +0300 |
commit | 5e6acc3e678ed3db746ab4fb53a980861cd711b6 (patch) | |
tree | 5d6bfa348c012539a03ea407c1a326b7f808e386 /include/linux/mfd | |
parent | fbeab182b1ae41c3e2e9c05808c01e8f65883e61 (diff) | |
download | linux-5e6acc3e678ed3db746ab4fb53a980861cd711b6.tar.xz |
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.h | 13 |
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 */ |