xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/imx378.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1* Sony IMX378 MIPI sensor
2
3Required Properties:
4- compatible: should be "sony,imx378"
5- clocks: reference to the 24M xvclk input clock.
6- clock-names: should be "xvclk".
7- dovdd-supply: Digital I/O voltage supply, 1.8 volts
8- avdd-supply: Analog voltage supply, 2.8 volts
9- dvdd-supply: Digital core voltage supply, 1.2 volts
10- reset-gpios: High active reset gpio
11
12Attention:
13IMX378 device address 0x1a(7bit);
14
15The device node must contain one 'port' child node for its digital output
16video port, in accordance with the video interface bindings defined in
17Documentation/devicetree/bindings/media/video-interfaces.txt.
18
19Example:
20
21&i2c1 {
22	status = "okay";
23	imx378: imx378@1a {
24		compatible = "sony,imx378";
25		reg = <0x1a>;
26		clocks = <&cru CLK_MIPICSI_OUT>;
27		clock-names = "xvclk";
28		power-domains = <&power RV1126_PD_VI>;
29		pinctrl-names = "default";
30		pinctrl-0 = <&mipicsi_clk0>;
31		avdd-supply = <&vcc_avdd>;
32		dovdd-supply = <&vcc_dovdd>;
33		dvdd-supply = <&vcc_dvdd>;
34		pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
35		reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
36		rockchip,camera-module-index = <1>;
37		rockchip,camera-module-facing = "front";
38		rockchip,camera-module-name = "A12N01B";
39		rockchip,camera-module-lens-name = "48IRC-12M-F18";
40		/* NO_HDR:0 HDR_X2:5 HDR_X3:6 */
41		rockchip,camera-hdr-mode = <0>;
42		port {
43			sc4238_out: endpoint {
44				remote-endpoint = <&mipi_in_ucam1>;
45				data-lanes = <1 2 3 4>;
46			};
47		};
48	};
49};
50