mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	Add upower api support, this is modified from upower firmware exported package. Signed-off-by: Peng Fan <peng.fan@nxp.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			306 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			306 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright 2021 NXP
 | |
|  */
 | |
| 
 | |
| #ifndef __ASM_ARCH_IMX8ULP_UPOWER_H
 | |
| #define __ASM_ARCH_IMX8ULP_UPOWER_H
 | |
| 
 | |
| #include <asm/types.h>
 | |
| 
 | |
| int upower_init(void);
 | |
| int upower_pmic_i2c_write(u32 reg_addr, u32 reg_val);
 | |
| int upower_pmic_i2c_read(u32 reg_addr, u32 *reg_val);
 | |
| 
 | |
| #endif
 |