104 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (C) 2021 Intel Corporation3%YAML 1.24---5$id: http://devicetree.org/schemas/media/i2c/ovti,ov9282.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: OmniVision OV9282 Sensor9 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 image16 sensor with an active array size of 1296H x 816V. It is programmable through17 I2C interface. The I2C client address is fixed to 0x60/0x70 as per sensor data18 sheet. Image data is sent through MIPI CSI-2.19 OV9281 has a different lens chief ray angle.20 21properties:22 compatible:23 enum:24 - ovti,ov928125 - ovti,ov928226 reg:27 description: I2C address28 maxItems: 129 30 assigned-clocks: true31 assigned-clock-parents: true32 assigned-clock-rates: true33 34 clocks:35 description: Clock frequency from 6 to 27MHz36 maxItems: 137 38 reset-gpios:39 description: Reference to the GPIO connected to the XCLR pin, if any.40 maxItems: 141 42 avdd-supply:43 description: Analog voltage supply, 2.8 volts44 45 dvdd-supply:46 description: Digital core voltage supply, 1.2 volts47 48 dovdd-supply:49 description: Digital I/O voltage supply, 1.8 volts50 51 port:52 additionalProperties: false53 $ref: /schemas/graph.yaml#/$defs/port-base54 55 properties:56 endpoint:57 $ref: /schemas/media/video-interfaces.yaml#58 unevaluatedProperties: false59 60 properties:61 data-lanes: true62 link-frequencies: true63 64 required:65 - data-lanes66 - link-frequencies67 68 required:69 - endpoint70 71required:72 - compatible73 - reg74 - clocks75 - port76 77additionalProperties: false78 79examples:80 - |81 i2c {82 #address-cells = <1>;83 #size-cells = <0>;84 85 camera@60 {86 compatible = "ovti,ov9282";87 reg = <0x60>;88 clocks = <&ov9282_clk>;89 90 assigned-clocks = <&ov9282_clk>;91 assigned-clock-parents = <&ov9282_clk_parent>;92 assigned-clock-rates = <24000000>;93 94 port {95 ov9282: endpoint {96 remote-endpoint = <&cam>;97 data-lanes = <1 2>;98 link-frequencies = /bits/ 64 <800000000>;99 };100 };101 };102 };103...104