stm32mp_pmic.h 426 Bytes
Newer Older
Yann Gautier's avatar
Yann Gautier committed
1
/*
2
 * Copyright (c) 2017-2019, STMicroelectronics - All Rights Reserved
Yann Gautier's avatar
Yann Gautier committed
3
4
5
6
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

7
8
#ifndef STM32MP_PMIC_H
#define STM32MP_PMIC_H
Yann Gautier's avatar
Yann Gautier committed
9
10
11

#include <stdbool.h>

12
#include <platform_def.h>
13

Yann Gautier's avatar
Yann Gautier committed
14
15
16
17
18
19
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);

20
#endif /* STM32MP_PMIC_H */