mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	MAXIM Semiconductor's PMIC, MAX77663 has 8 GPIO pins and 3 GPIO-like pins. It also supports interrupts from these pins. Add GPIO driver for these pins to control via GPIO APIs. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			311 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			311 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  *  Copyright(C) 2023 Svyatoslav Ryhel <clamor95@gmail.com>
 | |
|  */
 | |
| 
 | |
| #ifndef _DT_BINDINGS_MAX77663_H_
 | |
| #define _DT_BINDINGS_MAX77663_H_
 | |
| 
 | |
| /*
 | |
|  * MAX77663 has 8 GPIO (0 to 7) and 3 KEYS
 | |
|  * KEYS are appended after GPIOs
 | |
|  */
 | |
| 
 | |
| #define EN0	10
 | |
| #define ACOK	9
 | |
| #define LID	8
 | |
| 
 | |
| #endif
 |