xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/lt7911d.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1* Lontium lt7911d type-c/DP to MIPI-CSI Bridge
2
3Required Properties:
4- compatible: should be "lontium,lt7911d".
5- clocks: reference to the 27M xvclk input clock.
6- clock-names: should be "xvclk".
7- reset-gpios: Low active reset gpio.
8- power-gpios: High active power gpio.
9- hpd-ctl-gpios: High active hpd control gpio.
10		 If inverted circuit, choose low active.
11- plugin-det-gpios: Low active plugin detect gpio.
12- interrupts: GPIO connected to the gpio5.
13- data-lanes: should be <1 2 3 4> for four-lane operation,
14	      or <1 2> for two-lane operation.
15
16Attention:
17LT7911D device address 0x2b(7bit)
18
19Example:
20&i2c7 {
21	status = "okay";
22
23	lt7911d: lt7911d@2b {
24		compatible = "lontium,lt7911d";
25		status = "okay";
26		reg = <0x2b>;
27		clocks = <&cru CLK_MIPI_CAMARAOUT_M1>;
28		clock-names = "xvclk";
29		interrupt-parent = <&gpio3>;
30		interrupts = <RK_PD4 IRQ_TYPE_EDGE_RISING>;
31		power-domains = <&power RK3588_PD_VI>;
32		pinctrl-names = "default";
33		pinctrl-0 = <&mipim1_camera1_clk>;
34		reset-gpios = <&gpio3 RK_PC6 GPIO_ACTIVE_LOW>;
35		power-gpios = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>;
36		hpd-ctl-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
37		plugin-det-gpios = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
38		rockchip,camera-module-index = <0>;
39		rockchip,camera-module-facing = "back";
40		rockchip,camera-module-name = "LT7911D";
41		rockchip,camera-module-lens-name = "NC";
42		port {
43			lt7911d_out: endpoint {
44				remote-endpoint = <&hdmi_mipi_in>;
45				data-lanes = <1 2 3 4>;
46			};
47		};
48	};
49};
50