14874ea39SMartina Krasteva# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 24874ea39SMartina Krasteva# Copyright (C) 2021 Intel Corporation 34874ea39SMartina Krasteva%YAML 1.2 44874ea39SMartina Krasteva--- 54874ea39SMartina Krasteva$id: http://devicetree.org/schemas/media/i2c/ovti,ov9282.yaml# 64874ea39SMartina Krasteva$schema: http://devicetree.org/meta-schemas/core.yaml# 74874ea39SMartina Krasteva 84874ea39SMartina Krastevatitle: OmniVision OV9282 Sensor 94874ea39SMartina Krasteva 104874ea39SMartina Krastevamaintainers: 114874ea39SMartina Krasteva - Paul J. Murphy <paul.j.murphy@intel.com> 124874ea39SMartina Krasteva - Daniele Alessandrelli <daniele.alessandrelli@intel.com> 134874ea39SMartina Krasteva 144874ea39SMartina Krastevadescription: 154874ea39SMartina Krasteva OV9282 sensor is an OmniVision black & white CMOS active pixel digital image 164874ea39SMartina Krasteva sensor with an active array size of 1296H x 816V. It is programmable through 174874ea39SMartina Krasteva I2C interface. The I2C client address is fixed to 0x60/0x70 as per sensor data 184874ea39SMartina Krasteva sheet. Image data is sent through MIPI CSI-2. 19*7945cb53SAlexander Stein OV9281 has a different lens chief ray angle. 204874ea39SMartina Krasteva 214874ea39SMartina Krastevaproperties: 224874ea39SMartina Krasteva compatible: 23*7945cb53SAlexander Stein enum: 24*7945cb53SAlexander Stein - ovti,ov9281 25*7945cb53SAlexander Stein - ovti,ov9282 264874ea39SMartina Krasteva reg: 274874ea39SMartina Krasteva description: I2C address 284874ea39SMartina Krasteva maxItems: 1 294874ea39SMartina Krasteva 304874ea39SMartina Krasteva assigned-clocks: true 314874ea39SMartina Krasteva assigned-clock-parents: true 324874ea39SMartina Krasteva assigned-clock-rates: true 334874ea39SMartina Krasteva 344874ea39SMartina Krasteva clocks: 354874ea39SMartina Krasteva description: Clock frequency from 6 to 27MHz 364874ea39SMartina Krasteva maxItems: 1 374874ea39SMartina Krasteva 384874ea39SMartina Krasteva reset-gpios: 394874ea39SMartina Krasteva description: Reference to the GPIO connected to the XCLR pin, if any. 404874ea39SMartina Krasteva maxItems: 1 414874ea39SMartina Krasteva 4291707453SDave Stevenson avdd-supply: 4391707453SDave Stevenson description: Analog voltage supply, 2.8 volts 4491707453SDave Stevenson 4591707453SDave Stevenson dvdd-supply: 4691707453SDave Stevenson description: Digital core voltage supply, 1.2 volts 4791707453SDave Stevenson 4891707453SDave Stevenson dovdd-supply: 4991707453SDave Stevenson description: Digital I/O voltage supply, 1.8 volts 5091707453SDave Stevenson 514874ea39SMartina Krasteva port: 524874ea39SMartina Krasteva additionalProperties: false 5355442e6aSRob Herring $ref: /schemas/graph.yaml#/$defs/port-base 544874ea39SMartina Krasteva 554874ea39SMartina Krasteva properties: 564874ea39SMartina Krasteva endpoint: 574874ea39SMartina Krasteva $ref: /schemas/media/video-interfaces.yaml# 584874ea39SMartina Krasteva unevaluatedProperties: false 594874ea39SMartina Krasteva 604874ea39SMartina Krasteva properties: 614874ea39SMartina Krasteva data-lanes: true 624874ea39SMartina Krasteva link-frequencies: true 634874ea39SMartina Krasteva 644874ea39SMartina Krasteva required: 654874ea39SMartina Krasteva - data-lanes 664874ea39SMartina Krasteva - link-frequencies 674874ea39SMartina Krasteva 684874ea39SMartina Krasteva required: 694874ea39SMartina Krasteva - endpoint 704874ea39SMartina Krasteva 714874ea39SMartina Krastevarequired: 724874ea39SMartina Krasteva - compatible 734874ea39SMartina Krasteva - reg 744874ea39SMartina Krasteva - clocks 754874ea39SMartina Krasteva - port 764874ea39SMartina Krasteva 774874ea39SMartina KrastevaadditionalProperties: false 784874ea39SMartina Krasteva 794874ea39SMartina Krastevaexamples: 804874ea39SMartina Krasteva - | 814874ea39SMartina Krasteva i2c0 { 824874ea39SMartina Krasteva #address-cells = <1>; 834874ea39SMartina Krasteva #size-cells = <0>; 844874ea39SMartina Krasteva 854874ea39SMartina Krasteva camera@60 { 864874ea39SMartina Krasteva compatible = "ovti,ov9282"; 874874ea39SMartina Krasteva reg = <0x60>; 884874ea39SMartina Krasteva clocks = <&ov9282_clk>; 894874ea39SMartina Krasteva 904874ea39SMartina Krasteva assigned-clocks = <&ov9282_clk>; 914874ea39SMartina Krasteva assigned-clock-parents = <&ov9282_clk_parent>; 924874ea39SMartina Krasteva assigned-clock-rates = <24000000>; 934874ea39SMartina Krasteva 944874ea39SMartina Krasteva port { 954874ea39SMartina Krasteva ov9282: endpoint { 964874ea39SMartina Krasteva remote-endpoint = <&cam>; 974874ea39SMartina Krasteva data-lanes = <1 2>; 984874ea39SMartina Krasteva link-frequencies = /bits/ 64 <800000000>; 994874ea39SMartina Krasteva }; 1004874ea39SMartina Krasteva }; 1014874ea39SMartina Krasteva }; 1024874ea39SMartina Krasteva }; 1034874ea39SMartina Krasteva... 104