linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for  SC7180, SDM845, SM8150, SM8250
@ 2021-01-26 15:47 Sai Prakash Ranjan
  2021-01-26 15:47 ` [PATCH 1/4] arm64: dts: qcom: sc7180: Add watchdog bark interrupt Sai Prakash Ranjan
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sai Prakash Ranjan @ 2021-01-26 15:47 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson
  Cc: Guenter Roeck, linux-arm-kernel, linux-arm-msm, Wim Van Sebroeck,
	linux-watchdog, linux-kernel, Douglas Anderson, Stephen Boyd,
	Sai Prakash Ranjan

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
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/4] arm64: dts: qcom: sc7180: Add watchdog bark interrupt
  2021-01-26 15:47 [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250 Sai Prakash Ranjan
@ 2021-01-26 15:47 ` Sai Prakash Ranjan
  2021-01-26 15:47 ` [PATCH 2/4] arm64: dts: qcom: sdm845: " Sai Prakash Ranjan
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Sai Prakash Ranjan @ 2021-01-26 15:47 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson
  Cc: Guenter Roeck, linux-arm-kernel, linux-arm-msm, Wim Van Sebroeck,
	linux-watchdog, linux-kernel, Douglas Anderson, Stephen Boyd,
	Sai Prakash Ranjan

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

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
index 2bd06beafecc..04445cd3cfd9 100644
--- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
@@ -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{
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/4] arm64: dts: qcom: sdm845: Add watchdog bark interrupt
  2021-01-26 15:47 [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250 Sai Prakash Ranjan
  2021-01-26 15:47 ` [PATCH 1/4] arm64: dts: qcom: sc7180: Add watchdog bark interrupt Sai Prakash Ranjan
@ 2021-01-26 15:47 ` Sai Prakash Ranjan
  2021-01-26 15:47 ` [PATCH 3/4] arm64: dts: qcom: sm8150: " Sai Prakash Ranjan
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Sai Prakash Ranjan @ 2021-01-26 15:47 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson
  Cc: Guenter Roeck, linux-arm-kernel, linux-arm-msm, Wim Van Sebroeck,
	linux-watchdog, linux-kernel, Douglas Anderson, Stephen Boyd,
	Sai Prakash Ranjan

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

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index bcf888381f14..2da77e16f1b3 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -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 {
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/4] arm64: dts: qcom: sm8150: Add watchdog bark interrupt
  2021-01-26 15:47 [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250 Sai Prakash Ranjan
  2021-01-26 15:47 ` [PATCH 1/4] arm64: dts: qcom: sc7180: Add watchdog bark interrupt Sai Prakash Ranjan
  2021-01-26 15:47 ` [PATCH 2/4] arm64: dts: qcom: sdm845: " Sai Prakash Ranjan
@ 2021-01-26 15:47 ` Sai Prakash Ranjan
  2021-01-26 15:47 ` [PATCH 4/4] arm64: dts: qcom: sm8250: " Sai Prakash Ranjan
  2021-01-26 17:50 ` [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250 patchwork-bot+linux-arm-msm
  4 siblings, 0 replies; 6+ messages in thread
From: Sai Prakash Ranjan @ 2021-01-26 15:47 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson
  Cc: Guenter Roeck, linux-arm-kernel, linux-arm-msm, Wim Van Sebroeck,
	linux-watchdog, linux-kernel, Douglas Anderson, Stephen Boyd,
	Sai Prakash Ranjan

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

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 9a939c6095ea..e5bb17bc2f46 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -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 {
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 4/4] arm64: dts: qcom: sm8250: Add watchdog bark interrupt
  2021-01-26 15:47 [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250 Sai Prakash Ranjan
                   ` (2 preceding siblings ...)
  2021-01-26 15:47 ` [PATCH 3/4] arm64: dts: qcom: sm8150: " Sai Prakash Ranjan
@ 2021-01-26 15:47 ` Sai Prakash Ranjan
  2021-01-26 17:50 ` [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250 patchwork-bot+linux-arm-msm
  4 siblings, 0 replies; 6+ messages in thread
From: Sai Prakash Ranjan @ 2021-01-26 15:47 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson
  Cc: Guenter Roeck, linux-arm-kernel, linux-arm-msm, Wim Van Sebroeck,
	linux-watchdog, linux-kernel, Douglas Anderson, Stephen Boyd,
	Sai Prakash Ranjan

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

Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sm8250.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index 20e70d5641ea..61191f7f5861 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -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 {
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for  SC7180, SDM845, SM8150, SM8250
  2021-01-26 15:47 [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250 Sai Prakash Ranjan
                   ` (3 preceding siblings ...)
  2021-01-26 15:47 ` [PATCH 4/4] arm64: dts: qcom: sm8250: " Sai Prakash Ranjan
@ 2021-01-26 17:50 ` patchwork-bot+linux-arm-msm
  4 siblings, 0 replies; 6+ messages in thread
From: patchwork-bot+linux-arm-msm @ 2021-01-26 17:50 UTC (permalink / raw)
  To: Sai Prakash Ranjan; +Cc: linux-arm-msm

Hello:

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

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-26 23:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-26 15:47 [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250 Sai Prakash Ranjan
2021-01-26 15:47 ` [PATCH 1/4] arm64: dts: qcom: sc7180: Add watchdog bark interrupt Sai Prakash Ranjan
2021-01-26 15:47 ` [PATCH 2/4] arm64: dts: qcom: sdm845: " Sai Prakash Ranjan
2021-01-26 15:47 ` [PATCH 3/4] arm64: dts: qcom: sm8150: " Sai Prakash Ranjan
2021-01-26 15:47 ` [PATCH 4/4] arm64: dts: qcom: sm8250: " Sai Prakash Ranjan
2021-01-26 17:50 ` [PATCH 0/4] arm64: dts: qcom: Add watchdog bark irq for SC7180, SDM845, SM8150, SM8250 patchwork-bot+linux-arm-msm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).