mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 14:00:19 +00:00 
			
		
		
		
	Manage power supply configuration for board using stpmic1 with LPDDR2 or with LPDDR3: + VDD_DDR1 = 1.8V with BUCK3 (bypass if possible) + VDD_DDR2 = 1.2V with BUCK2 Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			348 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			348 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
 | 
						|
/*
 | 
						|
 * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __MACH_STM32MP_DDR_H_
 | 
						|
#define __MACH_STM32MP_DDR_H_
 | 
						|
 | 
						|
/* DDR power initializations */
 | 
						|
enum ddr_type {
 | 
						|
	STM32MP_DDR3,
 | 
						|
	STM32MP_LPDDR2,
 | 
						|
	STM32MP_LPDDR3,
 | 
						|
};
 | 
						|
 | 
						|
int board_ddr_power_init(enum ddr_type ddr_type);
 | 
						|
 | 
						|
#endif
 |