brintos

brintos / linux-shallow public Read only

0
0
Text · 2.8 KiB · 0162eec Raw
126 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/media/i2c/sony,imx214.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Sony 1/3.06-Inch 13.13MP CMOS Digital Image Sensor8 9maintainers:10  - Ricardo Ribalda <ribalda@kernel.org>11 12description: |13  The Sony IMX214 is a 1/3.06-inch CMOS active pixel digital image sensor with14  an active array size of 4224H x 3200V. It is programmable through an I2C15  interface. Image data is sent through MIPI CSI-2, through 2 or 4 lanes at a16  maximum throughput of 1.2Gbps/lane.17 18allOf:19  - $ref: /schemas/media/video-interface-devices.yaml#20 21properties:22  compatible:23    const: sony,imx21424 25  reg:26    enum:27      - 0x1028      - 0x1a29 30  clocks:31    description: Reference to the xclk clock.32    maxItems: 133 34  clock-frequency:35    description: Frequency of the xclk clock in Hz.36 37  enable-gpios:38    description: GPIO descriptor for the enable pin.39    maxItems: 140 41  vdddo-supply:42    description: Chip digital IO regulator (1.8V).43 44  vdda-supply:45    description: Chip analog regulator (2.7V).46 47  vddd-supply:48    description: Chip digital core regulator (1.12V).49 50  flash-leds: true51  lens-focus: true52 53  port:54    $ref: /schemas/graph.yaml#/$defs/port-base55    description: |56      Video output port.57 58    properties:59      endpoint:60        $ref: /schemas/media/video-interfaces.yaml#61        unevaluatedProperties: false62 63        properties:64          data-lanes:65            anyOf:66              - items:67                  - const: 168                  - const: 269              - items:70                  - const: 171                  - const: 272                  - const: 373                  - const: 474 75          link-frequencies: true76 77        required:78          - data-lanes79          - link-frequencies80 81    additionalProperties: false82 83required:84  - compatible85  - reg86  - clocks87  - clock-frequency88  - enable-gpios89  - vdddo-supply90  - vdda-supply91  - vddd-supply92  - port93 94unevaluatedProperties: false95 96examples:97  - |98    #include <dt-bindings/gpio/gpio.h>99 100    i2c {101        #address-cells = <1>;102        #size-cells = <0>;103 104        camera-sensor@1a {105            compatible = "sony,imx214";106            reg = <0x1a>;107            vdddo-supply = <&pm8994_lvs1>;108            vddd-supply = <&camera_vddd_1v12>;109            vdda-supply = <&pm8994_l17>;110            lens-focus = <&ad5820>;111            enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;112            clocks = <&camera_clk>;113            clock-frequency = <24000000>;114 115            port {116                imx214_ep: endpoint {117                    data-lanes = <1 2 3 4>;118                    link-frequencies = /bits/ 64 <480000000>;119                    remote-endpoint = <&csiphy0_ep>;120                };121            };122        };123    };124 125...126