diff options
| author | Daniel Lezcano <[email protected]> | 2025-04-10 08:26:14 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2025-05-24 14:57:54 +0000 |
| commit | bd3f54ec559b554671e5a683e05794abe3a609df (patch) | |
| tree | a332287001d792bf7d3c6bc332cab06ae2945a4d /scripts/git-resolve.sh | |
| parent | dt-bindings: watchdog: Add NXP Software Watchdog Timer (diff) | |
| download | kernel-bd3f54ec559b554671e5a683e05794abe3a609df.tar.gz kernel-bd3f54ec559b554671e5a683e05794abe3a609df.zip | |
watchdog: Add the Watchdog Timer for the NXP S32 platform
The S32 platform has several Watchdog Timer available and tied with a
CPU. The SWT0 is the only one which directly asserts the reset line,
other SWT require an external setup to configure the reset behavior
which is not part of this change.
As a side note, in the NXP documentation, the s32g2 and s32g3
reference manuals refer the watchdog as the 'Software Timer Watchdog'
where the name can be misleading as it is actually a hardware
watchdog.
The maximum watchdog timeout value depends on the clock feeding the
SWT counter which is 32bits wide. On the s32g274-rb2, the clock has a
rate of 51MHz which result on 83 seconds maximum timeout.
The timeout can be specified via the device tree with the usual
existing bindings 'timeout-sec' or via the module param timeout.
The watchdog can be loaded with the 'nowayout' option, preventing the
watchdog to be stopped.
The watchdog can be started at boot time with the 'early-enable'
option, thus letting the watchdog framework to service the watchdog
counter.
The watchdog support the magic character to stop when the userspace
releases the device.
Cc: Ghennadi Procopciuc <[email protected]>
Cc: Thomas Fossati <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Tested-by: Alexandru-Catalin Ionita <[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 'scripts/git-resolve.sh')
0 files changed, 0 insertions, 0 deletions
