mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 00:11:51 +01:00 
			
		
		
		
	Refactors similar mux code from multiple NXP boards into a common location, and allows it to be disabled in config. New config: CONFIG_FSL_USE_PCA9547_MUX to enable PCA9547 mux functionality. Signed-off-by: Stephen Carlson <stcarlso@linux.microsoft.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			306 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			306 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright 2014 Freescale Semiconductor, Inc.
 | |
|  * Copyright 2020-21 NXP
 | |
|  * Copyright 2021 Microsoft Corporation
 | |
|  */
 | |
| 
 | |
| #ifndef __NXP_I2C_MUX_H__
 | |
| #define __NXP_I2C_MUX_H__
 | |
| 
 | |
| #ifdef CONFIG_FSL_USE_PCA9547_MUX
 | |
| int select_i2c_ch_pca9547(u8 ch, int bus);
 | |
| #endif
 | |
| 
 | |
| #endif
 |