blob: d62c6daf1e014e8885ab0bb5fb072231c7c07a6e [file] [log] [blame]
developer6f37fd22019-05-02 20:02:05 +08001/*
2 * Copyright (c) 2019, MediaTek Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef PMIC_H
8#define PMIC_H
9
10enum {
11 PMIC_TMA_KEY = 0x03a8,
12 PMIC_PWRHOLD = 0x0a08,
13 PMIC_PSEQ_ELR11 = 0x0a62
14};
15
16enum {
17 PMIC_RG_SDN_DLY_ENB = 1U << 10
18};
19
20/* external API */
21void wk_pmic_enable_sdn_delay(void);
22void pmic_power_off(void);
23
24#endif /* PMIC_H */