developer | ddb7f40 | 2021-04-08 16:37:15 +0800 | [diff] [blame^] | 1 | /* |
2 | * Copyright (c) 2020, MediaTek Inc. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | */ | ||||
6 | |||||
7 | #include <pmic.h> | ||||
8 | #include <pmic_wrap_init.h> | ||||
9 | |||||
10 | void pmic_power_off(void) | ||||
11 | { | ||||
12 | pwrap_write(PMIC_PWRHOLD, 0x0); | ||||
13 | } |