1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/media/i2c/o 4 $id: http://devicetree.org/schemas/media/i2c/ovti,ov2680.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Omnivision OV2680 CMOS Sensor 7 title: Omnivision OV2680 CMOS Sensor 8 8 9 maintainers: 9 maintainers: 10 - Rui Miguel Silva <rmfrfs@gmail.com> 10 - Rui Miguel Silva <rmfrfs@gmail.com> 11 11 12 description: |- 12 description: |- 13 The OV2680 color sensor is a low voltage, hi 13 The OV2680 color sensor is a low voltage, high performance 1/5 inch UXGA (2 14 megapixel) CMOS image sensor that provides a 14 megapixel) CMOS image sensor that provides a single-chip UXGA (1600 x 1200) 15 camera. It provides full-frame, sub-sampled, 15 camera. It provides full-frame, sub-sampled, or windowed 10-bit images in 16 various formats via the control of the Seria 16 various formats via the control of the Serial Camera Control Bus (SCCB) 17 interface. The OV2680 has an image array cap 17 interface. The OV2680 has an image array capable of operating at up to 30 18 frames per second (fps) in UXGA resolution. 18 frames per second (fps) in UXGA resolution. 19 19 20 properties: 20 properties: 21 compatible: 21 compatible: 22 const: ovti,ov2680 22 const: ovti,ov2680 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 clocks: 27 clocks: 28 maxItems: 1 28 maxItems: 1 29 29 30 clock-names: 30 clock-names: 31 const: xvclk 31 const: xvclk 32 32 33 reset-gpios: 33 reset-gpios: 34 description: 34 description: 35 The phandle and specifier for the GPIO t 35 The phandle and specifier for the GPIO that controls sensor reset. 36 This corresponds to the hardware pin XSH 36 This corresponds to the hardware pin XSHUTDOWN which is physically 37 active low. 37 active low. 38 maxItems: 1 38 maxItems: 1 39 39 40 DOVDD-supply: 40 DOVDD-supply: 41 description: 41 description: 42 Definition of the regulator used as inte 42 Definition of the regulator used as interface power supply. 43 43 44 AVDD-supply: 44 AVDD-supply: 45 description: 45 description: 46 Definition of the regulator used as anal 46 Definition of the regulator used as analog power supply. 47 47 48 DVDD-supply: 48 DVDD-supply: 49 description: 49 description: 50 Definition of the regulator used as digi 50 Definition of the regulator used as digital power supply. 51 51 52 port: 52 port: 53 description: 53 description: 54 A node containing an output port node. 54 A node containing an output port node. 55 $ref: /schemas/graph.yaml#/$defs/port-base 55 $ref: /schemas/graph.yaml#/$defs/port-base 56 additionalProperties: false 56 additionalProperties: false 57 57 58 properties: 58 properties: 59 endpoint: 59 endpoint: 60 $ref: /schemas/media/video-interfaces. 60 $ref: /schemas/media/video-interfaces.yaml# 61 additionalProperties: false 61 additionalProperties: false 62 62 63 properties: 63 properties: 64 link-frequencies: true 64 link-frequencies: true 65 65 66 remote-endpoint: true 66 remote-endpoint: true 67 67 68 required: 68 required: 69 - link-frequencies 69 - link-frequencies 70 70 71 required: 71 required: 72 - compatible 72 - compatible 73 - reg 73 - reg 74 - clocks 74 - clocks 75 - clock-names 75 - clock-names 76 - DOVDD-supply 76 - DOVDD-supply 77 - AVDD-supply 77 - AVDD-supply 78 - DVDD-supply 78 - DVDD-supply 79 - reset-gpios 79 - reset-gpios 80 - port 80 - port 81 81 82 additionalProperties: false 82 additionalProperties: false 83 83 84 examples: 84 examples: 85 - | 85 - | 86 #include <dt-bindings/gpio/gpio.h> 86 #include <dt-bindings/gpio/gpio.h> 87 87 88 i2c { 88 i2c { 89 #address-cells = <1>; 89 #address-cells = <1>; 90 #size-cells = <0>; 90 #size-cells = <0>; 91 91 92 ov2680: camera-sensor@36 { 92 ov2680: camera-sensor@36 { 93 compatible = "ovti,ov2680"; 93 compatible = "ovti,ov2680"; 94 reg = <0x36>; 94 reg = <0x36>; 95 clocks = <&osc>; 95 clocks = <&osc>; 96 clock-names = "xvclk"; 96 clock-names = "xvclk"; 97 reset-gpios = <&gpio1 3 GPIO_A 97 reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; 98 98 99 DOVDD-supply = <&sw2_reg>; 99 DOVDD-supply = <&sw2_reg>; 100 DVDD-supply = <&sw2_reg>; 100 DVDD-supply = <&sw2_reg>; 101 AVDD-supply = <®_peri_3p15v 101 AVDD-supply = <®_peri_3p15v>; 102 102 103 port { 103 port { 104 ov2680_to_mipi: endpoi 104 ov2680_to_mipi: endpoint { 105 remote-endpoin 105 remote-endpoint = <&mipi_from_sensor>; 106 link-frequenci 106 link-frequencies = /bits/ 64 <330000000>; 107 }; 107 }; 108 }; 108 }; 109 }; 109 }; 110 }; 110 }; 111 111 112 ... 112 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.