1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2 # Copyright (C) 2019 Renesas Electronics Corp.
5 $id: http://devicetree.org/schemas/media/i2c/imi,rdacm2x-gmsl.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: IMI D&D RDACM20 and RDACM21 Automotive Camera Platforms
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 IMI D&D RDACM20 and RDACM21 are GMSL-compatible camera designed for
18 automotive applications.
20 The RDACM20 camera module encloses a Maxim Integrated MAX9271 GMSL serializer,
21 coupled with an OV10635 image sensor and an embedded MCU. Both the MCU and
22 the image sensor are connected to the serializer local I2C bus and are
23 accessible by the host SoC by direct addressing.
25 The RDACM21 camera module encloses the same serializer, coupled with an
26 OV10640 image sensor and an OV490 ISP. Only the OV490 ISP is interfaced to
27 the serializer local I2C bus while the image sensor is not accessible from
30 They both connect to a remote GMSL endpoint through a coaxial cable.
33 +---------------+ +--------------------------------+
34 | GMSL | <- Video Stream | <- Video--------\ |
35 | |< === GMSL Link ====== >|MAX9271<- I2C bus-> <-->OV10635 |
36 | de-serializer | <- I2C messages -> | \<-->MCU |
37 +---------------+ +--------------------------------+
40 +---------------+ +--------------------------------+
41 | GMSL | <- Video Stream | <- Video--------\ |
42 | |< === GMSL Link ====== >|MAX9271<- I2C bus-> <-->OV490 |
43 | | <- I2C messages -> | | |
44 | de-serializer | | OV10640 <-------| |
45 +---------------+ +--------------------------------+
47 Both camera modules serialize video data generated by the embedded camera
48 sensor on the GMSL serial channel to a remote GMSL de-serializer. They also
49 receive and transmit I2C messages encapsulated and transmitted on the GMSL
50 bidirectional control channel.
52 All I2C traffic received on the GMSL link not directed to the serializer is
53 propagated on the local I2C bus to the remote device there connected. All the
54 I2C traffic generated on the local I2C bus not directed to the serializer is
55 propagated to the remote de-serializer encapsulated in the GMSL control
58 The RDACM20 and RDACM21 DT node should be a direct child of the GMSL
59 deserializer's I2C bus corresponding to the GMSL link that the camera is
76 I2C device addresses, the first to be assigned to the serializer, the
77 following ones to be assigned to the remote devices.
79 For RDACM20 the second entry of the property is assigned to the
80 OV10635 image sensor and the optional third one to the embedded MCU.
82 For RDACM21 the second entry is assigned to the OV490 ISP and the optional
90 additionalProperties: false
92 Connection to the remote GMSL endpoint are modelled using the OF graph
93 bindings in accordance with the video interface bindings defined in
94 Documentation/devicetree/bindings/media/video-interfaces.txt.
96 The device node contains a single "port" child node with a single
97 "endpoint" sub-device.
102 additionalProperties: false
107 phandle to the remote GMSL endpoint sub-node in the remote node
125 #address-cells = <1>;
128 reg = <0 0xe66d8000>;
131 compatible = "imi,rdacm20";
132 reg = <0x31>, <0x41>, <0x51>;
135 rdacm20_out0: endpoint {
136 remote-endpoint = <&max9286_in0>;
144 #address-cells = <1>;
147 reg = <0 0xe66d8000>;
150 compatible = "imi,rdacm21";
151 reg = <0x31>, <0x41>;
154 rdacm21_out0: endpoint {
155 remote-endpoint = <&max9286_in0>;