From: George Neacsu via B4 Relay <devnull+geocausa.gmail.com@kernel.org>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sergey Lebedev <lsa.uz@pm.me>,
German Pablo Lindo <germanpapulindez@gmail.com>,
Bryan O'Donoghue <bod@kernel.org>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
George Neacsu <geocausa@gmail.com>
Subject: [PATCH 1/2] dt-bindings: media: i2c: Add OmniVision OV13858
Date: Thu, 15 Oct 2026 22:48:19 +0100 [thread overview]
Message-ID: <20261015-ov13858-x1e-v1-1-acdd918f4fb6@gmail.com> (raw)
In-Reply-To: <20261015-ov13858-x1e-v1-0-acdd918f4fb6@gmail.com>
From: George Neacsu <geocausa@gmail.com>
The OV13858 is a 13 megapixel sensor with a four-lane MIPI CSI-2 D-PHY
output. So far its driver has only been probed through ACPI. The
Microsoft Surface Pro 11 with a Snapdragon X Elite uses it as the rear
camera, and that machine describes it in the device tree.
The supplies are the three the driver takes, and the reset GPIO drives
the XSHUTDN pad.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: George Neacsu <geocausa@gmail.com>
---
.../bindings/media/i2c/ovti,ov13858.yaml | 113 +++++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 114 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov13858.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov13858.yaml
new file mode 100644
index 0000000..a1cbdb1
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov13858.yaml
@@ -0,0 +1,113 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/ovti,ov13858.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: OmniVision OV13858 CMOS Sensor
+
+maintainers:
+ - George Neacsu <geocausa@gmail.com>
+
+description:
+ The OmniVision OV13858 is a 13 megapixel CMOS image sensor with an I2C
+ control interface. It outputs 10-bit Bayer data over a four-lane MIPI
+ CSI-2 D-PHY interface and takes a 19.2 MHz input clock.
+
+allOf:
+ - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+ compatible:
+ const: ovti,ov13858
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ description: Input clock (19.2 MHz)
+ maxItems: 1
+
+ avdd-supply:
+ description: Analogue circuit voltage supply.
+
+ dovdd-supply:
+ description: I/O circuit voltage supply.
+
+ dvdd-supply:
+ description: Digital circuit voltage supply.
+
+ reset-gpios:
+ description: Active low GPIO connected to the XSHUTDN pad of the sensor.
+ maxItems: 1
+
+ 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: 1
+ - const: 2
+ - const: 3
+ - const: 4
+
+ required:
+ - data-lanes
+ - link-frequencies
+
+ required:
+ - endpoint
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - avdd-supply
+ - dovdd-supply
+ - dvdd-supply
+ - port
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera@10 {
+ compatible = "ovti,ov13858";
+ reg = <0x10>;
+
+ clocks = <&cam_mclk>;
+ assigned-clocks = <&cam_mclk>;
+ assigned-clock-rates = <19200000>;
+
+ avdd-supply = <&vreg_cam_2p8>;
+ dovdd-supply = <&vreg_cam_1p8>;
+ dvdd-supply = <&vreg_cam_1p2>;
+
+ reset-gpios = <&tlmm 110 GPIO_ACTIVE_LOW>;
+
+ orientation = <1>;
+ rotation = <0>;
+
+ port {
+ endpoint {
+ remote-endpoint = <&csiphy1_ep>;
+ data-lanes = <1 2 3 4>;
+ link-frequencies = /bits/ 64 <540000000 270000000>;
+ };
+ };
+ };
+ };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 5d39ec6..0cbb07e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -20186,6 +20186,7 @@ M: Sakari Ailus <sakari.ailus@linux.intel.com>
L: linux-media@vger.kernel.org
S: Maintained
T: git git://linuxtv.org/media.git
+F: Documentation/devicetree/bindings/media/i2c/ovti,ov13858.yaml
F: drivers/media/i2c/ov13858.c
OMNIVISION OV13B10 SENSOR DRIVER
--
2.53.0
next prev parent reply other threads:[~2026-10-15 21:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 21:48 [PATCH 0/2] media: ov13858: device tree support for the Surface Pro 11 (Snapdragon) George Neacsu via B4 Relay
2026-10-15 21:48 ` George Neacsu via B4 Relay [this message]
2026-10-16 20:49 ` [PATCH 1/2] dt-bindings: media: i2c: Add OmniVision OV13858 Bryan O'Donoghue
2026-10-17 16:57 ` Krzysztof Kozlowski
2026-10-17 21:28 ` Bryan O'Donoghue
2026-10-17 16:58 ` Krzysztof Kozlowski
2026-10-18 20:24 ` Sakari Ailus
2026-10-15 21:48 ` [PATCH 2/2] media: i2c: ov13858: Add device tree support George Neacsu via B4 Relay
2026-10-16 16:06 ` Bryan O'Donoghue
2026-10-16 16:16 ` George Neacsu
2026-10-16 20:43 ` Bryan O'Donoghue
2026-10-16 21:08 ` Sergey Lebedev
2026-10-16 21:48 ` George Neacsu
2026-10-16 22:25 ` George Neacsu
2026-10-18 20:35 ` Sakari Ailus
2026-10-16 7:01 ` [PATCH 0/2] media: ov13858: device tree support for the Surface Pro 11 (Snapdragon) Sergey Lebedev
2026-10-16 14:55 ` George Neacsu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261015-ov13858-x1e-v1-1-acdd918f4fb6@gmail.com \
--to=devnull+geocausa.gmail.com@kernel.org \
--cc=bod@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geocausa@gmail.com \
--cc=germanpapulindez@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=lsa.uz@pm.me \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®