[PATCH 4/6] media: dt-bindings: media: i2c: add OmniVision OV12A10

From: Hikmah Gumelar

Date: Mon Nov 23 2026 - 06:08:53 EST


Add Devicetree binding schema for the OmniVision OV12A10 12-megapixel
MIPI CSI-2 CMOS image sensor.

Signed-off-by: Hikmah Gumelar <hikmahgumelar@xxxxxxxxx>
---
.../bindings/media/i2c/ovti,ov12a10.yaml | 115 ++++++++++++++++++
1 file changed, 115 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov12a10.yaml

diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov12a10.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov12a10.yaml
new file mode 100644
index 000000000000..6919277c2b3f
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov12a10.yaml
@@ -0,0 +1,115 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org
+$schema: http://devicetree.org
+
+title: OmniVision OV12A10 1/2.8-inch 12Mp CMOS Image Sensor
+
+maintainers:
+ - Hikmah Gumelar <hikmahgumelar@xxxxxxxxx>
+
+description:
+ OmniVision OV12A10 is a 1/2.8-inch 12-megapixel CMOS active-pixel digital
+ image sensor with a 4-lane MIPI CSI-2 interface and I2C control bus.
+
+allOf:
+ - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+ compatible:
+ const: ovti,ov12a10
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ reset-gpios:
+ description: Active-low reset GPIO.
+ maxItems: 1
+
+ pwdn-gpios:
+ description: Active-low power-down GPIO.
+ maxItems: 1
+
+ vana-gpios:
+ description: Active-high analog power enable GPIO.
+ maxItems: 1
+
+ avdd-supply:
+ description: Analog power supply (2.8V).
+
+ dvdd-supply:
+ description: Digital core power supply (1.2V).
+
+ dovdd-supply:
+ description: Digital I/O power supply (1.8V).
+
+ port:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ additionalProperties: false
+
+ properties:
+ endpoint:
+ $ref: /schemas/media/video-interfaces.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ data-lanes:
+ items:
+ - const: 0
+ - const: 1
+ - const: 2
+ - const: 3
+
+ link-frequencies: true
+
+ required:
+ - data-lanes
+ - link-frequencies
+
+ required:
+ - endpoint
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - avdd-supply
+ - dvdd-supply
+ - dovdd-supply
+ - port
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera-sensor@10 {
+ compatible = "ovti,ov12a10";
+ reg = <0x10>;
+ clocks = <&camss_mclk0>;
+ reset-gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
+ pwdn-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
+ vana-gpios = <&tlmm 62 GPIO_ACTIVE_HIGH>;
+ avdd-supply = <&pm8953_l22>;
+ dvdd-supply = <&pm8953_l2>;
+ dovdd-supply = <&pm8953_l6>;
+
+ port {
+ endpoint {
+ data-lanes = <0 1 2 3>;
+ remote-endpoint = <&csiphy0_ep>;
+ link-frequencies = /bits/ 64 <216000000>;
+ };
+ };
+ };
+ };
+...
--
2.47.3