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

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

#include <stdbool.h>

12
13
#include <stm32mp1_def.h>

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 /* STM32MP1_PMIC_H */