diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-01-13 11:33:42 +0100 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-02-18 15:11:37 +0100 |
commit | b8c8f8649ba1765cbd7e5c92f36c6553a9fadedf (patch) | |
tree | 3185a0a3b26729f9bc4eddf66865ab59cf95bed3 | |
parent | f8e6b3d9e3cf60bb111ccc9294eb3fe7c7759193 (diff) |
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]>
-rw-r--r-- | Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml index 3e0b30a817d6..93e4381067dd 100644 --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml @@ -34,12 +34,15 @@ properties: - const: qcom,kpss-wdt deprecated: true - items: + - const: qcom,scss-timer + - const: qcom,msm-timer + - items: - enum: - - qcom,kpss-timer - qcom,kpss-wdt-apq8064 - qcom,kpss-wdt-ipq8064 - qcom,kpss-wdt-msm8960 - - qcom,scss-timer + - const: qcom,kpss-timer + - const: qcom,msm-timer reg: maxItems: 1 @@ -56,9 +59,11 @@ unevaluatedProperties: false examples: - | - watchdog@208a038 { - compatible = "qcom,kpss-wdt-ipq8064"; - reg = <0x0208a038 0x40>; + #include <dt-bindings/interrupt-controller/arm-gic.h> + + watchdog@17c10000 { + compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt"; + reg = <0x17c10000 0x1000>; clocks = <&sleep_clk>; timeout-sec = <10>; }; |