Skip to contentSkip to conversation

arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250

PATCH Applied Sai Prakash Ranjan 2 participants 6 messages Jan 26, 2021

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

cover arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250

This series adds pre-timeout notification support via bark interrupt for SC7180, SDM845, SM8150, SM8250 SoCs.

Note: This has a functional dependency on [1] without which the watchdog functionality would be broken.

[1] https://lore.kernel.org/patchwork/patch/1371266/

Sai Prakash Ranjan (4):
arm64: dts: qcom: sc7180: Add watchdog bark interrupt
arm64: dts: qcom: sdm845: Add watchdog bark interrupt
arm64: dts: qcom: sm8150: Add watchdog bark interrupt
arm64: dts: qcom: sm8250: Add watchdog bark interrupt

 arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 +
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 +
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 1 +
 arch/arm64/boot/dts/qcom/sm8250.dtsi | 1 +
 4 files changed, 4 insertions(+)

base-commit: 76bb4dc36d0e6bd13c70536a77240f93a0260f7e
prerequisite-patch-id: 46f598da3a2dbddfefa72da5636438142a00babd

Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
#1 lore raw

PATCH 1/4 arm64: dts: qcom: sc7180: Add watchdog bark interrupt

Specify bark interrupt for APSS watchdog to support pre-timeout notification on SC7180 SoC.

---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sc7180.dtsi +1 -0
index 2bd06beafecc..04445cd3cfd9 100644
@@ -3349,6 +3349,7 @@ watchdog@17c10000 {
 			compatible = "qcom,apss-wdt-sc7180", "qcom,kpss-wdt";
 			reg = <0 0x17c10000 0 0x1000>;
 			clocks = <&sleep_clk>;
+			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
 		};
 
 		timer@17c20000{
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
#2 lore raw

PATCH 2/4 arm64: dts: qcom: sdm845: Add watchdog bark interrupt

In reply to Sai Prakash Ranjan

Specify bark interrupt for APSS watchdog to support pre-timeout notification on SDM845 SoC.

---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +1 -0
index bcf888381f14..2da77e16f1b3 100644
@@ -4573,6 +4573,7 @@ watchdog@17980000 {
 			compatible = "qcom,apss-wdt-sdm845", "qcom,kpss-wdt";
 			reg = <0 0x17980000 0 0x1000>;
 			clocks = <&sleep_clk>;
+			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
 		};
 
 		apss_shared: mailbox@17990000 {
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
#3 lore raw

PATCH 3/4 arm64: dts: qcom: sm8150: Add watchdog bark interrupt

In reply to Sai Prakash Ranjan

Specify bark interrupt for APSS watchdog to support pre-timeout notification on SM8150 SoC.

---
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sm8150.dtsi +1 -0
index 9a939c6095ea..e5bb17bc2f46 100644
@@ -1975,6 +1975,7 @@ watchdog@17c10000 {
 			compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt";
 			reg = <0 0x17c10000 0 0x1000>;
 			clocks = <&sleep_clk>;
+			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
 		};
 
 		timer@17c20000 {
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
#4 lore raw

PATCH 4/4 arm64: dts: qcom: sm8250: Add watchdog bark interrupt

In reply to Sai Prakash Ranjan

Specify bark interrupt for APSS watchdog to support pre-timeout notification on SM8250 SoC.

---
 arch/arm64/boot/dts/qcom/sm8250.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sm8250.dtsi +1 -0
index 20e70d5641ea..61191f7f5861 100644
@@ -3289,6 +3289,7 @@ watchdog@17c10000 {
 			compatible = "qcom,apss-wdt-sm8250", "qcom,kpss-wdt";
 			reg = <0 0x17c10000 0 0x1000>;
 			clocks = <&sleep_clk>;
+			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
 		};
 
 		timer@17c20000 {
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
#5 lore raw
In reply to Sai Prakash Ranjan
This series was applied to qcom/linux.git (refs/heads/for-next):

Hello:

This series was applied to qcom/linux.git (refs/heads/for-next):

Quoted 9 lines · On Tue, 26 Jan 2021 21:17:28 +0530 you wrote:

This series adds pre-timeout notification support via bark interrupt for SC7180, SDM845, SM8150, SM8250 SoCs.

Note: This has a functional dependency on [1] without which the watchdog functionality would be broken.

[1] https://lore.kernel.org/patchwork/patch/1371266/

[...]

Here is the summary with links:
- [1/4] arm64: dts: qcom: sc7180: Add watchdog bark interrupt

    https://git.kernel.org/qcom/c/28cc13e4060c
  - [2/4] arm64: dts: qcom: sdm845: Add watchdog bark interrupt
    https://git.kernel.org/qcom/c/36c436b03c58
  - [3/4] arm64: dts: qcom: sm8150: Add watchdog bark interrupt
    https://git.kernel.org/qcom/c/b094c8f8dd2a
  - [4/4] arm64: dts: qcom: sm8250: Add watchdog bark interrupt
    https://git.kernel.org/qcom/c/46a4359f9156

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html