]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72bcb626ebe917f03e3cebf847cdd43d5c855fcd
tree5d6bfa348c012539a03ea407c1a326b7f808e386
parente276656854b2df4bbc74c5408af32faa4e68aeb0
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]