Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: watchdog: allow "timer" as node name

On some SoCs the watchdog device is actually mixed with timer, e.g.
the qcom,msm-timer on older Qualcomm SoCs where this is actually one
hardware block responsible for both system timer and watchdog.

Allow calling such device nodes as "timer".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20221212174933.208900-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Krzysztof Kozlowski and committed by
Wim Van Sebroeck
e8b1cb53 f8ee39b4

+6 -1
+6 -1
Documentation/devicetree/bindings/watchdog/watchdog.yaml
··· 14 14 This document describes generic bindings which can be used to 15 15 describe watchdog devices in a device tree. 16 16 17 + select: 18 + properties: 19 + $nodename: 20 + pattern: "^watchdog(@.*|-[0-9a-f])?$" 21 + 17 22 properties: 18 23 $nodename: 19 - pattern: "^watchdog(@.*|-[0-9a-f])?$" 24 + pattern: "^(timer|watchdog)(@.*|-[0-9a-f])?$" 20 25 21 26 timeout-sec: 22 27 description: