Proposed bindings for a GPIO watchdog drivers
Alexander Morozov
etesial at gmail.com
Wed Mar 27 03:04:30 EST 2013
Hello,
I've written a watchdog driver for simple chips that are connected via
GPIO. Driver can be used with chips from different manufacturers.
Should "compatible" property be set to "gpio-wdt" or
"generic,gpio-wdt"? Are there any other problems with following
bindings?
---------
Required properties:
- compatible: must be "generic,gpio-wdt".
- gpios: gpio pin to use
- ping-sec: how often to ping the watchdog before userspace watchdog
daemon is started,
- timeout-sec: watchdog timeout that is reported to userspace.
Example:
max6369 {
compatible = "generic,gpio-wdt";
gpios = <&pioB 13 0>;
ping-sec = <5>;
timeout-sec = <60>;
};
Regards,
Alexander Morozov.
More information about the devicetree-discuss
mailing list