xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/mux/mux.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * This header provides constants for most Multiplexer bindings.
4*c66ec88fSEmmanuel Vadot  *
5*c66ec88fSEmmanuel Vadot  * Most Multiplexer bindings specify an idle state. In most cases, the
6*c66ec88fSEmmanuel Vadot  * multiplexer can be left as is when idle, and in some cases it can
7*c66ec88fSEmmanuel Vadot  * disconnect the input/output and leave the multiplexer in a high
8*c66ec88fSEmmanuel Vadot  * impedance state.
9*c66ec88fSEmmanuel Vadot  */
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_MUX_MUX_H
12*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_MUX_MUX_H
13*c66ec88fSEmmanuel Vadot 
14*c66ec88fSEmmanuel Vadot #define MUX_IDLE_AS_IS      (-1)
15*c66ec88fSEmmanuel Vadot #define MUX_IDLE_DISCONNECT (-2)
16*c66ec88fSEmmanuel Vadot 
17*c66ec88fSEmmanuel Vadot #endif
18