mediatek: mt8183: support system off
authorkenny liang <kenny.liang@mediatek.com>
Thu, 2 May 2019 12:02:05 +0000 (20:02 +0800)
committerkenny liang <kenny.liang@mediatek.com>
Tue, 10 Sep 2019 03:25:16 +0000 (11:25 +0800)
commite977b4db2a96f3587f1eb1b82efa90d80def4605
tree7bb642cc5530ae1f0033c5629bea2586a6195511
parent7352f329e8db1ee655ef1a062ef6fc6dabb3bec2
mediatek: mt8183: support system off

- Add PMIC driver
- Add RTC drvier
- Refactor PMIC and RTC to mediatek/common
- Implement system off handler

Change-Id: If76497646ace1b78bc9a5fa0110b652fe512281a
Signed-off-by: kenny liang <kenny.liang@mediatek.com>
plat/mediatek/common/drivers/pmic_wrap/pmic_wrap_init.c [new file with mode: 0644]
plat/mediatek/common/drivers/rtc/rtc_common.c [new file with mode: 0644]
plat/mediatek/mt8183/drivers/pmic/pmic.c [new file with mode: 0644]
plat/mediatek/mt8183/drivers/pmic/pmic.h [new file with mode: 0644]
plat/mediatek/mt8183/drivers/pmic/pmic_wrap_init.h [new file with mode: 0644]
plat/mediatek/mt8183/drivers/rtc/rtc.c [new file with mode: 0644]
plat/mediatek/mt8183/drivers/rtc/rtc.h [new file with mode: 0644]
plat/mediatek/mt8183/plat_pm.c
plat/mediatek/mt8183/platform.mk