From: "freddy.hsin"
Before user space daemon start to access the watchdog device,
there is a time interval that watchdog is disabled in the
original flow. If the system freezing at this interval, it
cannot be rebooted by watchdog hardware automatically.
In order to solve this problem, the watchd
Before user space daemon start to access the watchdog device,
there is a time interval that watchdog is disabled in the
original flow. If the system freezing at this interval, it
cannot be rebooted by watchdog hardware automatically.
In order to solve this problem, the watchdog hardware should be
From: "freddy.hsin"
Before user space daemon start to access the watchdog device,
there is a time interval that watchdog is disabled in the
original flow. If the system freezing at this interval, it
cannot be rebooted by watchdog hardware automatically.
In order to solve this problem, the watchd
MTK timer driver can work on MTK platform normally, so remove
the redundant condition for MTK_TIMER
Signed-off-by: Freddy Hsin
---
drivers/clocksource/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index
Remove the redundant condition of MTK_TIMER because the driver
can work on MTK platform normally, so COMPILE_TEST is no longer
needed for development purpose
Freddy Hsin (1):
timer: mt6873: remove COMPILE_TEST condition for MTK timer
drivers/clocksource/Kconfig | 2 +-
1 file changed, 1
Add mtk_wdt_init() functin in probe flow to determine
enable/disable the hw watchdog by its original setting
Freddy Hsin (1):
driver: watchdog: Add mtk_wdt_init for mediatek watchdog hw init
drivers/watchdog/mtk_wdt.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
: Freddy Hsin
---
drivers/watchdog/mtk_wdt.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/drivers/watchdog/mtk_wdt.c b/drivers/watchdog/mtk_wdt.c
index d6a6393..59b5061 100644
--- a/drivers/watchdog/mtk_wdt.c
+++ b/drivers/watchdog/mtk_wdt.c
@@ -57,6 +57,9
export sched_clock_register function, because the Mediatek timer
loadable module depends on this function
Signed-off-by: Freddy Hsin
---
kernel/time/sched_clock.c |1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/time/sched_clock.c b/kernel/time/sched_clock.c
index fa3f800..e1d5afe
Porting Mediatek timer driver to kernel module for GKI
(Generic Kernel Image). Clocksource mmio functions are
exported for Mediatek timer init function.
This patch depends on the timer-of patch submitted by Baolin Wang
https://lkml.org/lkml/2020/3/24/72
Freddy Hsin (2):
kernel: time: remove
porting Mediatek timer driver to loadable module
Signed-off-by: Freddy Hsin
---
drivers/clocksource/Kconfig |2 +-
drivers/clocksource/mmio.c |4 +++-
drivers/clocksource/timer-mediatek.c | 39 ++
3 files changed, 43 insertions(+), 2
10 matches
Mail list logo