ad5820: DT new optional field enable-gpios
Subsystems (2)
PATCH v6 2/6 ad5820: DT new optional field enable-gpios
Document new enable-gpio field. It can be used to disable the part without turning down its regulator.
Signed-off-by Ricardo Ribalda Delgado <[email protected]>
Acked-by Pavel Machek <[email protected]>
--- Documentation/devicetree/bindings/media/i2c/ad5820.txt | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/media/i2c/ad5820.txt +6 -0
@@ -8,6 +8,11 @@ Required Properties: - VANA-supply: supply of voltage for VANA pin +Optional properties: + + - enable-gpios : GPIO spec for the XSHUTDOWN pin. The XSHUTDOWN signal is +active low, a high level on the pin enables the device. + Example: ad5820: coil@c {
@@ -15,5 +20,6 @@ Example: reg = <0x0c>; VANA-supply = <&vaux4>; + enable-gpios = <&msmgpio 26 GPIO_ACTIVE_HIGH>; };
Signature · 1 line
2.19.0
Hi Ricardo,
Thank you for the patch.
Quoted 6 lines · On Tuesday, 2 October 2018 14:13:56 EEST Ricardo Ribalda Delgado wrote:
Document new enable-gpio field. It can be used to disable the part without turning down its regulator.
Signed-off-by Ricardo Ribalda Delgado <[email protected]>Acked-by Pavel Machek <[email protected]>
Reviewed-by Laurent Pinchart <[email protected]>
Quoted 27 lines
--- Documentation/devicetree/bindings/media/i2c/ad5820.txt | 6 ++++++ 1 file changed, 6 insertions(+)(quoted diff) +0
-0
b/Documentation/devicetree/bindings/media/i2c/ad5820.txtindex5940ca11c021..db596e8eb0ba100644Documentation/devicetree/bindings/media/i2c/ad5820.txt +3
-0@@ -8,6 +8,11 @@ Required Properties: - VANA-supply: supply of voltage for VANA pin +Optional properties: + + - enable-gpios : GPIO spec for the XSHUTDOWN pin. The XSHUTDOWN signalis +active low, a high level on the pin enables the device.
Documentation/devicetree/bindings/media/i2c/ad5820.txt +2
-0+ Example: ad5820: coil@c {@@ -15,5 +20,6 @@ Example: reg = <0x0c>; VANA-supply = <&vaux4>; + enable-gpios = <&msmgpio 26 GPIO_ACTIVE_HIGH>; };
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 10 lines · Ricardo Ribalda Delgado
Document new enable-gpio field. It can be used to disable the part without turning down its regulator.
Signed-off-by Ricardo Ribalda Delgado <[email protected]>Acked-by Pavel Machek <[email protected]>--- Documentation/devicetree/bindings/media/i2c/ad5820.txt | 6 ++++++ 1 file changed, 6 insertions(+)
Reviewed-by Rob Herring <[email protected]>