mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	Add a new subsystem that handles multiplexer controllers. The API is the
same as in Linux.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
[trini: Update some error calls to use different functions or pass
        correct arguments]
Signed-off-by: Tom Rini <trini@konsulko.com>
		
	
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			483 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			483 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* 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
 |