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-supply:
32 '#mux-control-cells':
35 '#mux-state-cells':
38 idle-state:
39 default: -1
42 - compatible
43 - mux-gpios
45 - required:
46 - "#mux-control-cells"
47 - required:
48 - "#mux-state-cells"
53 - |
54 #include <dt-bindings/gpio/gpio.h>
56 mux: mux-controller {
57 compatible = "gpio-mux";
58 #mux-control-cells = <0>;
60 mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>,
64 adc-mux {
65 compatible = "io-channel-mux";
66 io-channels = <&adc 0>;
67 io-channel-names = "parent";
69 mux-controls = <&mux>;
71 channels = "sync-1", "in", "out", "sync-2";
74 i2c-mux {
75 compatible = "i2c-mux";
76 i2c-parent = <&i2c1>;
78 mux-controls = <&mux>;
80 #address-cells = <1>;
81 #size-cells = <0>;
85 #address-cells = <1>;
86 #size-cells = <0>;
95 #address-cells = <1>;
96 #size-cells = <0>;