aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Murphy <[email protected]>2020-09-23 08:25:55 -0500
committerMark Brown <[email protected]>2020-09-23 18:48:00 +0100
commit29d7b36ce98eb1bfba2c5c9b2ea0d58ff778a2d4 (patch)
tree0c074ed5d7e192d7c6359c65c06d05e0139fbe72
parenta3f18f82a2baf7b4fe434b96ad644a541e6c8c12 (diff)
dt-bindings: tas2770: Add shutdown gpio property
Add the shutdown-gpios property to the yaml to define the GPIO that can be used to place the device in shutdown mode or wake the device up. Signed-off-by: Dan Murphy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/sound/tas2770.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/tas2770.yaml b/Documentation/devicetree/bindings/sound/tas2770.yaml
index bb26d081c9fa..9fdf614add55 100644
--- a/Documentation/devicetree/bindings/sound/tas2770.yaml
+++ b/Documentation/devicetree/bindings/sound/tas2770.yaml
@@ -29,6 +29,9 @@ properties:
reset-gpio:
description: GPIO used to reset the device.
+ shutdown-gpios:
+ description: GPIO used to control the state of the device.
+
interrupts:
maxItems: 1
@@ -69,6 +72,7 @@ examples:
interrupt-parent = <&gpio1>;
interrupts = <14>;
reset-gpio = <&gpio1 15 0>;
+ shutdown-gpios = <&gpio1 14 0>;
ti,imon-slot-no = <0>;
ti,vmon-slot-no = <2>;
};