[PATCH v4 1/3] media: dt-bindings: Add LC898217XC documentation
From: Vasiliy Doylov via B4 Relay
Date: Tue Mar 24 2026 - 18:16:35 EST
From: Vasiliy Doylov <nekocwd@xxxxxxxxxxxxxx>
Add device tree bindings documentation for ON Semiconductor
LC898217XC voice coil motor.
Signed-off-by: Vasiliy Doylov <nekocwd@xxxxxxxxxxxxxx>
---
.../bindings/media/i2c/onnn,lc898217xc.yaml | 59 ++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/i2c/onnn,lc898217xc.yaml b/Documentation/devicetree/bindings/media/i2c/onnn,lc898217xc.yaml
new file mode 100644
index 000000000000..3dd137d4c67c
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/onnn,lc898217xc.yaml
@@ -0,0 +1,59 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# Copyright 2025 Vasiliy Doylov <nekocwd@xxxxxxxxxxxxxx>
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/onnn,lc898217xc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ON Semiconductor LC898217XC Voice Coil Motor (VCM) Lens
+
+maintainers:
+ - Vasiliy Doylov <nekocwd@xxxxxxxxxxxxxx>
+
+description:
+ The LC898217XC is a 11-bit digital-to-analog (DAC) converter.
+ VCM current is controlled with a linear mode driver.The DAC is controlled
+ via a 2-wire (I2C-compatible) serial interface that operates at clock
+ rates up to 1MHz. This chip integrates Advanced Actuator Control (AAC)
+ technology and is intended for driving voice coil lenses in camera modules.
+
+properties:
+ compatible:
+ enum:
+ - onnn,lc898217xc
+
+ reg:
+ maxItems: 1
+
+ vana-supply:
+ description:
+ Definition of the regulator used as motor voltage supply.
+
+ vdd-supply:
+ description:
+ Definition of the regulator used as digital core voltage supply.
+
+required:
+ - compatible
+ - reg
+ - vana-supply
+ - vdd-supply
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera-lens@74 {
+ compatible = "onnn,lc898217xc";
+ reg = <0x74>;
+
+ vana-supply = <&mt6358_vaf_reg>;
+ vdd-supply = <&mt6358_vcamio_reg>;
+ };
+ };
+
+...
--
2.50.1