Lines Matching +full:mux +full:- +full:control +full:- +full:names
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mux/gpio-mux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO-based multiplexer controller
10 - Peter Rosin <peda@axentia.se>
13 Define what GPIO pins are used to control a multiplexer. Or several
14 multiplexers, if the same pins control more than one multiplexer.
22 const: gpio-mux
24 mux-gpios:
26 List of gpios used to control the multiplexer, least significant bit first.
28 '#mux-control-cells':
31 '#mux-state-cells':
34 idle-state:
35 default: -1
38 - compatible
39 - mux-gpios
41 - required:
42 - "#mux-control-cells"
43 - required:
44 - "#mux-state-cells"
49 - |
50 #include <dt-bindings/gpio/gpio.h>
52 mux: mux-controller {
53 compatible = "gpio-mux";
54 #mux-control-cells = <0>;
56 mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>,
60 adc-mux {
61 compatible = "io-channel-mux";
62 io-channels = <&adc 0>;
63 io-channel-names = "parent";
65 mux-controls = <&mux>;
67 channels = "sync-1", "in", "out", "sync-2";
70 i2c-mux {
71 compatible = "i2c-mux";
72 i2c-parent = <&i2c1>;
74 mux-controls = <&mux>;
76 #address-cells = <1>;
77 #size-cells = <0>;
81 #address-cells = <1>;
82 #size-cells = <0>;
91 #address-cells = <1>;
92 #size-cells = <0>;