Skip to content

Commit

Permalink
media: ad5820: DT new optional field enable-gpios
Browse files Browse the repository at this point in the history
Document new enable-gpio field. It can be used to disable the part
without turning down its regulator.

Cc: [email protected]
Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
ribalda authored and mchehab committed Oct 24, 2019
1 parent 801ef7c commit 219ea61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/ad5820.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@ 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 {
compatible = "adi,ad5820";
reg = <0x0c>;

VANA-supply = <&vaux4>;
enable-gpios = <&msmgpio 26 GPIO_ACTIVE_HIGH>;
};

0 comments on commit 219ea61

Please sign in to comment.