mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	This adds a driver for mmio-based syscon multiplexers controlled by bitfields in a syscon register range. This is heavily based on the linux mmio-mux driver. 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>
		
			
				
	
	
		
			26 lines
		
	
	
		
			643 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			643 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| menu "Multiplexer drivers"
 | |
| 
 | |
| config MULTIPLEXER
 | |
| 	bool "Multiplexer Support"
 | |
| 	depends on DM
 | |
| 	help
 | |
| 	 The mux framework is a minimalistic subsystem that handles multiplexer
 | |
| 	 controllers. It provides the same API as Linux and mux drivers should
 | |
| 	 be portable with a minimum effort.
 | |
| 
 | |
| if MULTIPLEXER
 | |
| 
 | |
| config MUX_MMIO
 | |
| 	bool "MMIO register bitfield-controlled Multiplexer"
 | |
| 	depends on MULTIPLEXER && SYSCON
 | |
| 	help
 | |
| 	  MMIO register bitfield-controlled Multiplexer controller.
 | |
| 
 | |
| 	  The driver builds multiplexer controllers for bitfields in a syscon
 | |
| 	  register. For N bit wide bitfields, there will be 2^N possible
 | |
| 	  multiplexer states.
 | |
| 
 | |
| endif
 | |
| 
 | |
| endmenu
 |