5ea162577c8e24b660c6aa0f544f07837268f2c5
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-6.1 / 950-1194-media-dt-bindings-i2c-Add-Rohm-BU64754-bindings.patch
1 From 31c2999e543c245f7b96af3e73cd18e1036bfe7b Mon Sep 17 00:00:00 2001
2 From: Kieran Bingham <kieran.bingham@ideasonboard.com>
3 Date: Thu, 14 Sep 2023 17:03:24 +0100
4 Subject: [PATCH] media: dt-bindings: i2c: Add Rohm BU64754 bindings
5
6 Add YAML device tree bindings for the ROHM BU64754 VCM Motor Driver for
7 Camera Autofocus.
8
9 Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
10 Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
11 ---
12 .../bindings/media/i2c/rohm,bu64754.yaml | 48 +++++++++++++++++++
13 MAINTAINERS | 7 +++
14 2 files changed, 55 insertions(+)
15 create mode 100644 Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml
16
17 --- /dev/null
18 +++ b/Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml
19 @@ -0,0 +1,48 @@
20 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
21 +# Copyright (C) 2023 Ideas on Board Oy.
22 +%YAML 1.2
23 +---
24 +$id: http://devicetree.org/schemas/media/i2c/rohm,bu64754.yaml#
25 +$schema: http://devicetree.org/meta-schemas/core.yaml#
26 +
27 +title: ROHM BU64754 Actuator Driver for Camera Autofocus
28 +
29 +maintainers:
30 + - Kieran Bingham <kieran.bingham@ideasonboard.com>
31 +
32 +description: |
33 + The BU64754GWZ is an actuator driver IC which can control the actuator
34 + position precisely using an internal Hall Sensor.
35 +
36 +properties:
37 + compatible:
38 + items:
39 + - enum:
40 + - rohm,bu64754
41 +
42 + reg:
43 + maxItems: 1
44 +
45 + vdd-supply:
46 + description:
47 + Definition of the regulator used as VDD power supply to the driver.
48 +
49 +required:
50 + - compatible
51 + - reg
52 +
53 +additionalProperties: false
54 +
55 +examples:
56 + - |
57 + i2c {
58 + #address-cells = <1>;
59 + #size-cells = <0>;
60 +
61 + lens@76 {
62 + compatible = "rohm,bu64754";
63 + reg = <0x76>;
64 + vdd-supply = <&cam1_reg>;
65 + };
66 + };
67 +...
68 --- a/MAINTAINERS
69 +++ b/MAINTAINERS
70 @@ -17897,6 +17897,13 @@ S: Maintained
71 F: Documentation/devicetree/bindings/iio/light/bh1750.yaml
72 F: drivers/iio/light/bh1750.c
73
74 +ROHM BU64754 MOTOR DRIVER FOR CAMERA AUTOFOCUS
75 +M: Kieran Bingham <kieran.bingham@ideasonboard.com>
76 +L: linux-media@vger.kernel.org
77 +S: Maintained
78 +T: git git://linuxtv.org/media_tree.git
79 +F: Documentation/devicetree/bindings/media/i2c/rohm,bu64754.yaml
80 +
81 ROHM MULTIFUNCTION BD9571MWV-M PMIC DEVICE DRIVERS
82 M: Marek Vasut <marek.vasut+renesas@gmail.com>
83 L: linux-kernel@vger.kernel.org