diff options
author | Tom Rini <trini@konsulko.com> | 2020-10-28 14:50:09 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-28 14:50:09 -0400 |
commit | 4f1d3079b9f05bb0c5d2e29bbd514e93a2cc65fd (patch) | |
tree | 4e2a6a2ac57a8d21b372c004b18b4d42c799fdca /include/dt-bindings/mux/mux.h | |
parent | 39dd7c1d6bc94e6381ef7418edd8206cae24377f (diff) | |
parent | 15995ac3f4840ca14340cadd45a1736bb3747893 (diff) |
Merge branch '2020-10-28-mux-driver-framework'
- Add a framework for mux drivers
Diffstat (limited to 'include/dt-bindings/mux/mux.h')
-rw-r--r-- | include/dt-bindings/mux/mux.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/dt-bindings/mux/mux.h b/include/dt-bindings/mux/mux.h new file mode 100644 index 0000000000..042719218d --- /dev/null +++ b/include/dt-bindings/mux/mux.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * This header provides constants for most Multiplexer bindings. + * + * Most Multiplexer bindings specify an idle state. In most cases, the + * the multiplexer can be left as is when idle, and in some cases it can + * disconnect the input/output and leave the multiplexer in a high + * impedance state. + */ + +#ifndef _DT_BINDINGS_MUX_MUX_H +#define _DT_BINDINGS_MUX_MUX_H + +#define MUX_IDLE_AS_IS (-1) +#define MUX_IDLE_DISCONNECT (-2) + +#endif |