brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 59102ed Raw
49 lines · plain
1* Toshiba TC358743 HDMI-RX to MIPI CSI2-TX Bridge2 3The Toshiba TC358743 HDMI-RX to MIPI CSI2-TX (H2C) is a bridge that converts4a 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 clock10		       source, the clock input is named "refclk".11 12Optional Properties:13 14- reset-gpios: gpio phandle GPIO connected to the reset pin15- interrupts: GPIO connected to the interrupt pin16- data-lanes: should be <1 2 3 4> for four-lane operation,17	      or <1 2> for two-lane operation18- clock-lanes: should be <0>19- clock-noncontinuous: Presence of this boolean property decides whether the20		       MIPI CSI-2 clock is continuous or non-continuous.21- link-frequencies: List of allowed link frequencies in Hz. Each frequency is22		    expressed as a 64-bit big-endian integer. The frequency23		    is half of the bps per lane due to DDR transmission.24 25For further information on the MIPI CSI-2 endpoint node properties, see26Documentation/devicetree/bindings/media/video-interfaces.txt.27 28Example:29 30	tc358743@f {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