1 From a307b7b21da2c1b61226a5f1b2b56b6582fe7cc4 Mon Sep 17 00:00:00 2001
2 From: David Plowman <david.plowman@raspberrypi.com>
3 Date: Tue, 29 Jun 2021 14:38:23 +0100
4 Subject: [PATCH] Documentation: devicetree: Add documentation for
7 The imx378 sensor is compatible with the imx477 and shares common
10 Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
12 .../devicetree/bindings/media/i2c/imx378.yaml | 113 ++++++++++++++++++
14 2 files changed, 114 insertions(+)
15 create mode 100644 Documentation/devicetree/bindings/media/i2c/imx378.yaml
18 +++ b/Documentation/devicetree/bindings/media/i2c/imx378.yaml
20 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
23 +$id: http://devicetree.org/schemas/media/i2c/imx378.yaml#
24 +$schema: http://devicetree.org/meta-schemas/core.yaml#
26 +title: Sony 1/2.3-Inch 12Mpixel CMOS Digital Image Sensor
29 + - Naushir Patuck <naush@raspberypi.com>
32 + The Sony IMX378 is a 1/2.3-inch CMOS active pixel digital image sensor
33 + with an active array size of 4056H x 3040V. It is programmable through
34 + I2C interface. The I2C address is fixed to 0x1A as per sensor data sheet.
35 + Image data is sent through MIPI CSI-2, which is configured as either 2 or
43 + description: I2C device address
51 + Digital I/O voltage supply, 1.05 volts
55 + Analog voltage supply, 2.8 volts
59 + Digital core voltage supply, 1.8 volts
63 + Reference to the GPIO connected to the xclr pin, if any.
64 + Must be released (set high) after all supplies and INCK are applied.
66 + # See ../video-interfaces.txt for more details
75 + The sensor supports either two-lane, or four-lane operation.
76 + For two-lane operation the property must be set to <1 2>.
81 + clock-noncontinuous:
84 + MIPI CSI-2 clock is non-continuous if this property is present,
85 + otherwise it's continuous.
89 + - $ref: /schemas/types.yaml#/definitions/uint64-array
91 + Allowed data bus frequencies.
105 +additionalProperties: false
110 + #address-cells = <1>;
113 + imx378: sensor@10 {
114 + compatible = "sony,imx378";
116 + clocks = <&imx378_clk>;
117 + VANA-supply = <&imx378_vana>; /* 2.8v */
118 + VDIG-supply = <&imx378_vdig>; /* 1.05v */
119 + VDDL-supply = <&imx378_vddl>; /* 1.8v */
122 + imx378_0: endpoint {
123 + remote-endpoint = <&csi1_ep>;
124 + data-lanes = <1 2>;
125 + clock-noncontinuous;
126 + link-frequencies = /bits/ 64 <450000000>;
135 @@ -17544,6 +17544,7 @@ M: Raspberry Pi Kernel Maintenance <kern
136 L: linux-media@vger.kernel.org
138 T: git git://linuxtv.org/media_tree.git
139 +F: Documentation/devicetree/bindings/media/i2c/imx378.yaml
140 F: Documentation/devicetree/bindings/media/i2c/imx477.yaml
141 F: drivers/media/i2c/imx477.c