[PATCH v3 0/2] watchdog: Add Aspeed watchdog driver
Joel Stanley
joel at jms.id.au
Wed May 18 01:20:58 PDT 2016
Hello,
These patches add support for the watchdog timer found in Aspeed ast2400 and
ast2500 BMC SoCs.
The u-boot that ships on the edk and with many systems leaves the watchdog
running when jumping to the kernel, making this driver required for operation.
It has been tested on the ast2400 in an OpenPower Palmetto, and the ast2500-edk
dev board.
Changes in v3:
- remove rate from struct aspeed_wdt in favour of #define
- don't start the timer when setting the timeout
- wait after initiaitng the reboot so it catches
- remove dev_info from startup
- update bindings following review from Rob (this didn't make it to the
mailing list in v2)
Changes in v2:
Addressed review from Guenter:
- dropped the drv_dbgs
- added defines for all of the constants
- clarified the type of reset we want
- leaves the watchdog running
Cheers,
Joel
Joel Stanley (2):
doc/devicetree: Add Aspeed watchdog timer bindings
watchdog: Add Aspeed watchdog driver
.../devicetree/bindings/watchdog/aspeed-wdt.txt | 16 ++
drivers/watchdog/Kconfig | 13 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/aspeed_wdt.c | 212 +++++++++++++++++++++
4 files changed, 242 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt
create mode 100644 drivers/watchdog/aspeed_wdt.c
--
2.8.1
More information about the linux-arm-kernel
mailing list