xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/os05a20.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1* Ovti os05a20 MIPI sensor
2
3Required Properties:
4- compatible: should be "ovti,os05a20"
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: Low active reset gpio
11
12Attention:
13os05a20 device address 0x36(7bit) or 0x10(7bit) is decided by SID pin;
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//rv1126 evb13 board
21&i2c1 {
22	status = "okay";
23	os05a20: os05a20@36 {
24		compatible = "ovti,os05a20";
25		reg = <0x36>;
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		power-gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;
35		pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
36		rockchip,camera-module-index = <1>;
37		rockchip,camera-module-facing = "front";
38		rockchip,camera-module-name = "JSD3425-C1";
39		rockchip,camera-module-lens-name = "JSD3425-C1-36IRC-4M-F20";
40		ir-cut = <&cam_ircut0>;
41		port {
42			ucam_out0: endpoint {
43				remote-endpoint = <&mipi_in_ucam0>;
44				data-lanes = <1 2 3 4>;
45			};
46		};
47	};
48};
49