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
45 description: GPIO connected to the \#PWDN pin with inverted polarity
56 The connections to the MAX9286 GMSL and its endpoint nodes are modelled
57 using the OF graph bindings in accordance with the video interface
59 Documentation/devicetree/bindings/media/video-interfaces.txt.
61 The following table lists the port number corresponding to each device
65 ----------------------------------------
91 phandle to the remote GMSL source endpoint subnode in the
101 additionalProperties: false
114 description: phandle to the remote CSI-2 sink endpoint.
117 description: array of physical CSI-2 data lane indexes.
127 additionalProperties: false
135 Each GMSL link is modelled as a child bus of an i2c bus
136 multiplexer/switch, in accordance with bindings described in
137 Documentation/devicetree/bindings/i2c/i2c-mux.txt.
150 Child node of the i2c bus multiplexer which represents a GMSL link.
151 Each serializer device on the GMSL link remote end is represented with
152 an i2c-mux child node. The MAX9286 chip supports up to 4 GMSL
163 description: The index of the GMSL channel.
167 "^camera@[a-f0-9]+$":
170 The remote camera device, composed by a GMSL serializer and a
171 connected video source.
175 description: The remote device compatible string.
181 The I2C addresses to be assigned to the remote devices through
182 address reprogramming. The number of entries depends on the
183 requirements of the currently connected remote device.
194 description: phandle to the MAX9286 sink endpoint.
199 additionalProperties: false
204 additionalProperties: false
211 additionalProperties: false
213 additionalProperties: false
215 additionalProperties: false
224 additionalProperties: false
228 #include <dt-bindings/gpio/gpio.h>
231 #address-cells = <1>;
234 reg = <0 0xe66d8000>;
236 gmsl-deserializer@2c {
237 compatible = "maxim,max9286";
239 poc-supply = <&camera_poc_12v>;
240 enable-gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
246 #address-cells = <1>;
252 max9286_in0: endpoint {
253 remote-endpoint = <&rdacm20_out0>;
260 max9286_in1: endpoint {
261 remote-endpoint = <&rdacm20_out1>;
268 max9286_in2: endpoint {
269 remote-endpoint = <&rdacm20_out2>;
276 max9286_in3: endpoint {
277 remote-endpoint = <&rdacm20_out3>;
284 max9286_out: endpoint {
285 data-lanes = <1 2 3 4>;
286 remote-endpoint = <&csi40_in>;
292 #address-cells = <1>;
296 #address-cells = <1>;
301 compatible = "imi,rdacm20";
302 reg = <0x51>, <0x61>;
305 rdacm20_out0: endpoint {
306 remote-endpoint = <&max9286_in0>;
314 #address-cells = <1>;
319 compatible = "imi,rdacm20";
320 reg = <0x52>, <0x62>;
323 rdacm20_out1: endpoint {
324 remote-endpoint = <&max9286_in1>;
331 #address-cells = <1>;
336 compatible = "imi,rdacm20";
337 reg = <0x53>, <0x63>;
340 rdacm20_out2: endpoint {
341 remote-endpoint = <&max9286_in2>;
348 #address-cells = <1>;
353 compatible = "imi,rdacm20";
354 reg = <0x54>, <0x64>;
357 rdacm20_out3: endpoint {
358 remote-endpoint = <&max9286_in3>;