|
@@ -27,10 +27,13 @@ Optional properties:
|
|
it to an output when the power-off handler is called. If this optional
|
|
it to an output when the power-off handler is called. If this optional
|
|
property is not specified, the GPIO is initialized as an output in its
|
|
property is not specified, the GPIO is initialized as an output in its
|
|
inactive state.
|
|
inactive state.
|
|
|
|
+- timeout-ms: Time to wait before asserting a WARN_ON(1). If nothing is
|
|
|
|
+ specified, 3000 ms is used.
|
|
|
|
|
|
Examples:
|
|
Examples:
|
|
|
|
|
|
gpio-poweroff {
|
|
gpio-poweroff {
|
|
compatible = "gpio-poweroff";
|
|
compatible = "gpio-poweroff";
|
|
gpios = <&gpio 4 0>;
|
|
gpios = <&gpio 4 0>;
|
|
|
|
+ timeout-ms = <3000>;
|
|
};
|
|
};
|