1 /* 2 * Copyright (c) 2017-2019, STMicroelectronics - All Rights Reserved 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef STM32MP_PMIC_H 8 #define STM32MP_PMIC_H 9 10 #include <stdbool.h> 11 12 #include <platform_def.h> 13 14 bool dt_check_pmic(void); 15 int dt_pmic_enable_boot_on_regulators(void); 16 void initialize_pmic_i2c(void); 17 void initialize_pmic(void); 18 int pmic_ddr_power_init(enum ddr_type ddr_type); 19 20 #endif /* STM32MP_PMIC_H */ 21