public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] media: dt-bindings: Add OmniVision OV13B10
@ 2026-03-20  9:27 Antoine Bernard
  2026-03-20 21:39 ` Sakari Ailus
  2026-03-20 21:40 ` [PATCH " Sakari Ailus
  0 siblings, 2 replies; 9+ messages in thread
From: Antoine Bernard @ 2026-03-20  9:27 UTC (permalink / raw)
  To: Arec Kao, Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Sakari Ailus, Liam Girdwood, Mark Brown,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
  Cc: ~postmarketos/upstreaming@lists.sr.ht

From: Antoine Bernard <zalnir@proton.me>

Document the device tree bindings for OmniVision OV13B10 image
sensor.

Signed-off-by: Antoine Bernard <zalnir@proton.me>
---
 .../bindings/media/i2c/ovti,ov13b10.yaml      | 99 +++++++++++++++++++
 1 file changed, 99 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov13b10.yaml

diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov13b10.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov13b10.yaml
new file mode 100644
index 000000000000..4d6432488b79
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov13b10.yaml
@@ -0,0 +1,99 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/ovti,ov13b10.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Omnivision ov13b10 image sensor
+
+maintainers:
+  - Arec Kao <arec.kao@intel.com>
+
+allOf:
+  - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+  compatible:
+    const: ovti,ov13b10
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    description: System clock.
+    maxItems: 1
+
+  reset-gpios:
+    description: GPIO connected to the XSHUTDOWN pin. Active low.
+    maxItems: 1
+
+  avdd-supply:
+    description: Analog circuit voltage supply.
+
+  dvdd-supply:
+    description: Digital circuit voltage supply.
+
+  dovdd-supply:
+    description: Digital I/O circuit voltage supply.
+
+  port:
+    $ref: /schemas/graph.yaml#/$defs/port-base
+    additionalProperties: false
+
+    properties:
+      endpoint:
+        $ref: /schemas/media/video-interfaces.yaml#
+        additionalProperties: false
+
+        properties:
+          data-lanes:
+            minItems: 1
+            maxItems: 4
+            items:
+              enum: [1, 2, 3, 4]
+
+          link-frequencies: true
+          remote-endpoint: true
+
+        required:
+          - data-lanes
+          - link-frequencies
+          - remote-endpoint
+
+required:
+  - compatible
+  - reg
+  - clocks
+  - port
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        ov13b10: camera@36 {
+            compatible = "ovti,ov13b10";
+            reg = <0x36>;
+
+            clocks = <&sensor_xclk>;
+            reset-gpios = <&gpio 117 GPIO_ACTIVE_LOW>;
+
+            avdd-supply = <&ov13b10_avdd>;
+            dvdd-supply = <&ov13b10_dvdd>;
+            dovdd-supply = <&ov13b10_dovdd>;
+
+            port {
+                ov13b10_ep: endpoint {
+                    data-lanes = <1 2 3 4>;
+                    link-frequencies = /bits/ 64 <560000000>;
+                    remote-endpoint = <&csiphy_ep>;
+                };
+            };
+        };
+    };
+...
-- 
2.52.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-03-21 12:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20  9:27 [PATCH 2/3] media: dt-bindings: Add OmniVision OV13B10 Antoine Bernard
2026-03-20 21:39 ` Sakari Ailus
2026-03-21  4:36   ` [PATCH v2 " Antoine Bernard
2026-03-21 10:25     ` Krzysztof Kozlowski
2026-03-21 11:52       ` Antoine Bernard
2026-03-21 11:57         ` Krzysztof Kozlowski
2026-03-21 12:02           ` Antoine Bernard
2026-03-21 12:54             ` Krzysztof Kozlowski
2026-03-20 21:40 ` [PATCH " Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox