bcm27xx: update 6.1 patches from RPi foundation
[openwrt/staging/xback.git] / target / linux / bcm27xx / patches-6.1 / 950-0561-media-dt-bindings-ak7375-Add-supplies.patch
1 From b076677ea22db8ceb66aa168c82c9c160dc1a9f1 Mon Sep 17 00:00:00 2001
2 From: Yassine Oudjana <y.oudjana@protonmail.com>
3 Date: Fri, 9 Dec 2022 17:37:40 +0300
4 Subject: [PATCH] media: dt-bindings: ak7375: Add supplies
5
6 commit 04a79f078329b14f260db15250e84c97022f42cd upstream
7
8 Add supply properties to describe regulators needed to power
9 the AK7375 VCM.
10
11 Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
12 Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
13 Tested-by: Umang Jain <umang.jain@ideasonboard.com>
14 ---
15 .../bindings/media/i2c/asahi-kasei,ak7375.yaml | 11 +++++++++++
16 1 file changed, 11 insertions(+)
17
18 --- a/Documentation/devicetree/bindings/media/i2c/asahi-kasei,ak7375.yaml
19 +++ b/Documentation/devicetree/bindings/media/i2c/asahi-kasei,ak7375.yaml
20 @@ -20,9 +20,17 @@ properties:
21 reg:
22 maxItems: 1
23
24 + vdd-supply:
25 + description: VDD supply
26 +
27 + vio-supply:
28 + description: I/O pull-up supply
29 +
30 required:
31 - compatible
32 - reg
33 + - vdd-supply
34 + - vio-supply
35
36 additionalProperties: false
37
38 @@ -35,6 +43,9 @@ examples:
39 ak7375: camera-lens@c {
40 compatible = "asahi-kasei,ak7375";
41 reg = <0x0c>;
42 +
43 + vdd-supply = <&vreg_l23a_2p8>;
44 + vio-supply = <&vreg_lvs1a_1p8>;
45 };
46 };
47