Linux-Watchdog Archive on lore.kernel.org
 help / color / 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
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ 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] 5+ 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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ 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	[flat|nested] 5+ 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
  2021-01-26 15:47 ` [PATCH 4/4] arm64: dts: qcom: sm8250: " Sai Prakash Ranjan
  3 siblings, 0 replies; 5+ 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	[flat|nested] 5+ 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
  3 siblings, 0 replies; 5+ 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	[flat|nested] 5+ 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
  3 siblings, 0 replies; 5+ 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	[flat|nested] 5+ messages in thread

end of thread, back to index

Thread overview: 5+ 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

Linux-Watchdog Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-watchdog/0 linux-watchdog/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-watchdog linux-watchdog/ https://lore.kernel.org/linux-watchdog \
		linux-watchdog@vger.kernel.org
	public-inbox-index linux-watchdog

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-watchdog


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git