xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/sc200ai.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1* smartsens,sc200ai MIPI sensor
2
3Required Properties:
4- compatible: should be "smartsens,sc200ai"
5- clocks: reference to the 27M 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:
13SC4238 device address 0x30(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	sc200ai: sc200ai@30 {
24		compatible = "smartsens,sc200ai";
25		reg = <0x30>;
26		clocks = <&cru CLK_MIPICSI_OUT>;
27		clock-names = "xvclk";
28		power-domains = <&power RV1126_PD_VI>;
29		pinctrl-names = "rockchip,camera_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 = "C7234A-400";
39		rockchip,camera-module-lens-name = "30IRC-2MP-F20";
40		/* NO_HDR:0 HDR_X2:5 HDR_X3:6 */
41		rockchip,camera-hdr-mode = <5>;
42
43		port {
44			sc4238_out: endpoint {
45				remote-endpoint = <&mipi_in_ucam1>;
46				data-lanes = <1 2>;
47			};
48		};
49	};
50};
51