diff mbox series

[2/3] media: dt-bindings: ak7375: Add supplies

Message ID 20220711042838.213351-3-y.oudjana@protonmail.com (mailing list archive)
State New, archived
Headers show
Series media: i2c: ak7375: Add regulator management | expand

Commit Message

Yassine Oudjana July 11, 2022, 4:28 a.m. UTC
From: Yassine Oudjana <y.oudjana@protonmail.com>

Add supply properties to describe regulators needed to power
the AK7375 VCM.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
---
 .../devicetree/bindings/media/i2c/ak7375.yaml         | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Krzysztof Kozlowski July 11, 2022, 11:42 a.m. UTC | #1
On 11/07/2022 06:28, Yassine Oudjana wrote:
> From: Yassine Oudjana <y.oudjana@protonmail.com>
> 
> Add supply properties to describe regulators needed to power
> the AK7375 VCM.
> 
> Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
> ---


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/i2c/ak7375.yaml b/Documentation/devicetree/bindings/media/i2c/ak7375.yaml
index 4fc216846ae7..baa91de55927 100644
--- a/Documentation/devicetree/bindings/media/i2c/ak7375.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ak7375.yaml
@@ -20,9 +20,17 @@  properties:
   reg:
     maxItems: 1
 
+  vdd-supply:
+    description: VDD supply
+
+  vio-supply:
+    description: I/O pull-up supply
+
 required:
   - compatible
   - reg
+  - vdd-supply
+  - vio-supply
 
 additionalProperties: false
 
@@ -35,6 +43,9 @@  examples:
         ak7375: camera-lens@c {
             compatible = "asahi-kasei,ak7375";
             reg = <0x0c>;
+
+            vdd-supply = <&vreg_l23a_2p8>;
+            vio-supply = <&vreg_lvs1a_1p8>;
         };
     };