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

* Re: [PATCH 2/3] media: dt-bindings: Add OmniVision OV13B10
  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-20 21:40 ` [PATCH " Sakari Ailus
  1 sibling, 1 reply; 9+ messages in thread
From: Sakari Ailus @ 2026-03-20 21:39 UTC (permalink / raw)
  To: Antoine Bernard
  Cc: Arec Kao, Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Liam Girdwood, Mark Brown,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht

Hi Antoine,

On Fri, Mar 20, 2026 at 09:27:18AM +0000, Antoine Bernard wrote:
> 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.

Typically this is called "external clock" or something like that.

> +    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

These two you can drop I believe.

> +
> +        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>;
> +                };
> +            };
> +        };
> +    };
> +...

-- 
Kind regrads,

Sakari Ailus

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

* Re: [PATCH 2/3] media: dt-bindings: Add OmniVision OV13B10
  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-20 21:40 ` Sakari Ailus
  1 sibling, 0 replies; 9+ messages in thread
From: Sakari Ailus @ 2026-03-20 21:40 UTC (permalink / raw)
  To: Antoine Bernard
  Cc: Arec Kao, Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Liam Girdwood, Mark Brown,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht

One more thing...

On Fri, Mar 20, 2026 at 09:27:18AM +0000, Antoine Bernard wrote:
> +maintainers:
> +  - Arec Kao <arec.kao@intel.com>

I think you should put your own name here unless you have agreed
something else with Arec.

-- 
Sakari Ailus

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

* [PATCH v2 2/3] media: dt-bindings: Add OmniVision OV13B10
  2026-03-20 21:39 ` Sakari Ailus
@ 2026-03-21  4:36   ` Antoine Bernard
  2026-03-21 10:25     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 9+ messages in thread
From: Antoine Bernard @ 2026-03-21  4:36 UTC (permalink / raw)
  To: Sakari Ailus
  Cc: Arec Kao, Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Liam Girdwood, Mark Brown,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht

Document the device tree bindings for OmniVision OV13B10 image
sensor.

Signed-off-by: Antoine Bernard <zalnir@proton.me>

---
v2:
- Rename to "external clock".
- Drop link-frequencies and remote-endpoint.
- Set maintainer as myself.
---
 .../bindings/media/i2c/ovti,ov13b10.yaml      | 94 +++++++++++++++++++
 1 file changed, 94 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..b96b3683bc71
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov13b10.yaml
@@ -0,0 +1,94 @@
+# 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:
+  - Antoine Bernard <zalnir@proton.me>
+
+allOf:
+  - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+  compatible:
+    const: ovti,ov13b10
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    description: External 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]
+
+        required:
+          - data-lanes
+
+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

* Re: [PATCH v2 2/3] media: dt-bindings: Add OmniVision OV13B10
  2026-03-21  4:36   ` [PATCH v2 " Antoine Bernard
@ 2026-03-21 10:25     ` Krzysztof Kozlowski
  2026-03-21 11:52       ` Antoine Bernard
  0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-21 10:25 UTC (permalink / raw)
  To: Antoine Bernard
  Cc: Sakari Ailus, Arec Kao, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Liam Girdwood, Mark Brown,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht

On Sat, Mar 21, 2026 at 04:36:09AM +0000, Antoine Bernard wrote:
> Document the device tree bindings for OmniVision OV13B10 image
> sensor.
> 
> Signed-off-by: Antoine Bernard <zalnir@proton.me>
> 
> ---

There is no 1/3 and 3/3 in this posting. There is v1 though...

Do not attach (thread) your patchsets to some other threads (unrelated
or older versions). This buries them deep in the mailbox and might
interfere with applying entire sets. See also:
https://elixir.bootlin.com/linux/v6.16-rc2/source/Documentation/process/submitting-patches.rst#L830


> v2:
> - Rename to "external clock".
> - Drop link-frequencies and remote-endpoint.
> - Set maintainer as myself.
> ---
>  .../bindings/media/i2c/ovti,ov13b10.yaml      | 94 +++++++++++++++++++

Looks exactly as ovti,ov08x40, no? Why another file is needed?

Best regards,
Krzysztof


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

* Re: [PATCH v2 2/3] media: dt-bindings: Add OmniVision OV13B10
  2026-03-21 10:25     ` Krzysztof Kozlowski
@ 2026-03-21 11:52       ` Antoine Bernard
  2026-03-21 11:57         ` Krzysztof Kozlowski
  0 siblings, 1 reply; 9+ messages in thread
From: Antoine Bernard @ 2026-03-21 11:52 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Sakari Ailus, Arec Kao, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Liam Girdwood, Mark Brown,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht

> Do not attach (thread) your patchsets to some other threads
> (unrelated or older versions).

Sorry about that, I'll resend all patches in the series from now on.

> Looks exactly as ovti,ov08x40, no? Why another file is needed?

I kind of agree, ovti,ov08x40 looks the same. In fact, ovti,ov* documentations all look similar. I made it because after adding the dt of_match in the sensor driver, the validation script warned me that the related documentation is missing. If it is possible to have one documentation for different sensors, then I don't think this is needed.

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

* Re: [PATCH v2 2/3] media: dt-bindings: Add OmniVision OV13B10
  2026-03-21 11:52       ` Antoine Bernard
@ 2026-03-21 11:57         ` Krzysztof Kozlowski
  2026-03-21 12:02           ` Antoine Bernard
  0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-21 11:57 UTC (permalink / raw)
  To: Antoine Bernard
  Cc: Sakari Ailus, Arec Kao, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Liam Girdwood, Mark Brown,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht

On 21/03/2026 12:52, Antoine Bernard wrote:
>> Do not attach (thread) your patchsets to some other threads
>> (unrelated or older versions).
> 
> Sorry about that, I'll resend all patches in the series from now on.
> 
>> Looks exactly as ovti,ov08x40, no? Why another file is needed?
> 
> I kind of agree, ovti,ov08x40 looks the same. In fact, ovti,ov* documentations all look similar. I made it because after adding the dt of_match in the sensor driver, the validation script warned me that the related documentation is missing. If it is possible to have one documentation for different sensors, then I don't think this is needed.

Please wrap your emails.

If the hardware has the same properties, just document it in existing file.

Best regards,
Krzysztof

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

* Re: [PATCH v2 2/3] media: dt-bindings: Add OmniVision OV13B10
  2026-03-21 11:57         ` Krzysztof Kozlowski
@ 2026-03-21 12:02           ` Antoine Bernard
  2026-03-21 12:54             ` Krzysztof Kozlowski
  0 siblings, 1 reply; 9+ messages in thread
From: Antoine Bernard @ 2026-03-21 12:02 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Sakari Ailus, Arec Kao, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Liam Girdwood, Mark Brown,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht

> Please wrap your emails.

Sorry, I noticed that after sending.

> If the hardware has the same properties

As of my understanding they are different hardware, can I really use
the documentation for another hardware?

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

* Re: [PATCH v2 2/3] media: dt-bindings: Add OmniVision OV13B10
  2026-03-21 12:02           ` Antoine Bernard
@ 2026-03-21 12:54             ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-21 12:54 UTC (permalink / raw)
  To: Antoine Bernard
  Cc: Sakari Ailus, Arec Kao, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Liam Girdwood, Mark Brown,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht

On 21/03/2026 13:02, Antoine Bernard wrote:
>> Please wrap your emails.
> 
> Sorry, I noticed that after sending.
> 
>> If the hardware has the same properties
> 
> As of my understanding they are different hardware, can I really use
> the documentation for another hardware?

I asked to document it.

Best regards,
Krzysztof

^ permalink raw reply	[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