bcm2835-pm: Move bcm2835-watchdog's DT probe to an MFD.
authorEric Anholt <eric@anholt.net>
Wed, 12 Dec 2018 23:51:47 +0000 (15:51 -0800)
committerpopcornmix <popcornmix@gmail.com>
Thu, 13 Jun 2019 10:45:16 +0000 (11:45 +0100)
commitae3f6780c32d263019c1ac87f896b3a4066322a0
treed8d12f24e7f877699d3277db332e987795ca9c6d
parente0a2bde82fc2323f2d6e2d51218df66b50b76fd0
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>
(cherry picked from commit 5e6acc3e678ed3db746ab4fb53a980861cd711b6)
drivers/mfd/Makefile
drivers/mfd/bcm2835-pm.c [new file with mode: 0644]
drivers/watchdog/bcm2835_wdt.c
include/linux/mfd/bcm2835-pm.h [new file with mode: 0644]