Commit 29d7b36c authored by Dan Murphy's avatar Dan Murphy Committed by Mark Brown

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: default avatarDan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200923132600.10652-1-dmurphy@ti.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent a3f18f82
...@@ -29,6 +29,9 @@ properties: ...@@ -29,6 +29,9 @@ properties:
reset-gpio: reset-gpio:
description: GPIO used to reset the device. description: GPIO used to reset the device.
shutdown-gpios:
description: GPIO used to control the state of the device.
interrupts: interrupts:
maxItems: 1 maxItems: 1
...@@ -69,6 +72,7 @@ examples: ...@@ -69,6 +72,7 @@ examples:
interrupt-parent = <&gpio1>; interrupt-parent = <&gpio1>;
interrupts = <14>; interrupts = <14>;
reset-gpio = <&gpio1 15 0>; reset-gpio = <&gpio1 15 0>;
shutdown-gpios = <&gpio1 14 0>;
ti,imon-slot-no = <0>; ti,imon-slot-no = <0>;
ti,vmon-slot-no = <2>; ti,vmon-slot-no = <2>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment