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 description: Input port
76 $ref: /schemas/media/video-interfaces.yaml#
77 unevaluatedProperties: false
91 $ref: /schemas/graph.yaml#/$defs/port-base
92 description: Output port
96 $ref: /schemas/media/video-interfaces.yaml#
97 unevaluatedProperties: false
104 clock-noncontinuous: true
105 link-frequencies: true
125 additionalProperties: false
129 #include <dt-bindings/gpio/gpio.h>
132 #address-cells = <1>;
136 compatible = "toshiba,tc358746";
140 clock-names = "refclk";
142 reset-gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
144 vddc-supply = <&v1_2d>;
145 vddio-supply = <&v1_8d>;
146 vddmipi-supply = <&v1_2d>;
148 /* sensor mclk provider */
152 #address-cells = <1>;
158 tc358746_in: endpoint {
159 remote-endpoint = <&sensor_out>;
169 tc358746_out: endpoint {
170 remote-endpoint = <&mipi_csi2_in>;
173 link-frequencies = /bits/ 64 <216000000>;