1 * Omnivision OV7740 CMOS image sensor 1 * Omnivision OV7740 CMOS image sensor 2 2 3 The Omnivision OV7740 image sensor supports mu 3 The Omnivision OV7740 image sensor supports multiple output image 4 size, such as VGA, and QVGA, CIF and any size 4 size, such as VGA, and QVGA, CIF and any size smaller. It also 5 supports the RAW RGB and YUV output formats. 5 supports the RAW RGB and YUV output formats. 6 6 7 The common video interfaces bindings (see vide 7 The common video interfaces bindings (see video-interfaces.txt) should 8 be used to specify link to the image data rece 8 be used to specify link to the image data receiver. The OV7740 device 9 node should contain one 'port' child node with 9 node should contain one 'port' child node with an 'endpoint' subnode. 10 10 11 Required Properties: 11 Required Properties: 12 - compatible: "ovti,ov7740". 12 - compatible: "ovti,ov7740". 13 - reg: I2C slave address of the senso 13 - reg: I2C slave address of the sensor. 14 - clocks: Reference to the xvclk input c 14 - clocks: Reference to the xvclk input clock. 15 - clock-names: "xvclk". 15 - clock-names: "xvclk". 16 16 17 Optional Properties: 17 Optional Properties: 18 - reset-gpios: Rreference to the GPIO connecte 18 - reset-gpios: Rreference to the GPIO connected to the reset_b pin, 19 if any. Active low with pull-ip resistor. 19 if any. Active low with pull-ip resistor. 20 - powerdown-gpios: Reference to the GPIO conne 20 - powerdown-gpios: Reference to the GPIO connected to the pwdn pin, 21 if any. Active high with pull-down resistor. 21 if any. Active high with pull-down resistor. 22 22 23 Endpoint node mandatory properties: 23 Endpoint node mandatory properties: 24 - remote-endpoint: A phandle to the bus receiv 24 - remote-endpoint: A phandle to the bus receiver's endpoint node. 25 25 26 Example: 26 Example: 27 27 28 i2c1: i2c@fc028000 { 28 i2c1: i2c@fc028000 { 29 ov7740: camera@21 { 29 ov7740: camera@21 { 30 compatible = "ovti,ov7 30 compatible = "ovti,ov7740"; 31 reg = <0x21>; 31 reg = <0x21>; 32 pinctrl-names = "defau 32 pinctrl-names = "default"; 33 pinctrl-0 = <&pinctrl_ 33 pinctrl-0 = <&pinctrl_sensor_power &pinctrl_sensor_reset>; 34 clocks = <&isc>; 34 clocks = <&isc>; 35 clock-names = "xvclk"; 35 clock-names = "xvclk"; 36 assigned-clocks = <&is 36 assigned-clocks = <&isc>; 37 assigned-clock-rates = 37 assigned-clock-rates = <24000000>; 38 reset-gpios = <&pioA 4 38 reset-gpios = <&pioA 43 GPIO_ACTIVE_LOW>; 39 powerdown-gpios = <&pi 39 powerdown-gpios = <&pioA 44 GPIO_ACTIVE_HIGH>; 40 40 41 port { 41 port { 42 ov7740_0: endp 42 ov7740_0: endpoint { 43 remote 43 remote-endpoint = <&isc_0>; 44 }; 44 }; 45 }; 45 }; 46 }; 46 }; 47 }; 47 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.