diff options
author | Moritz Fischer <mdf@kernel.org> | 2018-02-22 18:17:13 -0500 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2018-03-09 11:14:32 -0500 |
commit | 88f598725f42c8ad8c6c01c82bd3d667c250e1de (patch) | |
tree | da56ccf7084e4ccd7fc8af9a572fbb53d6cb08f0 | |
parent | 3f5faf3a0667ea39faf7152c5bdd4befb9e483a8 (diff) |
dt-bindings: power: reset: gpio-poweroff: Add 'timeout-ms' property
Add 'timeout-ms' property to support boards where the 3s timeout that the
current driver defaults to is too short.
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
-rw-r--r-- | Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt b/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt index e62d53d844cc..6d8980c18c34 100644 --- a/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt +++ b/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt | |||
@@ -27,10 +27,13 @@ Optional properties: | |||
27 | it to an output when the power-off handler is called. If this optional | 27 | it to an output when the power-off handler is called. If this optional |
28 | property is not specified, the GPIO is initialized as an output in its | 28 | property is not specified, the GPIO is initialized as an output in its |
29 | inactive state. | 29 | inactive state. |
30 | - timeout-ms: Time to wait before asserting a WARN_ON(1). If nothing is | ||
31 | specified, 3000 ms is used. | ||
30 | 32 | ||
31 | Examples: | 33 | Examples: |
32 | 34 | ||
33 | gpio-poweroff { | 35 | gpio-poweroff { |
34 | compatible = "gpio-poweroff"; | 36 | compatible = "gpio-poweroff"; |
35 | gpios = <&gpio 4 0>; | 37 | gpios = <&gpio 4 0>; |
38 | timeout-ms = <3000>; | ||
36 | }; | 39 | }; |