[PATCH v6 0/2] add a new driver to support SAMA5D4 watchdog timer
Wenyou Yang
wenyou.yang at atmel.com
Thu Aug 6 03:15:46 PDT 2015
Hello,
Because the watchdog WDT_MR register can be written more than once,
its work mechanism is different from the at91sam9260 watchdog driver.
Open the device file to enable the watchdog hardware, close to disable it,
and ping it from the user space directly to keep it alive.
Changes from v5.0
1./ Add the commas back in after last member for structure variables,
sama5d4_wdt_info and sama5d4_wdt_ops.
Changes from v4.0
1./ Fix interrupt register function flags argument.
2./ Replace the tabs after #define with spaces.
Changes from v3.0
1./ Change the driver name to 'sama5d4_wdt' for more acceptable.
2./ Change the prefix of function name and struct name
from 'atmel_' to 'sama5d4_', and others.
Changes from v2.0
1./ Use a specific driver name, at91_sama5d4_wdt.c.
2./ Remove '-' at the end of macro name and unnecessary check.
3./ Use alphabetic order for include files.
Wenyou Yang (2):
drivers: watchdog: add a driver to support SAMA5D4 watchdog timer
Documentation: dt: binding: atmel-sama5d4-wdt: for SAMA5D4 watchdog
driver
.../bindings/watchdog/atmel-sama5d4-wdt.txt | 35 +++
drivers/watchdog/Kconfig | 9 +
drivers/watchdog/Makefile | 1 +
drivers/watchdog/at91sam9_wdt.h | 2 +
drivers/watchdog/sama5d4_wdt.c | 280 ++++++++++++++++++++
5 files changed, 327 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/atmel-sama5d4-wdt.txt
create mode 100644 drivers/watchdog/sama5d4_wdt.c
--
1.7.9.5
More information about the linux-arm-kernel
mailing list