soc/mediatek/mt8195: Add RTC driver
commit144237f19fd9948e4014a5dad56ea92df7de676f
authorYuchen Huang <yuchen.huang@mediatek.corp-partner.google.com>
Mon, 1 Mar 2021 06:39:33 +0000 (1 14:39 +0800)
committerHung-Te Lin <hungte@chromium.org>
Mon, 10 May 2021 01:58:28 +0000 (10 01:58 +0000)
tree38a50aabbf5bec83481849057f6dc741dc3c7c69
parent6a6e58cb4197b96f8363a000a66ca54fc3344ddd
soc/mediatek/mt8195: Add RTC driver

Both mt8192 and mt8195 use MT659P RTC. Move mt8192/rtc.c to common
folder and rename to rtc_mt6359p.c.

Signed-off-by: Yuchen Huang <yuchen.huang@mediatek.corp-partner.google.com>
Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
Change-Id: I73ea90512228a659657f2019249e7142c673e68e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/53897
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/google/cherry/mainboard.c
src/mainboard/google/cherry/romstage.c
src/soc/mediatek/common/rtc_mt6359p.c [moved from src/soc/mediatek/mt8192/rtc.c with 100% similarity]
src/soc/mediatek/mt8192/Makefile.inc
src/soc/mediatek/mt8195/Makefile.inc
src/soc/mediatek/mt8195/include/soc/pll.h
src/soc/mediatek/mt8195/include/soc/rtc.h [new file with mode: 0644]
src/soc/mediatek/mt8195/include/soc/usb.h [new file with mode: 0644]
src/soc/mediatek/mt8195/usb.c [new file with mode: 0644]