blob: 256e340bec109a824bd4f283cefb6b9bab6be53e [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
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000012#include <stm32mp1_def.h>
13
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 */