diff mbox series

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

Message ID 20180507155655.1555-2-rui.silva@linaro.org
State New
Headers show
Series media: ov2680: follow up from initial version | expand

Commit Message

Rui Miguel Silva May 7, 2018, 3:56 p.m. UTC
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@linaro.org>

---
 Documentation/devicetree/bindings/media/i2c/ov2680.txt | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

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 {