]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: sp5100_tco: Add "action" module parameter
authorVladimir Panteleev <git@vladimir.panteleev.md>
Tue, 20 Sep 2022 09:27:21 +0000 (09:27 +0000)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 2 Oct 2022 10:55:48 +0000 (12:55 +0200)
commitd791eab3c5a7520098e9115a72ca2058b94b49ab
tree3d920152005e448033b90d61be1f6be40590e319
parentab6b587e0c048952bfa2871b43b9c05e81c7baca
watchdog: sp5100_tco: Add "action" module parameter

Allow configuring the "action" bit, as documented in [1].

Previously, the only action supported by this module was to reset the
system (0).  It can now be configured to power off (1) instead.

[1]: https://www.amd.com/system/files/TechDocs/44413.pdf

Signed-off-by: Vladimir Panteleev <git@vladimir.panteleev.md>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220920092721.7686-1-git@vladimir.panteleev.md
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/sp5100_tco.c