Skip to contentSkip to conversation

dt-bindings: watchdog: qcom-wdt: document IPQ5018

PATCH Applied Robert Marko 4 participants 5 messages Aug 16, 2023 – Sep 20, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 dt-bindings: watchdog: qcom-wdt: document IPQ5018

Document the IPQ5018 watchdog compatible.

---
 Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +1 -0
index 6d0fe6abd06a..5046dfa55f13 100644
@@ -18,6 +18,7 @@ properties:
       - items:
           - enum:
               - qcom,kpss-wdt-ipq4019
+              - qcom,apss-wdt-ipq5018
               - qcom,apss-wdt-ipq5332
               - qcom,apss-wdt-ipq9574
               - qcom,apss-wdt-msm8994
Signature · 1 line
2.41.0
#1 lore raw

PATCH v2 2/2 arm64: dts: qcom: ipq5018: add WDT

Add the required DT node for WDT operation.

---
Changes in v2:
* Put the reg property as second in node

---
 arch/arm64/boot/dts/qcom/ipq5018.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/qcom/ipq5018.dtsi +7 -0
index 3285c86824cf..b3fa7911788c 100644
@@ -182,6 +182,13 @@ v2m1: v2m@1000 {
 			};
 		};
 
+		watchdog: watchdog@b017000 {
+			compatible = "qcom,apss-wdt-ipq5018", "qcom,kpss-wdt";
+			reg = <0x0b017000 0x40>;
+			interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
+			clocks = <&sleep_clk>;
+		};
+
 		timer@b120000 {
 			compatible = "arm,armv7-timer-mem";
 			reg = <0x0b120000 0x1000>;
Signature · 1 line
2.41.0
maintainer Reviewed-by on v2 1/2
#3 lore raw
In reply to Robert Marko
Quoted 4 lines · Robert Marko

Document the IPQ5018 watchdog compatible.

Quoted 16 lines
---
 Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +1 -0
index 6d0fe6abd06a..5046dfa55f13 100644
@@ -18,6 +18,7 @@ properties:
       - items:
           - enum:
               - qcom,kpss-wdt-ipq4019
+              - qcom,apss-wdt-ipq5018
               - qcom,apss-wdt-ipq5332
               - qcom,apss-wdt-ipq9574
               - qcom,apss-wdt-msm8994
maintainer Applied
#4 lore raw

Re: (subset) [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018

In reply to Robert Marko
Quoted 3 lines · Robert Marko

Document the IPQ5018 watchdog compatible.

Applied, thanks!

[2/2] arm64: dts: qcom: ipq5018: add WDT

      commit: 9cbaee8379e620f82112002f973adde19679df31

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>