1 /* 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 10 enum { 11 PMIC_TMA_KEY = 0x03a8, 12 PMIC_PWRHOLD = 0x0a08, 13 PMIC_PSEQ_ELR11 = 0x0a62 14 }; 15 16 enum { 17 PMIC_RG_SDN_DLY_ENB = 1U << 10 18 }; 19 20 /* external API */ 21 void wk_pmic_enable_sdn_delay(void); 22 void pmic_power_off(void); 23 24 #endif /* PMIC_H */ 25