diff options
author | Alice Guo <[email protected]> | 2022-08-25 16:32:56 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2022-10-02 12:55:47 +0200 |
commit | 8ed2dc48551354bbf33df869f3968b7805cbaa61 (patch) | |
tree | 2c4597c548f067a49963ae442bbf70c7234c8151 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | cef6bc98d50da24252fb289759f1790e17afa448 (diff) |
watchdog: imx93: add watchdog timer on imx93
The WDOG clocks are sourced from lpo_clk, and lpo_clk is the fixed
32KHz. TOVAL contains the 16-bit value used to set the timeout period of
the watchdog. When the timeout period exceeds 2 seconds, the value
written to the TOVAL register is larger than 16-bit can represent.
Enabling watchdog prescaler can solve this problem.
Two points need to be aware of:
1. watchdog prescaler enables a fixed 256 pre-scaling of watchdog
counter reference clock
2. reconfiguration takes about 55ms on imx93
Reviewed-by: Jacky Bai <[email protected]>
Signed-off-by: Alice Guo <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions