1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2019 Renesas Electronics Corp.
5 $id: http://devicetree.org/schemas/media/i2c/maxim,max9286.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Maxim Integrated Quad GMSL Deserializer
11 - Jacopo Mondi <jacopo+renesas@jmondi.org>
12 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
13 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
14 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
17 The MAX9286 deserializer receives video data on up to 4 Gigabit Multimedia
18 Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data
21 In addition to video data, the GMSL links carry a bidirectional control
22 channel that encapsulates I2C messages. The MAX9286 forwards all I2C traffic
23 not addressed to itself to the other side of the links, where a GMSL
24 serializer will output it on a local I2C bus. In the other direction all I2C
25 traffic received over GMSL by the MAX9286 is output on the local I2C bus.
38 description: I2C device address
42 description: Regulator providing Power over Coax to the cameras
46 description: GPIO connected to the \#PWDN pin with inverted polarity
57 The connections to the MAX9286 GMSL and its endpoint nodes are modelled
58 using the OF graph bindings in accordance with the video interface
60 Documentation/devicetree/bindings/media/video-interfaces.txt.
62 The following table lists the port number corresponding to each device
66 ----------------------------------------
92 phandle to the remote GMSL source endpoint subnode in the
102 additionalProperties: false
115 description: phandle to the remote CSI-2 sink endpoint.
118 description: array of physical CSI-2 data lane indexes.
128 additionalProperties: false
136 Each GMSL link is modelled as a child bus of an i2c bus
137 multiplexer/switch, in accordance with bindings described in
138 Documentation/devicetree/bindings/i2c/i2c-mux.txt.
151 Child node of the i2c bus multiplexer which represents a GMSL link.
152 Each serializer device on the GMSL link remote end is represented with
153 an i2c-mux child node. The MAX9286 chip supports up to 4 GMSL
164 description: The index of the GMSL channel.
168 "^camera@[a-f0-9]+$":
171 The remote camera device, composed by a GMSL serializer and a
172 connected video source.
176 description: The remote device compatible string.
182 The I2C addresses to be assigned to the remote devices through
183 address reprogramming. The number of entries depends on the
184 requirements of the currently connected remote device.
195 description: phandle to the MAX9286 sink endpoint.
200 additionalProperties: false
205 additionalProperties: false
212 additionalProperties: false
214 additionalProperties: false
216 additionalProperties: false
225 additionalProperties: false
229 #include <dt-bindings/gpio/gpio.h>
232 #address-cells = <1>;
235 reg = <0 0xe66d8000>;
237 gmsl-deserializer@2c {
238 compatible = "maxim,max9286";
240 poc-supply = <&camera_poc_12v>;
241 enable-gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
247 #address-cells = <1>;
253 max9286_in0: endpoint {
254 remote-endpoint = <&rdacm20_out0>;
261 max9286_in1: endpoint {
262 remote-endpoint = <&rdacm20_out1>;
269 max9286_in2: endpoint {
270 remote-endpoint = <&rdacm20_out2>;
277 max9286_in3: endpoint {
278 remote-endpoint = <&rdacm20_out3>;
285 max9286_out: endpoint {
286 data-lanes = <1 2 3 4>;
287 remote-endpoint = <&csi40_in>;
293 #address-cells = <1>;
297 #address-cells = <1>;
302 compatible = "imi,rdacm20";
303 reg = <0x51>, <0x61>;
306 rdacm20_out0: endpoint {
307 remote-endpoint = <&max9286_in0>;
315 #address-cells = <1>;
320 compatible = "imi,rdacm20";
321 reg = <0x52>, <0x62>;
324 rdacm20_out1: endpoint {
325 remote-endpoint = <&max9286_in1>;
332 #address-cells = <1>;
337 compatible = "imi,rdacm20";
338 reg = <0x53>, <0x63>;
341 rdacm20_out2: endpoint {
342 remote-endpoint = <&max9286_in2>;
349 #address-cells = <1>;
354 compatible = "imi,rdacm20";
355 reg = <0x54>, <0x64>;
358 rdacm20_out3: endpoint {
359 remote-endpoint = <&max9286_in3>;