xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/lt7911uxc.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1* Lontium lt7911uxc type-c/DP to MIPI-CSI Bridge
2
3Required Properties:
4- compatible: should be "lontium,lt7911uxc".
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- plugin-det-gpios: Low active plugin detect gpio.
10- interrupts: GPIO connected to lt7911uxc gpio0.
11- data-lanes: should be <1 2 3 4> for four-lane DPHY,
12              or <1 2 3> for three-trios CPHY.
13
14Optional Properties:
15- bus-type: should be <1> if use CPHY.
16            should be <4> or default config if use DPHY.
17
18Attention:
19LT7911UXC device address 0x43(7bit)
20
21Example:
22&i2c5 {
23	status = "okay";
24
25	lt7911uxc: lt7911uxc@43 {
26		compatible = "lontium,lt7911uxc";
27		status = "okay";
28		reg = <0x43>;
29		clocks = <&ext_cam_clk>;
30		clock-names = "xvclk";
31		interrupt-parent = <&gpio1>;
32		interrupts = <RK_PA1 IRQ_TYPE_EDGE_RISING>;
33		power-domains = <&power RK3588_PD_VI>;
34		reset-gpios = <&gpio2 RK_PC4 GPIO_ACTIVE_LOW>;
35		power-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>;
36		plugin-det-gpios = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
37		rockchip,camera-module-index = <0>;
38		rockchip,camera-module-facing = "back";
39		rockchip,camera-module-name = "LT7911UXC";
40		rockchip,camera-module-lens-name = "LT7911UXC";
41		port {
42			lt7911uxc_out: endpoint {
43				remote-endpoint = <&dp_mipi_in1>;
44				bus-type = <1>;
45				data-lanes = <1 2 3>;
46			};
47		};
48	};
49};
50