1 Bindings for Analog Devices ADG792A/G Triple 4:1 Multiplexers
4 - compatible : "adi,adg792a" or "adi,adg792g"
5 - #mux-control-cells : <0> if parallel (the three muxes are bound together
6 with a single mux controller controlling all three muxes), or <1> if
7 not (one mux controller for each mux).
8 * Standard mux-controller bindings as described in mux-controller.txt
10 Optional properties for ADG792G:
11 - gpio-controller : if present, #gpio-cells below is required.
12 - #gpio-cells : should be <2>
13 - First cell is the GPO line number, i.e. 0 or 1
14 - Second cell is used to specify active high (0)
18 - idle-state : if present, array of states that the mux controllers will have
19 when idle. The special state MUX_IDLE_AS_IS is the default and
20 MUX_IDLE_DISCONNECT is also supported.
22 States 0 through 3 correspond to signals A through D in the datasheet.
27 * Three independent mux controllers (of which one is used).
28 * Mux 0 is disconnected when idle, mux 1 idles in the previously
29 * selected state and mux 2 idles with signal B.
32 mux: mux-controller@50 {
33 compatible = "adi,adg792a";
35 #mux-control-cells = <1>;
37 idle-state = <MUX_IDLE_DISCONNECT MUX_IDLE_AS_IS 1>;
42 compatible = "io-channel-mux";
43 io-channels = <&adc 0>;
44 io-channel-names = "parent";
46 mux-controls = <&mux 2>;
48 channels = "sync-1", "", "out";
53 * Three parallel muxes with one mux controller, useful e.g. if
54 * the adc is differential, thus needing two signals to be muxed
55 * simultaneously for correct operation.
58 pmux: mux-controller@50 {
59 compatible = "adi,adg792a";
61 #mux-control-cells = <0>;
68 compatible = "io-channel-mux";
69 io-channels = <&adc 0>;
70 io-channel-names = "parent";
72 mux-controls = <&pmux>;
74 channels = "sync-1", "", "out";