openwrt/target/linux/bcm27xx/patches-6.1/950-0561-media-dt-bindings-ak7375-Add-supplies.patch

48 lines
1.3 KiB
Diff
Raw Normal View History

From b076677ea22db8ceb66aa168c82c9c160dc1a9f1 Mon Sep 17 00:00:00 2001
From: Yassine Oudjana <y.oudjana@protonmail.com>
Date: Fri, 9 Dec 2022 17:37:40 +0300
Subject: [PATCH] media: dt-bindings: ak7375: Add supplies
commit 04a79f078329b14f260db15250e84c97022f42cd upstream
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>
Tested-by: Umang Jain <umang.jain@ideasonboard.com>
---
.../bindings/media/i2c/asahi-kasei,ak7375.yaml | 11 +++++++++++
1 file changed, 11 insertions(+)
--- a/Documentation/devicetree/bindings/media/i2c/asahi-kasei,ak7375.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/asahi-kasei,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>;
};
};