brintos

brintos / linux-shallow public Read only

0
0
Text · 2.7 KiB · 34962c5 Raw
116 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/media/i2c/sony,imx415.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Sony IMX415 CMOS Image Sensor8 9maintainers:10  - Michael Riesch <michael.riesch@wolfvision.net>11 12description: |-13  The Sony IMX415 is a diagonal 6.4 mm (Type 1/2.8) CMOS active pixel type14  solid-state image sensor with a square pixel array and 8.46 M effective15  pixels. This chip operates with analog 2.9 V, digital 1.1 V, and interface16  1.8 V triple power supply, and has low power consumption.17  The IMX415 is programmable through I2C interface. The sensor output is18  available via CSI-2 serial data output (two or four lanes).19 20allOf:21  - $ref: /schemas/media/video-interface-devices.yaml#22 23properties:24  compatible:25    const: sony,imx41526 27  reg:28    maxItems: 129 30  clocks:31    description: Input clock (24 MHz, 27 MHz, 37.125 MHz, 72 MHz or 74.25 MHz)32    maxItems: 133 34  avdd-supply:35    description: Analog power supply (2.9 V)36 37  dvdd-supply:38    description: Digital power supply (1.1 V)39 40  ovdd-supply:41    description: Interface power supply (1.8 V)42 43  reset-gpios:44    description: Sensor reset (XCLR) GPIO45    maxItems: 146 47  port:48    $ref: /schemas/graph.yaml#/$defs/port-base49    unevaluatedProperties: false50 51    properties:52      endpoint:53        $ref: /schemas/media/video-interfaces.yaml#54        unevaluatedProperties: false55 56        properties:57          data-lanes:58            oneOf:59              - items:60                  - const: 161                  - const: 262              - items:63                  - const: 164                  - const: 265                  - const: 366                  - const: 467 68        required:69          - data-lanes70          - link-frequencies71 72    required:73      - endpoint74 75required:76  - compatible77  - reg78  - clocks79  - avdd-supply80  - dvdd-supply81  - ovdd-supply82  - port83 84unevaluatedProperties: false85 86examples:87  - |88    #include <dt-bindings/gpio/gpio.h>89 90    i2c {91        #address-cells = <1>;92        #size-cells = <0>;93 94        imx415: camera-sensor@1a {95            compatible = "sony,imx415";96            reg = <0x1a>;97            avdd-supply = <&vcc2v9_cam>;98            clocks = <&clock_cam>;99            dvdd-supply = <&vcc1v1_cam>;100            lens-focus = <&vcm>;101            orientation = <2>;102            ovdd-supply = <&vcc1v8_cam>;103            reset-gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>;104            rotation = <180>;105 106            port {107                imx415_ep: endpoint {108                    data-lanes = <1 2 3 4>;109                    link-frequencies = /bits/ 64 <445500000>;110                    remote-endpoint = <&mipi_in>;111                };112            };113        };114    };115...116