[PATCH 7/8] dt-bindings: media: i2c: Add ON Semiconductor LC898123F40
From: Gaurav Suman via B4 Relay
Date: Mon Nov 09 2026 - 17:39:37 EST
From: Gaurav Suman <gauravsuman007@xxxxxxxxx>
Add bindings for the LC898123F40 optical image stabilisation and
autofocus controller, used in the main camera module of the LG G8x
ThinQ.
This was written and tested with the help of an AI coding assistant
(Claude Opus 5.5, Anthropic); I reviewed the change and the results.
Signed-off-by: Gaurav Suman <gauravsuman007@xxxxxxxxx>
---
.../bindings/media/i2c/onnn,lc898123f40.yaml | 46 ++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/i2c/onnn,lc898123f40.yaml b/Documentation/devicetree/bindings/media/i2c/onnn,lc898123f40.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..ac0ab6a8793547a5a3617b75bcc590a1e01af602
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/onnn,lc898123f40.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/onnn,lc898123f40.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ON Semiconductor LC898123F40 OIS and autofocus controller
+
+maintainers:
+ - Gaurav Suman <gauravsuman007@xxxxxxxxx>
+
+description:
+ The LC898123F40 is an optical image stabilisation and autofocus
+ controller with built-in flash memory for its firmware, controlled over
+ I2C. It drives the voice coil motors of a camera module. Only the
+ autofocus (lens position) function is described here.
+
+properties:
+ compatible:
+ const: onnn,lc898123f40
+
+ reg:
+ maxItems: 1
+
+ vdd-supply:
+ description: Supply for the controller and the voice coil motors.
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera-lens@3e {
+ compatible = "onnn,lc898123f40";
+ reg = <0x3e>;
+ vdd-supply = <&vreg_2p8>;
+ };
+ };
+...
--
2.49.1