blob: 75f8e61f7206c0a206e94c015ae1d763ed6d6350 [file] [log] [blame]
Yann Gautierbb836ee2018-07-16 17:55:07 +02001/*
2 * Copyright (c) 2017-2018, STMicroelectronics - All Rights Reserved
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef STM32MP1_PMIC_H
8#define STM32MP1_PMIC_H
Yann Gautierbb836ee2018-07-16 17:55:07 +02009
10#include <stdbool.h>
11
Yann Gautier57e282b2019-01-07 11:17:24 +010012#include <platform_def.h>
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000013
Yann Gautierbb836ee2018-07-16 17:55:07 +020014bool dt_check_pmic(void);
15int dt_pmic_enable_boot_on_regulators(void);
16void initialize_pmic_i2c(void);
17void initialize_pmic(void);
18int pmic_ddr_power_init(enum ddr_type ddr_type);
19
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000020#endif /* STM32MP1_PMIC_H */