1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/i2c/toshiba,tc358746.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Toshiba TC358746 Parallel to MIPI CSI2 Bridge
10 - Marco Felsch <kernel@pengutronix.de>
13 The Toshiba TC358746 converts a parallel video stream into a MIPI CSI-2
14 stream. The direction can be either parallel-in -> csi-out or csi-in ->
15 parallel-out The chip is programmable through I2C and SPI but the SPI
16 interface is only supported in parallel-in -> csi-out mode.
18 Note that the current device tree bindings only support the
19 parallel-in -> csi-out path.
23 const: toshiba,tc358746
30 The phandle to the reference clock source. This corresponds to the
39 The bridge can act as clock provider for the sensor. To enable this
40 support #clock-cells must be specified. Attention if this feature is used
41 then the mclk rate must be at least: (2 * link-frequency) / 8
42 `------------------ยด ^
43 internal PLL rate smallest possible
49 The clock name of the MCLK output, the default name is tc358746-mclk.
53 description: Digital core voltage supply, 1.2 volts
56 description: Digital I/O voltage supply, 1.8 volts
59 description: MIPI CSI phy voltage supply, 1.2 volts
63 The phandle and specifier for the GPIO that controls the chip reset.
64 This corresponds to the hardware pin RESX which is physically active low.
68 $ref: /schemas/graph.yaml#/properties/ports
71 $ref: /schemas/graph.yaml#/$defs/port-base
72 unevaluatedProperties: false
73 description: Input port
77 $ref: /schemas/media/video-interfaces.yaml#
78 unevaluatedProperties: false
92 $ref: /schemas/graph.yaml#/$defs/port-base
93 unevaluatedProperties: false
94 description: Output port
98 $ref: /schemas/media/video-interfaces.yaml#
99 unevaluatedProperties: false
106 clock-noncontinuous: true
107 link-frequencies: true
127 additionalProperties: false
131 #include <dt-bindings/gpio/gpio.h>
134 #address-cells = <1>;
138 compatible = "toshiba,tc358746";
142 clock-names = "refclk";
144 reset-gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
146 vddc-supply = <&v1_2d>;
147 vddio-supply = <&v1_8d>;
148 vddmipi-supply = <&v1_2d>;
150 /* sensor mclk provider */
154 #address-cells = <1>;
160 tc358746_in: endpoint {
161 remote-endpoint = <&sensor_out>;
171 tc358746_out: endpoint {
172 remote-endpoint = <&mipi_csi2_in>;
175 link-frequencies = /bits/ 64 <216000000>;