]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/mfd/bcm2835-pm.c
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)
committerStefan Wahren <stefan.wahren@i2se.com>
Wed, 9 Jan 2019 15:55:06 +0000 (16:55 +0100)
commit5e6acc3e678ed3db746ab4fb53a980861cd711b6
tree5d6bfa348c012539a03ea407c1a326b7f808e386
parentfbeab182b1ae41c3e2e9c05808c01e8f65883e61
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>
arch/arm/mach-bcm/Kconfig
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]