File Index
Files and directories
Sign in
FILE

sony,imx335.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml YAML
  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/sony,imx335.yaml#
  6$schema: http://devicetree.org/meta-schemas/core.yaml#
  7
  8title: Sony IMX335 Sensor
  9
 10maintainers:
 11  - Paul J. Murphy <paul.j.murphy@intel.com>
 12  - Daniele Alessandrelli <daniele.alessandrelli@intel.com>
 13
 14description:
 15  IMX335 sensor is a Sony CMOS active pixel digital image sensor with an active
 16  array size of 2592H x 1944V. It is programmable through I2C interface. The
 17  I2C client address is fixed to 0x1a as per sensor data sheet. Image data is
 18  sent through MIPI CSI-2.
 19
 20properties:
 21  compatible:
 22    const: sony,imx335
 23  reg:
 24    description: I2C address
 25    maxItems: 1
 26
 27  clocks:
 28    description: Clock frequency from 6 to 27 MHz, 37.125MHz, 74.25MHz
 29    maxItems: 1
 30
 31  avdd-supply:
 32    description: Analog power supply (2.9V)
 33
 34  ovdd-supply:
 35    description: Interface power supply (1.8V)
 36
 37  dvdd-supply:
 38    description: Digital power supply (1.2V)
 39
 40  reset-gpios:
 41    description: Reference to the GPIO connected to the XCLR pin, if any.
 42    maxItems: 1
 43
 44  port:
 45    additionalProperties: false
 46    $ref: /schemas/graph.yaml#/$defs/port-base
 47
 48    properties:
 49      endpoint:
 50        $ref: /schemas/media/video-interfaces.yaml#
 51        unevaluatedProperties: false
 52
 53        properties:
 54          data-lanes: true
 55          link-frequencies: true
 56
 57        required:
 58          - data-lanes
 59          - link-frequencies
 60
 61    required:
 62      - endpoint
 63
 64required:
 65  - compatible
 66  - reg
 67  - clocks
 68  - port
 69
 70additionalProperties: false
 71
 72examples:
 73  - |
 74    #include <dt-bindings/gpio/gpio.h>
 75
 76    i2c {
 77        #address-cells = <1>;
 78        #size-cells = <0>;
 79
 80        camera@1a {
 81            compatible = "sony,imx335";
 82            reg = <0x1a>;
 83            clocks = <&imx335_clk>;
 84
 85            avdd-supply = <&camera_vdda_2v9>;
 86            ovdd-supply = <&camera_vddo_1v8>;
 87            dvdd-supply = <&camera_vddd_1v2>;
 88
 89            reset-gpios = <&gpio 50 GPIO_ACTIVE_LOW>;
 90
 91            port {
 92                imx335: endpoint {
 93                    remote-endpoint = <&cam>;
 94                    data-lanes = <1 2 3 4>;
 95                    link-frequencies = /bits/ 64 <594000000>;
 96                };
 97            };
 98        };
 99    };
100...
~/ Read-only file preview.