[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250810220921.14307-2-will@willwhang.com>
Date: Sun, 10 Aug 2025 23:09:18 +0100
From: Will Whang <will@...lwhang.com>
To: Will Whang <will@...lwhang.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Sakari Ailus <sakari.ailus@...ux.intel.com>
Cc: linux-media@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH v2 1/4] dt-bindings: media: Add Sony IMX585 CMOS image sensor
Document the devicetree binding for the Sony IMX585. The schema
covers the CSI-2 data-lanes, the optional 'mono-mode' flag,
and the internal-sync properties used by the driver.
Signed-off-by: Will Whang <will@...lwhang.com>
---
.../bindings/media/i2c/sony,imx585.yaml | 116 ++++++++++++++++++
MAINTAINERS | 6 +
2 files changed, 122 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx585.yaml
diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx585.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx585.yaml
new file mode 100644
index 000000000..020b7cfb9
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx585.yaml
@@ -0,0 +1,116 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/i2c/sony,imx585.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sony IMX585 CMOS image sensor
+
+maintainers:
+ - Will Whang <will@...lwhang.com>
+
+description:
+ IMX585 sensor is a Sony CMOS sensor with 4K and FHD outputs.
+
+properties:
+ compatible:
+ enum:
+ - sony,imx585
+ - sony,imx585-mono
+
+ reg:
+ maxItems: 1
+
+ assigned-clocks: true
+ assigned-clock-parents: true
+ assigned-clock-rates: true
+
+ clocks:
+ description: Clock frequency 74.25MHz, 37.125MHz, 72MHz, 27MHz, 24MHz
+ maxItems: 1
+
+ vana-supply:
+ description: Analog power supply (3.3V)
+
+ vddl-supply:
+ description: Interface power supply (1.8V)
+
+ vdig-supply:
+ description: Digital power supply (1.1V)
+
+ reset-gpios:
+ description: Sensor reset (XCLR) GPIO
+ maxItems: 1
+
+ sony,sync-mode:
+ description: |
+ Select the synchronisation mode of the sensor
+ 0 – internal sync, leader (default)
+ 1 – internal sync, follower
+ 2 – external sync
+ $ref: /schemas/types.yaml#/definitions/uint8
+ enum: [ 0, 1, 2 ]
+
+ port:
+ $ref: /schemas/graph.yaml#/$defs/port-base
+ additionalProperties: false
+
+ properties:
+ endpoint:
+ $ref: /schemas/media/video-interfaces.yaml#
+ unevaluatedProperties: false
+
+ properties:
+ data-lanes:
+ oneOf:
+ - items:
+ - const: 1
+ - const: 2
+ - items:
+ - const: 1
+ - const: 2
+ - const: 3
+ - const: 4
+
+ link-frequencies: true
+
+ required:
+ - data-lanes
+ - link-frequencies
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - port
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ imx585@1a {
+ compatible = "sony,imx585";
+ reg = <0x1a>;
+ clocks = <&imx585_clk>;
+
+ assigned-clocks = <&imx585_clk>;
+ assigned-clock-rates = <24000000>;
+
+ vana-supply = <&camera_vadd_3v3>;
+ vdig-supply = <&camera_vdd1_1v8>;
+ vddl-supply = <&camera_vdd2_1v1>;
+
+ port {
+ imx585: endpoint {
+ remote-endpoint = <&cam>;
+ data-lanes = <1 2 3 4>;
+ link-frequencies = /bits/ 64 <720000000>;
+ };
+ };
+ };
+ };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 24c557ee0..ef04ee4ec 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -23178,6 +23178,12 @@ T: git git://linuxtv.org/media.git
F: Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
F: drivers/media/i2c/imx415.c
+SONY IMX585 SENSOR DRIVER
+M: Will Whang <will@...lwhang.com>
+L: linux-media@...r.kernel.org
+S: Maintained
+F: Documentation/devicetree/bindings/media/i2c/sony,imx585.yaml
+
SONY MEMORYSTICK SUBSYSTEM
M: Maxim Levitsky <maximlevitsky@...il.com>
M: Alex Dubov <oakad@...oo.com>
--
2.39.5
Powered by blists - more mailing lists