109 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,imx335.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Sony IMX335 Sensor9 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 active16 array size of 2592H x 1944V. 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,imx33523 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 avdd-supply:36 description: Analog power supply (2.9V)37 38 ovdd-supply:39 description: Interface power supply (1.8V)40 41 dvdd-supply:42 description: Digital power supply (1.2V)43 44 reset-gpios:45 description: Reference to the GPIO connected to the XCLR pin, if any.46 maxItems: 147 48 port:49 additionalProperties: false50 $ref: /schemas/graph.yaml#/$defs/port-base51 52 properties:53 endpoint:54 $ref: /schemas/media/video-interfaces.yaml#55 unevaluatedProperties: false56 57 properties:58 data-lanes: true59 link-frequencies: true60 61 required:62 - data-lanes63 - link-frequencies64 65 required:66 - endpoint67 68required:69 - compatible70 - reg71 - clocks72 - port73 74additionalProperties: false75 76examples:77 - |78 #include <dt-bindings/gpio/gpio.h>79 80 i2c {81 #address-cells = <1>;82 #size-cells = <0>;83 84 camera@1a {85 compatible = "sony,imx335";86 reg = <0x1a>;87 clocks = <&imx335_clk>;88 89 assigned-clocks = <&imx335_clk>;90 assigned-clock-parents = <&imx335_clk_parent>;91 assigned-clock-rates = <24000000>;92 93 avdd-supply = <&camera_vdda_2v9>;94 ovdd-supply = <&camera_vddo_1v8>;95 dvdd-supply = <&camera_vddd_1v2>;96 97 reset-gpios = <&gpio 50 GPIO_ACTIVE_LOW>;98 99 port {100 imx335: endpoint {101 remote-endpoint = <&cam>;102 data-lanes = <1 2 3 4>;103 link-frequencies = /bits/ 64 <594000000>;104 };105 };106 };107 };108...109