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