1* RK628 HDMI-RX to MIPI CSI2-TX Bridge 2 3The RK628 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- compatible: value should be "rockchip,rk628-csi-v4l2" 8- reg: I2C device address 9 10Optional Properties: 11- reset-gpios: gpio phandle GPIO connected to the reset pin 12- enable-gpios: a GPIO spec for the enable pin 13- plugin-det-gpios: HDMI 5V detect pin 14- interrupts: GPIO connected to the interrupt pin 15- data-lanes: should be <1 2 3 4> for four-lane operation, 16 or <1 2> for two-lane operation 17 18For further information on the MIPI CSI-2 endpoint node properties, see 19Documentation/devicetree/bindings/media/video-interfaces.txt. 20 21Example: 22 23 rk628_csi_v4l2: rk628_csi_v4l2@50 { 24 reg = <0x50>; 25 compatible = "rockchip,rk628-csi-v4l2"; 26 interrupt-parent = <&gpio2>; 27 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; 28 enable-gpios = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>; 29 reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_LOW>; 30 plugin-det-gpios = <&gpio2 RK_PA4 GPIO_ACTIVE_LOW>; 31 32 rockchip,camera-module-index = <0>; 33 rockchip,camera-module-facing = "back"; 34 rockchip,camera-module-name = "RK628-CSI"; 35 rockchip,camera-module-lens-name = "NC"; 36 37 port { 38 hdmiin_out0: endpoint { 39 remote-endpoint = <&mipi_in>; 40 data-lanes = <1 2 3 4>; 41 }; 42 }; 43 }; 44