The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/watchdog/gpio-wdt.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * GPIO-controlled Watchdog
    2 
    3 Required Properties:
    4 - compatible: Should contain "linux,wdt-gpio".
    5 - gpios: From common gpio binding; gpio connection to WDT reset pin.
    6 - hw_algo: The algorithm used by the driver. Should be one of the
    7   following values:
    8   - toggle: Either a high-to-low or a low-to-high transition clears
    9     the WDT counter. The watchdog timer is disabled when GPIO is
   10     left floating or connected to a three-state buffer.
   11   - level: Low or high level starts counting WDT timeout,
   12     the opposite level disables the WDT. Active level is determined
   13     by the GPIO flags.
   14 - hw_margin_ms: Maximum time to reset watchdog circuit (milliseconds).
   15 
   16 Optional Properties:
   17 - always-running: If the watchdog timer cannot be disabled, add this flag to
   18   have the driver keep toggling the signal without a client. It will only cease
   19   to toggle the signal when the device is open and the timeout elapsed.
   20 
   21 Example:
   22         watchdog: watchdog {
   23                 /* ADM706 */
   24                 compatible = "linux,wdt-gpio";
   25                 gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
   26                 hw_algo = "toggle";
   27                 hw_margin_ms = <1600>;
   28         };

Cache object: c8bac79f2ddfec72b1b90df24ff53e67


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.