1 From 87038c8d2337bd2c79bd96ac1ef9e6471a782331 Mon Sep 17 00:00:00 2001
2 From: Naushir Patuck <naush@raspberrypi.com>
3 Date: Thu, 7 May 2020 15:50:54 +0100
4 Subject: [PATCH] dt-bindings: media: i2c: Add IMX477 CMOS sensor
7 Add YAML device tree binding for IMX477 CMOS image sensor.
9 Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
11 .../devicetree/bindings/media/i2c/imx477.yaml | 113 ++++++++++++++++++
12 1 file changed, 113 insertions(+)
13 create mode 100644 Documentation/devicetree/bindings/media/i2c/imx477.yaml
16 +++ b/Documentation/devicetree/bindings/media/i2c/imx477.yaml
18 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
21 +$id: http://devicetree.org/schemas/media/i2c/imx477.yaml#
22 +$schema: http://devicetree.org/meta-schemas/core.yaml#
24 +title: Sony 1/2.3-Inch 12Mpixel CMOS Digital Image Sensor
27 + - Naushir Patuck <naush@raspberypi.com>
30 + The Sony IMX477 is a 1/2.3-inch CMOS active pixel digital image sensor
31 + with an active array size of 4056H x 3040V. It is programmable through
32 + I2C interface. The I2C address is fixed to 0x1A as per sensor data sheet.
33 + Image data is sent through MIPI CSI-2, which is configured as either 2 or
41 + description: I2C device address
49 + Digital I/O voltage supply, 1.05 volts
53 + Analog voltage supply, 2.8 volts
57 + Digital core voltage supply, 1.8 volts
61 + Reference to the GPIO connected to the xclr pin, if any.
62 + Must be released (set high) after all all supplies and INCK are applied.
64 + # See ../video-interfaces.txt for more details
73 + The sensor supports either two-lane, or four-lane operation.
74 + For two-lane operation the property must be set to <1 2>.
79 + clock-noncontinuous:
82 + MIPI CSI-2 clock is non-continuous if this property is present,
83 + otherwise it's continuous.
87 + - $ref: /schemas/types.yaml#/definitions/uint64-array
89 + Allowed data bus frequencies.
103 +additionalProperties: false
108 + #address-cells = <1>;
111 + imx477: sensor@10 {
112 + compatible = "sony,imx477";
114 + clocks = <&imx477_clk>;
115 + VANA-supply = <&imx477_vana>; /* 2.8v */
116 + VDIG-supply = <&imx477_vdig>; /* 1.05v */
117 + VDDL-supply = <&imx477_vddl>; /* 1.8v */
120 + imx477_0: endpoint {
121 + remote-endpoint = <&csi1_ep>;
122 + data-lanes = <1 2>;
123 + clock-noncontinuous;
124 + link-frequencies = /bits/ 64 <450000000>;