]> 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)
commit176835e5105b75e35ee8bb8c1b558051653f05d4
tree5d6bfa348c012539a03ea407c1a326b7f808e386
parenta632acd794a74f548d27ccc5295437504b65cb56
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]