brintos

brintos / linux-shallow public Read only

0
0
Text · 2.3 KiB · d9b7815 Raw
103 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/sony,imx412.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Sony IMX412 Sensor9 10maintainers:11  - Paul J. Murphy <paul.j.murphy@intel.com>12  - Daniele Alessandrelli <daniele.alessandrelli@intel.com>13 14description:15  IMX412 sensor is a Sony CMOS active pixel digital image sensor with an active16  array size of 4072H x 3176V. It is programmable through I2C interface. The17  I2C client address is fixed to 0x1a as per sensor data sheet. Image data is18  sent through MIPI CSI-2.19 20properties:21  compatible:22    enum:23      - sony,imx41224      - sony,imx57725  reg:26    description: I2C address27    maxItems: 128 29  assigned-clocks: true30  assigned-clock-parents: true31  assigned-clock-rates: true32 33  clocks:34    description: Clock frequency 6MHz, 12MHz, 18MHz, 24MHz or 27MHz35    maxItems: 136 37  dovdd-supply:38    description: Interface power supply.39 40  avdd-supply:41    description: Analog power supply.42 43  dvdd-supply:44    description: Digital power supply.45 46  reset-gpios:47    description: Reference to the GPIO connected to the XCLR pin, if any.48    maxItems: 149 50  port:51    additionalProperties: false52    $ref: /schemas/graph.yaml#/$defs/port-base53 54    properties:55      endpoint:56        $ref: /schemas/media/video-interfaces.yaml#57        unevaluatedProperties: false58 59        properties:60          data-lanes: true61          link-frequencies: true62 63        required:64          - data-lanes65          - link-frequencies66 67    required:68      - endpoint69 70required:71  - compatible72  - reg73  - clocks74  - port75 76additionalProperties: false77 78examples:79  - |80    i2c {81        #address-cells = <1>;82        #size-cells = <0>;83 84        camera@1a {85            compatible = "sony,imx412";86            reg = <0x1a>;87            clocks = <&imx412_clk>;88 89            assigned-clocks = <&imx412_clk>;90            assigned-clock-parents = <&imx412_clk_parent>;91            assigned-clock-rates = <24000000>;92 93            port {94                imx412: endpoint {95                    remote-endpoint = <&cam>;96                    data-lanes = <1 2 3 4>;97                    link-frequencies = /bits/ 64 <600000000>;98                };99            };100        };101    };102...103