xref: /linux/Documentation/devicetree/bindings/media/i2c/tc358743.txt (revision f3539c12d8196ce0a1993364d30b3a18908470d1)
1* Toshiba TC358743 HDMI-RX to MIPI CSI2-TX Bridge
2
3The Toshiba TC358743 HDMI-RX to MIPI CSI2-TX (H2C) is a bridge that converts
4a HDMI stream to MIPI CSI-2 TX. It is programmable through I2C.
5
6Required Properties:
7
8- compatible: value should be "toshiba,tc358743"
9- clocks, clock-names: should contain a phandle link to the reference clock
10		       source, the clock input is named "refclk".
11
12Optional Properties:
13
14- reset-gpios: gpio phandle GPIO connected to the reset pin
15- interrupts, interrupt-parent: GPIO connected to the interrupt pin
16- data-lanes: should be <1 2 3 4> for four-lane operation,
17	      or <1 2> for two-lane operation
18- clock-lanes: should be <0>
19- clock-noncontinuous: Presence of this boolean property decides whether the
20		       MIPI CSI-2 clock is continuous or non-continuous.
21- link-frequencies: List of allowed link frequencies in Hz. Each frequency is
22		    expressed as a 64-bit big-endian integer. The frequency
23		    is half of the bps per lane due to DDR transmission.
24
25For further information on the MIPI CSI-2 endpoint node properties, see
26Documentation/devicetree/bindings/media/video-interfaces.txt.
27
28Example:
29
30	tc358743@0f {
31		compatible = "toshiba,tc358743";
32		reg = <0x0f>;
33		clocks = <&hdmi_osc>;
34		clock-names = "refclk";
35		reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>;
36		interrupt-parent = <&gpio2>;
37		interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
38
39		port {
40			tc358743_out: endpoint {
41				remote-endpoint = <&mipi_csi2_in>;
42				data-lanes = <1 2 3 4>;
43				clock-lanes = <0>;
44				clock-noncontinuous;
45				link-frequencies = /bits/ 64 <297000000>;
46			};
47		};
48	};
49