diff --git a/Documentation/devicetree/bindings/media/i2c/gc2093.txt b/Documentation/devicetree/bindings/media/i2c/gc2093.txt new file mode 100644 index 000000000000..e9cfdcec7558 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/gc2093.txt @@ -0,0 +1,43 @@ +* galaxycore,gc2093 MIPI sensor + +Required Properties: +- compatible: should be "galaxycore,gc2093" +- clocks: reference to the 24M xvclk input clock. +- clock-names: should be "xvclk". +- dovdd-supply: Digital I/O voltage supply, 1.8 volts +- avdd-supply: Analog voltage supply, 2.8 volts +- dvdd-supply: Digital core voltage supply, 1.2 volts +- reset-gpios: Low active reset gpio +- pwdn-gpios: High active power-down gpio + +Attention: +GC2093 device address 0x37(7bit) + +Example: +&i2c1 { + status = "okay"; + gc2093: gc2093@37 { + compatible = "galaxycore,gc2093"; + reg = <0x37>; + clocks = <&cru CLK_MIPICSI_OUT>; + clock-names = "xvclk"; + power-domains = <&power RV1126_PD_VI>; + pinctrl-names = "default"; + pinctrl-0 = <&mipicsi_clk0>; + pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>; + avdd-supply = <&vcc_avdd>; + dovdd-supply = <&vcc_dovdd>; + dvdd-supply = <&vcc_dvdd>; + rockchip,camera-module-index = <0>; + rockchip,camera-module-facing = "front"; + rockchip,camera-module-name = "YT-RV1109-2-V1"; + rockchip,camera-module-lens-name = "40IR-2MP-F20"; + port { + ucam_out0: endpoint { + remote-endpoint = <&mipi_in_ucam0>; + data-lanes = <1 2>; + }; + }; + }; +};