media: dt-bindings: i2c: Add Rohm BU64754 bindings
[platform/kernel/linux-rpi.git] / Documentation / devicetree / bindings / media / i2c / rohm,bu64754.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2023 Ideas on Board Oy.
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/media/i2c/rohm,bu64754.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: ROHM BU64754 Actuator Driver for Camera Autofocus
9
10 maintainers:
11   - Kieran Bingham <kieran.bingham@ideasonboard.com>
12
13 description: |
14   The BU64754GWZ is an actuator driver IC which can control the actuator
15   position precisely using an internal Hall Sensor.
16
17 properties:
18   compatible:
19     items:
20       - enum:
21           - rohm,bu64754
22
23   reg:
24     maxItems: 1
25
26   vdd-supply:
27     description:
28       Definition of the regulator used as VDD power supply to the driver.
29
30 required:
31   - compatible
32   - reg
33
34 additionalProperties: false
35
36 examples:
37   - |
38     i2c {
39         #address-cells = <1>;
40         #size-cells = <0>;
41
42         lens@76 {
43             compatible = "rohm,bu64754";
44             reg = <0x76>;
45             vdd-supply = <&cam1_reg>;
46         };
47     };
48 ...