xref: /linux/Documentation/devicetree/bindings/media/i2c/tc358743.txt (revision 3eb66e91a25497065c5322b1268cbc3953642227)
125614824SPhilipp Zabel* Toshiba TC358743 HDMI-RX to MIPI CSI2-TX Bridge
225614824SPhilipp Zabel
325614824SPhilipp ZabelThe Toshiba TC358743 HDMI-RX to MIPI CSI2-TX (H2C) is a bridge that converts
425614824SPhilipp Zabela HDMI stream to MIPI CSI-2 TX. It is programmable through I2C.
525614824SPhilipp Zabel
625614824SPhilipp ZabelRequired Properties:
725614824SPhilipp Zabel
825614824SPhilipp Zabel- compatible: value should be "toshiba,tc358743"
925614824SPhilipp Zabel- clocks, clock-names: should contain a phandle link to the reference clock
1025614824SPhilipp Zabel		       source, the clock input is named "refclk".
1125614824SPhilipp Zabel
1225614824SPhilipp ZabelOptional Properties:
1325614824SPhilipp Zabel
1425614824SPhilipp Zabel- reset-gpios: gpio phandle GPIO connected to the reset pin
15*791d3ef2SRob Herring- interrupts: GPIO connected to the interrupt pin
1625614824SPhilipp Zabel- data-lanes: should be <1 2 3 4> for four-lane operation,
1725614824SPhilipp Zabel	      or <1 2> for two-lane operation
1825614824SPhilipp Zabel- clock-lanes: should be <0>
1925614824SPhilipp Zabel- clock-noncontinuous: Presence of this boolean property decides whether the
2025614824SPhilipp Zabel		       MIPI CSI-2 clock is continuous or non-continuous.
2125614824SPhilipp Zabel- link-frequencies: List of allowed link frequencies in Hz. Each frequency is
2225614824SPhilipp Zabel		    expressed as a 64-bit big-endian integer. The frequency
2325614824SPhilipp Zabel		    is half of the bps per lane due to DDR transmission.
2425614824SPhilipp Zabel
2525614824SPhilipp ZabelFor further information on the MIPI CSI-2 endpoint node properties, see
2625614824SPhilipp ZabelDocumentation/devicetree/bindings/media/video-interfaces.txt.
2725614824SPhilipp Zabel
2825614824SPhilipp ZabelExample:
2925614824SPhilipp Zabel
3048c926cdSMarco Franchi	tc358743@f {
3125614824SPhilipp Zabel		compatible = "toshiba,tc358743";
3225614824SPhilipp Zabel		reg = <0x0f>;
3325614824SPhilipp Zabel		clocks = <&hdmi_osc>;
3425614824SPhilipp Zabel		clock-names = "refclk";
3525614824SPhilipp Zabel		reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>;
3625614824SPhilipp Zabel		interrupt-parent = <&gpio2>;
3725614824SPhilipp Zabel		interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
3825614824SPhilipp Zabel
3925614824SPhilipp Zabel		port {
4025614824SPhilipp Zabel			tc358743_out: endpoint {
4125614824SPhilipp Zabel				remote-endpoint = <&mipi_csi2_in>;
4225614824SPhilipp Zabel				data-lanes = <1 2 3 4>;
4325614824SPhilipp Zabel				clock-lanes = <0>;
4425614824SPhilipp Zabel				clock-noncontinuous;
4525614824SPhilipp Zabel				link-frequencies = /bits/ 64 <297000000>;
4625614824SPhilipp Zabel			};
4725614824SPhilipp Zabel		};
4825614824SPhilipp Zabel	};
49