blob: 700039b268a0198005b9d798d48531ce3b9b28b1 [file] [log] [blame]
Yann Gautierbb836ee2018-07-16 17:55:07 +02001/*
Yann Gautiera45433b2019-01-16 18:31:00 +01002 * Copyright (c) 2017-2019, STMicroelectronics - All Rights Reserved
Yann Gautierbb836ee2018-07-16 17:55:07 +02003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Yann Gautiera45433b2019-01-16 18:31:00 +01007#ifndef STM32MP_PMIC_H
8#define STM32MP_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
Yann Gautiera45433b2019-01-16 18:31:00 +010020#endif /* STM32MP_PMIC_H */