brintos

brintos / linux-shallow public Read only

0
0
Text · 2.4 KiB · 034a6e3 Raw
114 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/isil,isl79987.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Intersil ISL79987 Analog to MIPI CSI-2 decoder8 9maintainers:10  - Michael Tretter <m.tretter@pengutronix.de>11  - Marek Vasut <marex@denx.de>12 13description:14  The Intersil ISL79987 is an analog to MIPI CSI-2 decoder which is capable of15  receiving up to four analog stream and multiplexing them into up to four MIPI16  CSI-2 virtual channels, using one MIPI clock lane and 1/2 data lanes.17 18properties:19  compatible:20    enum:21      - isil,isl7998722 23  reg:24    maxItems: 125 26  reset-gpios:27    maxItems: 128    description:29      A GPIO spec for the RSTB pin (active high)30 31  powerdown-gpios:32    maxItems: 133    description:34      A GPIO spec for the Power Down pin (active high)35 36  ports:37    $ref: /schemas/graph.yaml#/properties/ports38    properties:39      port@0:40        $ref: /schemas/graph.yaml#/$defs/port-base41        unevaluatedProperties: false42        description: Output port43 44        properties:45          endpoint:46            $ref: /schemas/media/video-interfaces.yaml#47            unevaluatedProperties: false48 49            properties:50              data-lanes:51                minItems: 152                maxItems: 253 54            required:55              - data-lanes56 57    patternProperties:58      "^port@[1-4]$":59        $ref: /schemas/graph.yaml#/properties/port60        description: Input ports61 62    required:63      - port@064 65additionalProperties: false66 67required:68  - compatible69  - reg70  - ports71 72examples:73  - |74    #include <dt-bindings/gpio/gpio.h>75 76    i2c {77      #address-cells = <1>;78      #size-cells = <0>;79 80      isl7998x_mipi@44 {81        compatible = "isil,isl79987";82        reg = <0x44>;83        powerdown-gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;84        reset-gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;85 86        ports {87          #address-cells = <1>;88          #size-cells = <0>;89 90          port@0 {91            reg = <0>;92            isl79987_out: endpoint {93              remote-endpoint = <&mipi_csi2_in>;94              data-lanes = <1 2>;95            };96          };97 98          port@1 {99            reg = <1>;100            endpoint {101              remote-endpoint = <&camera_0>;102            };103          };104 105          port@2 {106            reg = <2>;107            endpoint {108              remote-endpoint = <&camera_1>;109            };110          };111        };112      };113    };114