summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Klinger <ak@it-klinger.de>2020-01-20 17:44:55 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-02-14 12:08:23 +0000
commit66053d5d1b74be17b133775a4373888ba227e902 (patch)
treef837a19e047c99f9fe8d7f9a9d84056a31da776e
parent9960c70949d4356abed8747a20637e0946bb0bad (diff)
dt-bindings: devantech-srf04.yaml: add pm feature
Add GPIO line and startup time for usage of power management Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Andreas Klinger <ak@it-klinger.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml b/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml
index 4e80ea7c1475..8afbac24c34e 100644
--- a/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml
+++ b/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml
@@ -51,6 +51,24 @@ properties:
the time between two interrupts is measured in the driver.
maxItems: 1
+ power-gpios:
+ description:
+ Definition of the GPIO for power management of connected peripheral
+ (output).
+ This GPIO can be used by the external hardware for power management.
+ When the device gets suspended it's switched off and when it resumes
+ it's switched on again. After some period of inactivity the driver
+ get suspended automatically (autosuspend feature).
+ maxItems: 1
+
+ startup-time-ms:
+ description:
+ This is the startup time the device needs after a resume to be up and
+ running.
+ minimum: 0
+ maximum: 1000
+ default: 100
+
required:
- compatible
- trig-gpios