b0ab41e027
Add rtc MT6359P driver for rtc init and rtc eosc calibration. Refactor mt8173 and mt8183 code by extracting common API. Move rtc_read and rtc_write to each SoC folder, because mt8173 and mt8183 access rtc via pmic wrapper, while mt8192 accesses it via pmif. Reference datasheet: Document No: RH-D-2018-0101. Signed-off-by: Yuchen Huang <yuchen.huang@mediatek.corp-partner.google.com> Change-Id: I57d6738fdec148c7458b2024a0a8225415ca2f3e Reviewed-on: https://review.coreboot.org/c/coreboot/+/46395 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> |
||
---|---|---|
.. | ||
include/soc | ||
auxadc.c | ||
cbmem.c | ||
ddp.c | ||
dsi.c | ||
gpio.c | ||
i2c.c | ||
mcu.c | ||
memory_test.c | ||
mmu_operations.c | ||
mtcmos.c | ||
mtk_mipi_dphy.c | ||
pll.c | ||
pmic_wrap.c | ||
reset.c | ||
rtc.c | ||
rtc_osc_init.c | ||
spi.c | ||
timer.c | ||
uart.c | ||
usb.c | ||
wdt.c |