2018-07-16 16:55:07 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017-2018, STMicroelectronics - All Rights Reserved
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*/
|
|
|
|
|
2018-11-08 10:20:19 +00:00
|
|
|
#ifndef STM32MP1_PMIC_H
|
|
|
|
#define STM32MP1_PMIC_H
|
2018-07-16 16:55:07 +01:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
2019-01-07 10:17:24 +00:00
|
|
|
#include <platform_def.h>
|
2018-12-14 00:18:21 +00:00
|
|
|
|
2018-07-16 16:55:07 +01:00
|
|
|
bool dt_check_pmic(void);
|
|
|
|
int dt_pmic_enable_boot_on_regulators(void);
|
|
|
|
void initialize_pmic_i2c(void);
|
|
|
|
void initialize_pmic(void);
|
|
|
|
int pmic_ddr_power_init(enum ddr_type ddr_type);
|
|
|
|
|
2018-11-08 10:20:19 +00:00
|
|
|
#endif /* STM32MP1_PMIC_H */
|