1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2# Copyright (C) 2021 Intel Corporation 3%YAML 1.2 4--- 5$id: http://devicetree.org/schemas/media/i2c/ovti,ov9282.yaml# 6$schema: http://devicetree.org/meta-schemas/core.yaml# 7 8title: OmniVision OV9282 Sensor 9 10maintainers: 11 - Paul J. Murphy <paul.j.murphy@intel.com> 12 - Daniele Alessandrelli <daniele.alessandrelli@intel.com> 13 14description: 15 OV9282 sensor is an OmniVision black & white CMOS active pixel digital image 16 sensor with an active array size of 1296H x 816V. It is programmable through 17 I2C interface. The I2C client address is fixed to 0x60/0x70 as per sensor data 18 sheet. Image data is sent through MIPI CSI-2. 19 20properties: 21 compatible: 22 const: ovti,ov9282 23 reg: 24 description: I2C address 25 maxItems: 1 26 27 assigned-clocks: true 28 assigned-clock-parents: true 29 assigned-clock-rates: true 30 31 clocks: 32 description: Clock frequency from 6 to 27MHz 33 maxItems: 1 34 35 reset-gpios: 36 description: Reference to the GPIO connected to the XCLR pin, if any. 37 maxItems: 1 38 39 avdd-supply: 40 description: Analog voltage supply, 2.8 volts 41 42 dvdd-supply: 43 description: Digital core voltage supply, 1.2 volts 44 45 dovdd-supply: 46 description: Digital I/O voltage supply, 1.8 volts 47 48 port: 49 additionalProperties: false 50 $ref: /schemas/graph.yaml#/$defs/port-base 51 52 properties: 53 endpoint: 54 $ref: /schemas/media/video-interfaces.yaml# 55 unevaluatedProperties: false 56 57 properties: 58 data-lanes: true 59 link-frequencies: true 60 61 required: 62 - data-lanes 63 - link-frequencies 64 65 required: 66 - endpoint 67 68required: 69 - compatible 70 - reg 71 - clocks 72 - port 73 74additionalProperties: false 75 76examples: 77 - | 78 i2c0 { 79 #address-cells = <1>; 80 #size-cells = <0>; 81 82 camera@60 { 83 compatible = "ovti,ov9282"; 84 reg = <0x60>; 85 clocks = <&ov9282_clk>; 86 87 assigned-clocks = <&ov9282_clk>; 88 assigned-clock-parents = <&ov9282_clk_parent>; 89 assigned-clock-rates = <24000000>; 90 91 port { 92 ov9282: endpoint { 93 remote-endpoint = <&cam>; 94 data-lanes = <1 2>; 95 link-frequencies = /bits/ 64 <800000000>; 96 }; 97 }; 98 }; 99 }; 100... 101