Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: add sbsa-gwdt driver documentation

The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for
introducing SBSA(Server Base System Architecture) Generic Watchdog
device node info into FDT.

Also add sbsa-gwdt introduction in watchdog-parameters.txt

Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Fu Wei <fu.wei@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

authored by

Fu Wei and committed by
Wim Van Sebroeck
2fc94b5f c36a483d

+38
+31
Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt
··· 1 + * SBSA (Server Base System Architecture) Generic Watchdog 2 + 3 + The SBSA Generic Watchdog Timer is used to force a reset of the system 4 + after two stages of timeout have elapsed. A detailed definition of the 5 + watchdog timer can be found in the ARM document: ARM-DEN-0029 - Server 6 + Base System Architecture (SBSA) 7 + 8 + Required properties: 9 + - compatible: Should at least contain "arm,sbsa-gwdt". 10 + 11 + - reg: Each entry specifies the base physical address of a register frame 12 + and the length of that frame; currently, two frames must be defined, 13 + in this order: 14 + 1: Watchdog control frame; 15 + 2: Refresh frame. 16 + 17 + - interrupts: Should contain the Watchdog Signal 0 (WS0) SPI (Shared 18 + Peripheral Interrupt) number of SBSA Generic Watchdog. 19 + 20 + Optional properties 21 + - timeout-sec: Watchdog timeout values (in seconds). 22 + 23 + Example for FVP Foundation Model v8: 24 + 25 + watchdog@2a440000 { 26 + compatible = "arm,sbsa-gwdt"; 27 + reg = <0x0 0x2a440000 0 0x1000>, 28 + <0x0 0x2a450000 0 0x1000>; 29 + interrupts = <0 27 4>; 30 + timeout-sec = <30>; 31 + };
+7
Documentation/watchdog/watchdog-parameters.txt
··· 289 289 margin: Watchdog margin in seconds (default 60s) 290 290 nowayout: Watchdog cannot be stopped once started 291 291 ------------------------------------------------- 292 + sbsa_gwdt: 293 + timeout: Watchdog timeout in seconds. (default 10s) 294 + action: Watchdog action at the first stage timeout, 295 + set to 0 to ignore, 1 to panic. (default=0) 296 + nowayout: Watchdog cannot be stopped once started 297 + (default=kernel config parameter) 298 + ------------------------------------------------- 292 299 sc1200wdt: 293 300 isapnp: When set to 0 driver ISA PnP support will be disabled (default=1) 294 301 io: io port