1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 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 decoder 8 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 of 15 receiving up to four analog stream and multiplexing them into up to four MIPI 16 CSI-2 virtual channels, using one MIPI clock lane and 1/2 data lanes. 17 18properties: 19 compatible: 20 enum: 21 - isil,isl79987 22 23 reg: 24 maxItems: 1 25 26 reset-gpios: 27 maxItems: 1 28 description: 29 A GPIO spec for the RSTB pin (active high) 30 31 powerdown-gpios: 32 maxItems: 1 33 description: 34 A GPIO spec for the Power Down pin (active high) 35 36 ports: 37 $ref: /schemas/graph.yaml#/properties/ports 38 properties: 39 port@0: 40 $ref: /schemas/graph.yaml#/$defs/port-base 41 unevaluatedProperties: false 42 description: Output port 43 44 properties: 45 endpoint: 46 $ref: /schemas/media/video-interfaces.yaml# 47 unevaluatedProperties: false 48 49 properties: 50 data-lanes: 51 minItems: 1 52 maxItems: 2 53 54 required: 55 - data-lanes 56 57 patternProperties: 58 "^port@[1-4]$": 59 $ref: /schemas/graph.yaml#/properties/port 60 description: Input ports 61 62 required: 63 - port@0 64 65additionalProperties: false 66 67required: 68 - compatible 69 - reg 70 - ports 71 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