dt-bindings: document devicetree bindings for mux-controllers and gpio-mux
Allow specifying that a single multiplexer controller can be used to control several parallel multiplexers, thus enabling sharing of the multiplexer controller by different consumers. Add a binding for a first mux controller in the form of a GPIO based mux controller. Acked-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
b594b10144
commit
256ac03750
16
include/dt-bindings/mux/mux.h
Normal file
16
include/dt-bindings/mux/mux.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* 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
|
Reference in New Issue
Block a user