Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/onnn,lc898129.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/i2c/onnn,lc898129.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: onsemi LC898129 camera lens autofocus and stabilisation controller

maintainers:
- cbm <omarchy-mobile@kloot.lu>

description:
The onsemi LC898129 is a microcontroller that drives a camera module's
focus and optical image stabilisation actuators and holds the module's
calibration memory, controlled over I2C with 16-bit register addresses
and 32-bit values. It shares the module's supplies and reset with the
image sensor, which powers it while streaming (the sensor's lens-focus
property). It is the controller of the Google Pixel 9a's main camera
module.

properties:
compatible:
const: onnn,lc898129

reg:
maxItems: 1

vio-supply:
description: Interface (1.8 V) supply.

vm-supply:
description: Actuator driver supply (VM).

vdda-supply:
description: Actuator driver analogue supply (VDDA).

required:
- compatible
- reg

additionalProperties: false

examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;

lens@24 {
compatible = "onnn,lc898129";
reg = <0x24>;
vio-supply = <&vddio_cam>;
};
};
11 changes: 11 additions & 0 deletions drivers/media/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,17 @@ config VIDEO_SEM1215
To compile this driver as a module, choose M here: the
module will be called sem1215.

config VIDEO_LC898129
tristate "onsemi LC898129 lens focus support"
select V4L2_CCI_I2C
help
This is a driver for the focus part of the onsemi LC898129
autofocus and image stabilisation controller, as in the Google
Pixel 9a's main camera.

To compile this driver as a module, choose M here: the
module will be called lc898129.

endif

menu "Flash devices"
Expand Down
1 change: 1 addition & 0 deletions drivers/media/i2c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ obj-$(CONFIG_VIDEO_IMX471) += imx471.o
obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o
obj-$(CONFIG_VIDEO_ISL7998X) += isl7998x.o
obj-$(CONFIG_VIDEO_KS0127) += ks0127.o
obj-$(CONFIG_VIDEO_LC898129) += lc898129.o
obj-$(CONFIG_VIDEO_LM3560) += lm3560.o
obj-$(CONFIG_VIDEO_LM3646) += lm3646.o
obj-$(CONFIG_VIDEO_LT6911UXE) += lt6911uxe.o
Expand Down
Loading