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