FILE
ovti,ov7251.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/media/i2c/ovti,ov7251.yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/i2c/ovti,ov7251.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: OmniVision OV7251 Image Sensor 8 9description: 10 The Omnivision OV7251 is a 1/7.5-Inch CMOS active pixel digital image sensor 11 with an active array size of 640H x 480V. It is programmable through a serial 12 I2C interface. 13 14maintainers: 15 - Todor Tomov <todor.too@gmail.com> 16 17properties: 18 compatible: 19 const: ovti,ov7251 20 21 reg: 22 maxItems: 1 23 24 clocks: 25 description: XCLK Input Clock 26 27 clock-names: 28 const: xclk 29 30 clock-frequency: 31 description: Frequency of the xclk clock in Hz. 32 deprecated: true 33 34 vdda-supply: 35 description: Analog voltage supply, 2.8 volts 36 37 vddd-supply: 38 description: Digital core voltage supply, 1.2 volts 39 40 vdddo-supply: 41 description: Digital I/O voltage supply, 1.8 volts 42 43 enable-gpios: 44 maxItems: 1 45 description: 46 Reference to the GPIO connected to the XSHUTDOWN pin, if any. Polarity 47 is GPIO_ACTIVE_HIGH. 48 49 port: 50 description: Digital Output Port 51 $ref: /schemas/graph.yaml#/$defs/port-base 52 additionalProperties: false 53 54 properties: 55 endpoint: 56 $ref: /schemas/media/video-interfaces.yaml# 57 unevaluatedProperties: false 58 59 properties: 60 clock-lanes: 61 maximum: 1 62 63 data-lanes: 64 maxItems: 1 65 66 link-frequencies: true 67 68 required: 69 - data-lanes 70 - link-frequencies 71 72required: 73 - compatible 74 - reg 75 - clocks 76 - vdddo-supply 77 - vdda-supply 78 - port 79 80additionalProperties: false 81 82examples: 83 - | 84 #include <dt-bindings/gpio/gpio.h> 85 86 i2c { 87 #address-cells = <1>; 88 #size-cells = <0>; 89 90 camera@3c { 91 compatible = "ovti,ov7251"; 92 reg = <0x3c>; 93 94 clocks = <&clks 1>; 95 assigned-clocks = <&clks 1>; 96 assigned-clock-rates = <24000000>; 97 98 vdddo-supply = <&ov7251_vdddo_1v8>; 99 vdda-supply = <&ov7251_vdda_2v8>; 100 vddd-supply = <&ov7251_vddd_1v5>; 101 enable-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>; 102 103 port { 104 ov7251_ep: endpoint { 105 remote-endpoint = <&csi0_ep>; 106 clock-lanes = <1>; 107 data-lanes = <0>; 108 link-frequencies = /bits/ 64 <240000000 319200000>; 109 }; 110 }; 111 }; 112 }; 113...
~/
Read-only file preview.