brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · bce57b2 Raw
91 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,imx334.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Sony IMX334 Sensor9 10maintainers:11  - Paul J. Murphy <paul.j.murphy@intel.com>12  - Daniele Alessandrelli <daniele.alessandrelli@intel.com>13 14description:15  IMX334 sensor is a Sony CMOS active pixel digital image sensor with an active16  array size of 3864H x 2202V. 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    const: sony,imx33423  reg:24    description: I2C address25    maxItems: 126 27  assigned-clocks: true28  assigned-clock-parents: true29  assigned-clock-rates: true30 31  clocks:32    description: Clock frequency from 6 to 27 MHz, 37.125MHz, 74.25MHz33    maxItems: 134 35  reset-gpios:36    description: Reference to the GPIO connected to the XCLR pin, if any.37 38  port:39    additionalProperties: false40    $ref: /schemas/graph.yaml#/$defs/port-base41 42    properties:43      endpoint:44        $ref: /schemas/media/video-interfaces.yaml#45        unevaluatedProperties: false46 47        properties:48          data-lanes: true49          link-frequencies: true50 51        required:52          - data-lanes53          - link-frequencies54 55    required:56      - endpoint57 58required:59  - compatible60  - reg61  - clocks62  - port63 64additionalProperties: false65 66examples:67  - |68    i2c {69        #address-cells = <1>;70        #size-cells = <0>;71 72        camera@1a {73            compatible = "sony,imx334";74            reg = <0x1a>;75            clocks = <&imx334_clk>;76 77            assigned-clocks = <&imx334_clk>;78            assigned-clock-parents = <&imx334_clk_parent>;79            assigned-clock-rates = <24000000>;80 81            port {82                imx334: endpoint {83                    remote-endpoint = <&cam>;84                    data-lanes = <1 2 3 4>;85                    link-frequencies = /bits/ 64 <891000000 445500000>;86                };87            };88        };89    };90...91