aboutsummaryrefslogtreecommitdiff
path: root/plat/mediatek/mt8183/drivers/pmic/pmic.h
blob: d62c6daf1e014e8885ab0bb5fb072231c7c07a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2019, MediaTek Inc. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef PMIC_H
#define PMIC_H

enum {
	PMIC_TMA_KEY = 0x03a8,
	PMIC_PWRHOLD = 0x0a08,
	PMIC_PSEQ_ELR11 = 0x0a62
};

enum {
	PMIC_RG_SDN_DLY_ENB = 1U << 10
};

/* external API */
void wk_pmic_enable_sdn_delay(void);
void pmic_power_off(void);

#endif /* PMIC_H */