diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2023-12-11 19:23:25 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-12-13 22:12:27 +0300 |
commit | 6584cd34901056bc12e015781e4adf03b44ba485 (patch) | |
tree | 694fb1fd01438d31a047719d5f80cf7c9a5f5f6a /drivers/watchdog/kempld_wdt.c | |
parent | c95f5b21a0eaa4a2701c28e2b209f9a7e09cd4f0 (diff) | |
download | linux-6584cd34901056bc12e015781e4adf03b44ba485.tar.xz |
watchdog: s3c2410_wdt: Add support for WTCON register DBGACK_MASK bit
The WDT uses the CPU core signal DBGACK to determine whether the SoC
is running in debug mode or not. If the DBGACK signal is asserted and
DBGACK_MASK bit is enabled, then WDT output and interrupt is masked
(disabled).
Presence of the DBGACK_MASK bit is determined by adding a new
QUIRK_HAS_DBGACK_BIT quirk. Also update to use BIT macro to avoid
checkpatch --strict warnings.
Tested-by: Will McVicker <willmcvicker@google.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20231211162331.435900-11-peter.griffin@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/watchdog/kempld_wdt.c')
0 files changed, 0 insertions, 0 deletions