]> git.baikalelectronics.ru Git - arm-tf.git/commit
mt8173: Add support for new watchdog SMC
authorJulius Werner <jwerner@chromium.org>
Mon, 12 Mar 2018 20:26:49 +0000 (13:26 -0700)
committerEvan Benn <evanbenn@chromium.org>
Mon, 24 Feb 2020 01:25:17 +0000 (12:25 +1100)
commite9cf1bcc4544f966c979f875f539556cb70f1367
tree32204fcdbb5a268189fe74b3d48c406a6c8383e0
parent2f39c55c085ae92b6eead06172096410e5aab81c
mt8173: Add support for new watchdog SMC

This patch adds support for a new SMC that can be used to control the
watchdog. This allows for a cleaner separation of responsibilities where
all watchdog operations have to go through Trusted Firmware and we could
no longer have kernel and firmware poking concurrently at the same
register block.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Evan Benn <evanbenn@chromium.org>
Change-Id: I4844a3559d5c956a53a74a61dd5bc2956f0cce7b
plat/mediatek/mt8173/drivers/wdt/wdt.c [new file with mode: 0644]
plat/mediatek/mt8173/drivers/wdt/wdt.h [new file with mode: 0644]
plat/mediatek/mt8173/include/mt8173_def.h
plat/mediatek/mt8173/include/plat_sip_calls.h
plat/mediatek/mt8173/plat_pm.c
plat/mediatek/mt8173/plat_sip_calls.c
plat/mediatek/mt8173/platform.mk