Skip to content

Commit b8c8f86

Browse files
krzkWim Van Sebroeck
authored andcommitted
dt-bindings: watchdog: qcom-wdt: fix list of MSM timer compatibles
The MSM timer ("qcom,msm-timer") is a bit different timer and watchdog device than KPSS watchdog. It has its own generic and specific compatibles, so fix the list to reflect this. Adjust the example to show the newer KPSS watchdog. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Rob Herring <[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]>
1 parent f8e6b3d commit b8c8f86

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,16 @@ properties:
3333
- const: qcom,kpss-wdt
3434
- const: qcom,kpss-wdt
3535
deprecated: true
36+
- items:
37+
- const: qcom,scss-timer
38+
- const: qcom,msm-timer
3639
- items:
3740
- enum:
38-
- qcom,kpss-timer
3941
- qcom,kpss-wdt-apq8064
4042
- qcom,kpss-wdt-ipq8064
4143
- qcom,kpss-wdt-msm8960
42-
- qcom,scss-timer
44+
- const: qcom,kpss-timer
45+
- const: qcom,msm-timer
4346

4447
reg:
4548
maxItems: 1
@@ -56,9 +59,11 @@ unevaluatedProperties: false
5659

5760
examples:
5861
- |
59-
watchdog@208a038 {
60-
compatible = "qcom,kpss-wdt-ipq8064";
61-
reg = <0x0208a038 0x40>;
62+
#include <dt-bindings/interrupt-controller/arm-gic.h>
63+
64+
watchdog@17c10000 {
65+
compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt";
66+
reg = <0x17c10000 0x1000>;
6267
clocks = <&sleep_clk>;
6368
timeout-sec = <10>;
6469
};

0 commit comments

Comments
 (0)