[RFC PATCH 1/8] dt-bindings: media: Add bindings for Omnivision OV2312
From: Rishikesh Donadkar
Date: Fri Sep 25 2026 - 09:34:12 EST
From: Jai Luthra <j-luthra@xxxxxx>
Add DT bindings for Omnivision OV2312 camera sensor.
Signed-off-by: Jai Luthra <j-luthra@xxxxxx>
Signed-off-by: Rishikesh Donadkar <r-donadkar@xxxxxx>
---
.../bindings/media/i2c/ovti,ov2312.yaml | 79 +++++++++++++++++++
1 file changed, 79 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov2312.yaml
diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov2312.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov2312.yaml
new file mode 100644
index 000000000000..76929fcc6550
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov2312.yaml
@@ -0,0 +1,79 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/ovti,ov2312.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: OmniVision OV2312 Camera Sensor
+
+maintainers:
+ - Jai Luthra <j-luthra@xxxxxx>
+
+description: |-
+ Omnvision OV2312 is a camera sensor with an active array size of 1600x1300.
+ It supports capture of frames with a 4x4 RGB-IR bayer pattern. This provides
+ both human (RGB) and machine vision (IR) capabilities in low-light scenarios.
+
+properties:
+ compatible:
+ enum:
+ - ovti,ov2312
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ const: xvclk
+
+ reset-gpios:
+ maxItems: 1
+ description:
+ Specifier for the GPIO connected to the RESET pin.
+
+ port:
+ $ref: /schemas/graph.yaml#/properties/port
+ additionalProperties: false
+
+ properties:
+ endpoint:
+ $ref: ../video-interfaces.yaml#
+ unevaluatedProperties: false
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - port
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera@60 {
+ compatible = "ovti,ov2312";
+ reg = <0x60>;
+
+ clocks = <&fixed_clock>;
+ clock-names = "xvclk";
+
+ reset-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
+
+ port {
+ camera1: endpoint {
+ remote-endpoint = <&vin1a_ep>;
+ };
+ };
+ };
+ };
+
+...
--
2.34.1