| # SPDX-License-Identifier: GPL-2.0 |
| $id: http://devicetree.org/schemas/media/video-mux.yaml# |
| $schema: http://devicetree.org/meta-schemas/core.yaml# |
| - Sakari Ailus <sakari.ailus@linux.intel.com> |
| - Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| Video multiplexers allow to select between multiple input ports. Video |
| received on the active input port is passed through to the output port. Muxes |
| described by this binding are controlled by a multiplexer controller. |
| $ref: /schemas/graph.yaml#/properties/ports |
| $ref: /schemas/graph.yaml#/properties/port |
| $ref: /schemas/graph.yaml#/properties/port |
| At least three port nodes containing endpoints connecting to the source |
| and sink devices according to of_graph bindings. The last port is the |
| output port, all others are inputs. |
| additionalProperties: false |
| #include <dt-bindings/gpio/gpio.h> |
| #mux-control-cells = <0>; |
| mux-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; |
| compatible = "video-mux"; |
| remote-endpoint = <&video_source0_out>; |
| remote-endpoint = <&video_source1_out>; |
| remote-endpoint = <&capture_interface_in>; |