brintos

brintos / linux-shallow public Read only

0
0
Text · 2.4 KiB · e4f49f1 Raw
108 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (C) 2024 Ideas on Board Oy3%YAML 1.24---5$id: http://devicetree.org/schemas/media/i2c/sony,imx283.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Sony IMX283 Sensor9 10maintainers:11  - Kieran Bingham <kieran.bingham@ideasonboard.com>12  - Umang Jain <umang.jain@ideasonboard.com>13 14description:15  IMX283 sensor is a Sony CMOS active pixel digital image sensor with an active16  array size of 5472H x 3648V. 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,imx28323 24  reg:25    maxItems: 126 27  clocks:28    description: Clock frequency from 6 to 24 MHz.29    maxItems: 130 31  vadd-supply:32    description: Analog power supply (2.9V)33 34  vdd1-supply:35    description: Interface power supply (1.8V)36 37  vdd2-supply:38    description: Digital power supply (1.2V)39 40  reset-gpios:41    description: Sensor reset (XCLR) GPIO42    maxItems: 143 44  port:45    $ref: /schemas/graph.yaml#/$defs/port-base46    additionalProperties: false47 48    properties:49      endpoint:50        $ref: /schemas/media/video-interfaces.yaml#51        unevaluatedProperties: false52 53        properties:54          data-lanes:55            anyOf:56              - items:57                  - const: 158                  - const: 259                  - const: 360                  - const: 461 62          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@1a {86            compatible = "sony,imx283";87            reg = <0x1a>;88            clocks = <&imx283_clk>;89 90            assigned-clocks = <&imx283_clk>;91            assigned-clock-parents = <&imx283_clk_parent>;92            assigned-clock-rates = <12000000>;93 94            vadd-supply = <&camera_vadd_2v9>;95            vdd1-supply = <&camera_vdd1_1v8>;96            vdd2-supply = <&camera_vdd2_1v2>;97 98            port {99                imx283: endpoint {100                    remote-endpoint = <&cam>;101                    data-lanes = <1 2 3 4>;102                    link-frequencies = /bits/ 64 <360000000>;103                };104            };105        };106    };107...108