From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: linux-media@vger.kernel.org
Cc: devicetree@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Hans Verkuil <hverkuil@kernel.org>,
Hans de Goede <hansg@kernel.org>,
Tetsuya Nomura <tetsuya.nomura@soho-enterprise.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
Alexander Shiyan <eagle.alexander923@gmail.com>
Subject: [PATCH 1/2] dt-bindings: media: i2c: Add Sony IMX662 sensor
Date: Thu, 12 Mar 2026 18:04:36 +0300 [thread overview]
Message-ID: <20260312150437.1091195-2-eagle.alexander923@gmail.com> (raw)
In-Reply-To: <20260312150437.1091195-1-eagle.alexander923@gmail.com>
Add device tree binding documentation for the Sony IMX662 CMOS image
sensor. The sensor features a native pixel array of 1936x1100
(effective 1920x1080) and supports MIPI CSI-2 output with 2 or 4 data
lanes, RAW10/RAW12 formats, and both colour and monochrome variants.
The link-frequencies property accepts up to eight values corresponding
to the allowed MIPI data rates.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
.../bindings/media/i2c/sony,imx662.yaml | 112 ++++++++++++++++++
1 file changed, 112 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx662.yaml
diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx662.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx662.yaml
new file mode 100644
index 000000000000..9a4c5333828e
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx662.yaml
@@ -0,0 +1,112 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/sony,imx662.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sony IMX662 CMOS Image Sensor
+
+description:
+ The Sony IMX662 is a 1/2.8-inch CMOS image sensor with a pixel
+ array of 1936x1100 pixels, capable of 1920x1080 resolution at up
+ to 90 fps. It supports MIPI CSI-2 output with 2 or 4 data lanes,
+ RAW10/RAW12 output, and both colour and monochrome variants.
+
+allOf:
+ - $ref: /schemas/media/video-interface-devices.yaml#
+
+properties:
+ compatible:
+ enum:
+ - sony,imx662 # Colour variant
+ - sony,imx662-mono # Monochrome variant
+
+ reg:
+ maxItems: 1
+ description: I2C device address
+
+ clocks:
+ maxItems: 1
+ description: Master clock input (xclk).
+
+ reset-gpios:
+ maxItems: 1
+ description: Sensor reset (XCLR) pin, active low (optional).
+
+ avdd-supply:
+ description: Analog 3.3V power supply (optional).
+
+ dvdd-supply:
+ description: Digital core 1.1V power supply (optional).
+
+ ovdd-supply:
+ description: Digital I/O 1.8V power supply (optional).
+
+ port:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ description: CSI-2 transmitter port
+ additionalProperties: false
+ properties:
+ endpoint:
+ $ref: /schemas/media/video-interfaces.yaml#
+ unevaluatedProperties: false
+ properties:
+ data-lanes:
+ description:
+ Number of MIPI CSI-2 data lanes. Supported values: 2, 4.
+ minItems: 2
+ maxItems: 4
+ items:
+ enum: [1, 2, 3, 4]
+
+ link-frequencies:
+ description:
+ Allowed MIPI link frequencies in Hz. The list may contain
+ one or more values; the driver selects the highest supported
+ frequency compatible with the number of data lanes.
+ minItems: 1
+ maxItems: 8
+ items:
+ enum: [297000000, 360000000, 445500000, 594000000,
+ 720000000, 891000000, 1039500000, 1188000000]
+ required:
+ - data-lanes
+ - link-frequencies
+ required:
+ - endpoint
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - port
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera@1a {
+ compatible = "sony,imx662";
+ reg = <0x1a>;
+ clocks = <&clk24m>;
+ avdd-supply = <®_cam_avdd>;
+ dvdd-supply = <®_cam_dvdd>;
+ ovdd-supply = <®_cam_ovdd>;
+ reset-gpios = <&gpio3 4 GPIO_ACTIVE_LOW>;
+
+ port {
+ imx662_out: endpoint {
+ data-lanes = <1 2 3 4>;
+ link-frequencies = /bits/ 64 <360000000>;
+ remote-endpoint = <&imx662_in>;
+ };
+ };
+ };
+ };
+...
--
2.52.0
next prev parent reply other threads:[~2026-03-12 15:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 15:04 [PATCH 0/2] media: i2c: Add support for Sony IMX662 sensor Alexander Shiyan
2026-03-12 15:04 ` Alexander Shiyan [this message]
2026-03-12 16:30 ` [PATCH 1/2] dt-bindings: media: i2c: Add " Rob Herring (Arm)
2026-03-13 13:52 ` Krzysztof Kozlowski
2026-03-12 15:04 ` [PATCH 2/2] media: i2c: Add driver for " Alexander Shiyan
2026-03-12 19:50 ` Dave Stevenson
2026-03-13 1:15 ` tetsuya.nomura
2026-03-13 7:55 ` Alexander Shiyan
2026-03-17 15:52 ` Dave Stevenson
2026-03-13 12:26 ` Alexander Shiyan
2026-03-13 13:46 ` Krzysztof Kozlowski
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=20260312150437.1091195-2-eagle.alexander923@gmail.com \
--to=eagle.alexander923@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hansg@kernel.org \
--cc=hverkuil@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=tetsuya.nomura@soho-enterprise.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.