watchdog: Add booke watchdog driver
PATCH v2 1/1 watchdog: Add booke watchdog driver
Add a driver for the PowerPC Book E watchdog driver that is present on a number of Freescale/NXP SoCs.
Signed-off-by Chris Packham <[email protected]>
Reviewed-by Stefan Roese <[email protected]>
---
Changes in v2:
- Remove #include of common.h
- Add review from Stefan
drivers/watchdog/Kconfig | 7 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/booke_wdt.c | 106 +++++++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+) create mode 100644 drivers/watchdog/booke_wdt.c
drivers/watchdog/Kconfig +7 -0
@@ -111,6 +111,13 @@ config WDT_BCM6345 The watchdog timer is stopped when initialized. It performs full SoC reset. +config WDT_BOOKE + bool "PowerPC Book-E watchdog driver" + depends on WDT && MPC85xx + help + Watchdog driver for PowerPC Book-E chips, such as the Freescale + MPC85xx SOCs and the IBM PowerPC 440. + config WDT_CDNS bool "Cadence watchdog timer support" depends on WDT
drivers/watchdog/Makefile +1 -0
@@ -21,6 +21,7 @@ obj-$(CONFIG_WDT_ARMADA_37XX) += armada-37xx-wdt.o obj-$(CONFIG_WDT_ASPEED) += ast_wdt.o obj-$(CONFIG_WDT_AST2600) += ast2600_wdt.o obj-$(CONFIG_WDT_BCM6345) += bcm6345_wdt.o +obj-$(CONFIG_WDT_BOOKE) += booke_wdt.o obj-$(CONFIG_WDT_CORTINA) += cortina_wdt.o obj-$(CONFIG_WDT_ORION) += orion_wdt.o obj-$(CONFIG_WDT_CDNS) += cdns_wdt.o
drivers/watchdog/booke_wdt.c new file +106 -0
106 lines not on this page · raw message
Signature · 1 line
2.30.1