Lines Matching +full:gpio +full:- +full:mux
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 bindings
10 - Peter Rosin <peda@axentia.se>
13 Define what GPIO pins are used to control a multiplexer. Or several
17 multiplexer GPIO pins, where the first pin is the least significant
22 const: gpio-mux
24 mux-gpios:
28 '#mux-control-cells':
31 idle-state:
32 default: -1
35 - compatible
36 - mux-gpios
37 - "#mux-control-cells"
42 - |
43 #include <dt-bindings/gpio/gpio.h>
45 mux: mux-controller {
46 compatible = "gpio-mux";
47 #mux-control-cells = <0>;
49 mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>,
53 adc-mux {
54 compatible = "io-channel-mux";
55 io-channels = <&adc 0>;
56 io-channel-names = "parent";
58 mux-controls = <&mux>;
60 channels = "sync-1", "in", "out", "sync-2";
63 i2c-mux {
64 compatible = "i2c-mux";
65 i2c-parent = <&i2c1>;
67 mux-controls = <&mux>;
69 #address-cells = <1>;
70 #size-cells = <0>;
74 #address-cells = <1>;
75 #size-cells = <0>;
84 #address-cells = <1>;
85 #size-cells = <0>;