mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
1767ac2d1f
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>
18 lines
348 B
C
18 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
|