bcm27xx: add support for linux v5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.15 / 950-0772-dt-bindings-media-i2c-Add-binding-for-ad5398-VCM.patch
1 From 135a74ae1814a1ae310d2f1faa19efe06bbfa964 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Wed, 29 Sep 2021 12:33:35 +0100
4 Subject: [PATCH] dt-bindings: media: i2c: Add binding for ad5398 VCM
5
6 Add a binding for Analog Devices AD5398 10bit current
7 sinking DAC when used as a lens VCM driver.
8
9 FIXME: Convert to YAML
10
11 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
12 ---
13 .../devicetree/bindings/media/i2c/ad5398.txt | 20 +++++++++++++++++++
14 1 file changed, 20 insertions(+)
15 create mode 100644 Documentation/devicetree/bindings/media/i2c/ad5398.txt
16
17 --- /dev/null
18 +++ b/Documentation/devicetree/bindings/media/i2c/ad5398.txt
19 @@ -0,0 +1,20 @@
20 +* Analog Devices AD5398 autofocus coil
21 +
22 +Required Properties:
23 +
24 + - compatible: Must contain one of:
25 + - "adi,ad5398"
26 +
27 + - reg: I2C slave address
28 +
29 + - VANA-supply: supply of voltage for VANA pin
30 +
31 +Example:
32 +
33 + ad5398: coil@c {
34 + compatible = "adi,ad5398";
35 + reg = <0x0c>;
36 +
37 + VANA-supply = <&vaux4>;
38 + };
39 +