Browse Source
These two files are identical on MT8192 and MT8195. They can also be used on MT8188. So move them to common/drivers/pmic/. Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I8c12d15f1da79ab5767ac02b3ab70e8508155ee8pull/1988/head
Bo-Chen Chen
2 years ago
6 changed files with 7 additions and 33 deletions
@ -1,5 +1,5 @@ |
|||
/*
|
|||
* Copyright (c) 2020, MediaTek Inc. All rights reserved. |
|||
* Copyright (c) 2022, MediaTek Inc. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
@ -1,13 +0,0 @@ |
|||
/*
|
|||
* Copyright (c) 2020, MediaTek Inc. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
|||
|
|||
#include <pmic.h> |
|||
#include <pmic_wrap_init.h> |
|||
|
|||
void pmic_power_off(void) |
|||
{ |
|||
pwrap_write(PMIC_PWRHOLD, 0x0); |
|||
} |
@ -1,15 +0,0 @@ |
|||
/*
|
|||
* Copyright (c) 2020, MediaTek Inc. All rights reserved. |
|||
* |
|||
* SPDX-License-Identifier: BSD-3-Clause |
|||
*/ |
|||
|
|||
#ifndef PMIC_H |
|||
#define PMIC_H |
|||
|
|||
#define PMIC_PWRHOLD 0xa08 |
|||
|
|||
/* external API */ |
|||
void pmic_power_off(void); |
|||
|
|||
#endif /* PMIC_H */ |
Loading…
Reference in new issue