[PATCH 1/4] media: ov2680: dt: add voltage supplies as required

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The ov2680 needs to control 3 regulators for the voltage supplies and that was
missing by the first description, added their description and example here.

Signed-off-by: Rui Miguel Silva <rui.silva@xxxxxxxxxx>
---
 Documentation/devicetree/bindings/media/i2c/ov2680.txt | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/ov2680.txt b/Documentation/devicetree/bindings/media/i2c/ov2680.txt
index 0e29f1a113c0..e5d8f130309d 100644
--- a/Documentation/devicetree/bindings/media/i2c/ov2680.txt
+++ b/Documentation/devicetree/bindings/media/i2c/ov2680.txt
@@ -4,6 +4,9 @@ Required Properties:
 - compatible: should be "ovti,ov2680".
 - clocks: reference to the xvclk input clock.
 - clock-names: should be "xvclk".
+- DOVDD-supply: Digital I/O voltage supply.
+- DVDD-supply: Digital core voltage supply.
+- AVDD-supply: Analog voltage supply.
 
 Optional Properties:
 - powerdown-gpios: reference to the GPIO connected to the powerdown pin,
@@ -18,7 +21,7 @@ Endpoint node required properties for CSI-2 connection are:
 - remote-endpoint: a phandle to the bus receiver's endpoint node.
 - clock-lanes: should be set to <0> (clock lane on hardware lane 0).
 - data-lanes: should be set to <1> (one CSI-2 lane supported).
- 
+
 Example:
 
 &i2c2 {
@@ -28,6 +31,9 @@ Example:
 		clocks = <&osc>;
 		clock-names = "xvclk";
 		powerdown-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
+		DOVDD-supply = <&sw2_reg>;
+		DVDD-supply = <&sw2_reg>;
+		AVDD-supply = <&reg_peri_3p15v>;
 
 		port {
 			ov2680_mipi_ep: endpoint {
-- 
2.17.0




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux