* [PATCH v2 2/9] arm64: dts: qcom: sc7280: Make watchdog bark interrupt edge triggered
2023-11-06 22:43 [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered Douglas Anderson
@ 2023-11-06 22:43 ` Douglas Anderson
2023-11-06 22:43 ` [PATCH v2 3/9] arm64: dts: qcom: sdm845: " Douglas Anderson
` (7 subsequent siblings)
8 siblings, 0 replies; 14+ messages in thread
From: Douglas Anderson @ 2023-11-06 22:43 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck
Cc: swboyd, linux-watchdog, Rob Herring, linux-arm-msm,
Douglas Anderson, Andy Gross, Rajendra Nayak, Sai Prakash Ranjan,
cros-qcom-dts-watchers, devicetree, linux-kernel
As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
interrupt should be configured as edge triggered. Make the change.
Fixes: 0e51f883daa9 ("arm64: dts: qcom: sc7280: Add APSS watchdog node")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
(no changes since v1)
arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 04bf85b0399a..1964ef66492f 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -5389,7 +5389,7 @@ watchdog: watchdog@17c10000 {
compatible = "qcom,apss-wdt-sc7280", "qcom,kpss-wdt";
reg = <0 0x17c10000 0 0x1000>;
clocks = <&sleep_clk>;
- interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
status = "reserved"; /* Owned by Gunyah hyp */
};
--
2.42.0.869.gea05f2083d-goog
^ permalink raw reply related [flat|nested] 14+ messages in thread* [PATCH v2 3/9] arm64: dts: qcom: sdm845: Make watchdog bark interrupt edge triggered
2023-11-06 22:43 [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered Douglas Anderson
2023-11-06 22:43 ` [PATCH v2 2/9] arm64: dts: qcom: sc7280: " Douglas Anderson
@ 2023-11-06 22:43 ` Douglas Anderson
2023-11-06 22:43 ` [PATCH v2 4/9] arm64: dts: qcom: sm8150: " Douglas Anderson
` (6 subsequent siblings)
8 siblings, 0 replies; 14+ messages in thread
From: Douglas Anderson @ 2023-11-06 22:43 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck
Cc: swboyd, linux-watchdog, Rob Herring, linux-arm-msm,
Douglas Anderson, Andy Gross, Sai Prakash Ranjan, devicetree,
linux-kernel
As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
interrupt should be configured as edge triggered. Make the change.
Fixes: 36c436b03c58 ("arm64: dts: qcom: sdm845: Add watchdog bark interrupt")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
(no changes since v1)
arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index bf5e6eb9d313..9648505644ff 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -5088,7 +5088,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>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
};
apss_shared: mailbox@17990000 {
--
2.42.0.869.gea05f2083d-goog
^ permalink raw reply related [flat|nested] 14+ messages in thread* [PATCH v2 4/9] arm64: dts: qcom: sm8150: Make watchdog bark interrupt edge triggered
2023-11-06 22:43 [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered Douglas Anderson
2023-11-06 22:43 ` [PATCH v2 2/9] arm64: dts: qcom: sc7280: " Douglas Anderson
2023-11-06 22:43 ` [PATCH v2 3/9] arm64: dts: qcom: sdm845: " Douglas Anderson
@ 2023-11-06 22:43 ` Douglas Anderson
2023-11-06 22:43 ` [PATCH v2 5/9] arm64: dts: qcom: sm8250: " Douglas Anderson
` (5 subsequent siblings)
8 siblings, 0 replies; 14+ messages in thread
From: Douglas Anderson @ 2023-11-06 22:43 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck
Cc: swboyd, linux-watchdog, Rob Herring, linux-arm-msm,
Douglas Anderson, Andy Gross, Sai Prakash Ranjan, devicetree,
linux-kernel
As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
interrupt should be configured as edge triggered. Make the change.
Fixes: b094c8f8dd2a ("arm64: dts: qcom: sm8150: Add watchdog bark interrupt")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
(no changes since v1)
arch/arm64/boot/dts/qcom/sm8150.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 97623af13464..ad4fab61222b 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -4170,7 +4170,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>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
};
timer@17c20000 {
--
2.42.0.869.gea05f2083d-goog
^ permalink raw reply related [flat|nested] 14+ messages in thread* [PATCH v2 5/9] arm64: dts: qcom: sm8250: Make watchdog bark interrupt edge triggered
2023-11-06 22:43 [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered Douglas Anderson
` (2 preceding siblings ...)
2023-11-06 22:43 ` [PATCH v2 4/9] arm64: dts: qcom: sm8150: " Douglas Anderson
@ 2023-11-06 22:43 ` Douglas Anderson
2023-11-06 22:43 ` [PATCH v2 6/9] arm64: dts: qcom: sa8775p: " Douglas Anderson
` (4 subsequent siblings)
8 siblings, 0 replies; 14+ messages in thread
From: Douglas Anderson @ 2023-11-06 22:43 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck
Cc: swboyd, linux-watchdog, Rob Herring, linux-arm-msm,
Douglas Anderson, Andy Gross, Sai Prakash Ranjan, devicetree,
linux-kernel
As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
interrupt should be configured as edge triggered. Make the change.
Fixes: 46a4359f9156 ("arm64: dts: qcom: sm8250: Add watchdog bark interrupt")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
(no changes since v1)
arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index be970472f6c4..72db75ca7731 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -6018,7 +6018,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>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
};
timer@17c20000 {
--
2.42.0.869.gea05f2083d-goog
^ permalink raw reply related [flat|nested] 14+ messages in thread* [PATCH v2 6/9] arm64: dts: qcom: sa8775p: Make watchdog bark interrupt edge triggered
2023-11-06 22:43 [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered Douglas Anderson
` (3 preceding siblings ...)
2023-11-06 22:43 ` [PATCH v2 5/9] arm64: dts: qcom: sm8250: " Douglas Anderson
@ 2023-11-06 22:43 ` Douglas Anderson
2023-11-07 7:40 ` Bartosz Golaszewski
2023-11-06 22:43 ` [PATCH v2 7/9] arm64: dts: qcom: sc8280xp: " Douglas Anderson
` (3 subsequent siblings)
8 siblings, 1 reply; 14+ messages in thread
From: Douglas Anderson @ 2023-11-06 22:43 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck
Cc: swboyd, linux-watchdog, Rob Herring, linux-arm-msm,
Douglas Anderson, Andy Gross, Bartosz Golaszewski, devicetree,
linux-kernel
As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
interrupt should be configured as edge triggered. Make the change.
Fixes: 09b701b89a76 ("arm64: dts: qcom: sa8775p: add the watchdog node")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
(no changes since v1)
arch/arm64/boot/dts/qcom/sa8775p.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
index 13dd44dd9ed1..6b92f9083104 100644
--- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
+++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
@@ -2235,7 +2235,7 @@ watchdog@17c10000 {
compatible = "qcom,apss-wdt-sa8775p", "qcom,kpss-wdt";
reg = <0x0 0x17c10000 0x0 0x1000>;
clocks = <&sleep_clk>;
- interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
};
memtimer: timer@17c20000 {
--
2.42.0.869.gea05f2083d-goog
^ permalink raw reply related [flat|nested] 14+ messages in thread* Re: [PATCH v2 6/9] arm64: dts: qcom: sa8775p: Make watchdog bark interrupt edge triggered
2023-11-06 22:43 ` [PATCH v2 6/9] arm64: dts: qcom: sa8775p: " Douglas Anderson
@ 2023-11-07 7:40 ` Bartosz Golaszewski
0 siblings, 0 replies; 14+ messages in thread
From: Bartosz Golaszewski @ 2023-11-07 7:40 UTC (permalink / raw)
To: Douglas Anderson
Cc: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck, swboyd, linux-watchdog,
Rob Herring, linux-arm-msm, Andy Gross, devicetree, linux-kernel
On Mon, 6 Nov 2023 at 23:44, Douglas Anderson <dianders@chromium.org> wrote:
>
> As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
> bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
> interrupt should be configured as edge triggered. Make the change.
>
> Fixes: 09b701b89a76 ("arm64: dts: qcom: sa8775p: add the watchdog node")
> Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> Reviewed-by: Stephen Boyd <swboyd@chromium.org>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> ---
>
> (no changes since v1)
>
> arch/arm64/boot/dts/qcom/sa8775p.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> index 13dd44dd9ed1..6b92f9083104 100644
> --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> @@ -2235,7 +2235,7 @@ watchdog@17c10000 {
> compatible = "qcom,apss-wdt-sa8775p", "qcom,kpss-wdt";
> reg = <0x0 0x17c10000 0x0 0x1000>;
> clocks = <&sleep_clk>;
> - interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
> + interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
> };
>
> memtimer: timer@17c20000 {
> --
> 2.42.0.869.gea05f2083d-goog
>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 7/9] arm64: dts: qcom: sc8280xp: Make watchdog bark interrupt edge triggered
2023-11-06 22:43 [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered Douglas Anderson
` (4 preceding siblings ...)
2023-11-06 22:43 ` [PATCH v2 6/9] arm64: dts: qcom: sa8775p: " Douglas Anderson
@ 2023-11-06 22:43 ` Douglas Anderson
2023-11-16 8:22 ` Johan Hovold
2023-11-06 22:43 ` [PATCH v2 8/9] arm64: dts: qcom: sm6350: " Douglas Anderson
` (2 subsequent siblings)
8 siblings, 1 reply; 14+ messages in thread
From: Douglas Anderson @ 2023-11-06 22:43 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck
Cc: swboyd, linux-watchdog, Rob Herring, linux-arm-msm,
Douglas Anderson, Andy Gross, Johan Hovold, devicetree,
linux-kernel
As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
interrupt should be configured as edge triggered. Make the change.
Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
(no changes since v1)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index cad59af7ccef..b8081513176a 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -4225,7 +4225,7 @@ watchdog@17c10000 {
compatible = "qcom,apss-wdt-sc8280xp", "qcom,kpss-wdt";
reg = <0 0x17c10000 0 0x1000>;
clocks = <&sleep_clk>;
- interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
};
timer@17c20000 {
--
2.42.0.869.gea05f2083d-goog
^ permalink raw reply related [flat|nested] 14+ messages in thread* Re: [PATCH v2 7/9] arm64: dts: qcom: sc8280xp: Make watchdog bark interrupt edge triggered
2023-11-06 22:43 ` [PATCH v2 7/9] arm64: dts: qcom: sc8280xp: " Douglas Anderson
@ 2023-11-16 8:22 ` Johan Hovold
0 siblings, 0 replies; 14+ messages in thread
From: Johan Hovold @ 2023-11-16 8:22 UTC (permalink / raw)
To: Douglas Anderson
Cc: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck, swboyd, linux-watchdog,
Rob Herring, linux-arm-msm, Andy Gross, Johan Hovold, devicetree,
linux-kernel
On Mon, Nov 06, 2023 at 02:43:34PM -0800, Douglas Anderson wrote:
> As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
> bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
> interrupt should be configured as edge triggered. Make the change.
Please always make sure that the commit message is self-contained, and
especially when you're referring to patch which has not yet been applied
(e.g. consider someone doing git blame on this line some time down the
road).
Johan
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 8/9] arm64: dts: qcom: sm6350: Make watchdog bark interrupt edge triggered
2023-11-06 22:43 [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered Douglas Anderson
` (5 preceding siblings ...)
2023-11-06 22:43 ` [PATCH v2 7/9] arm64: dts: qcom: sc8280xp: " Douglas Anderson
@ 2023-11-06 22:43 ` Douglas Anderson
2023-11-06 22:43 ` [PATCH v2 9/9] dt-bindings: watchdog: qcom-wdt: Make the interrupt example " Douglas Anderson
2023-12-08 2:57 ` (subset) [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt " Bjorn Andersson
8 siblings, 0 replies; 14+ messages in thread
From: Douglas Anderson @ 2023-11-06 22:43 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck
Cc: swboyd, linux-watchdog, Rob Herring, linux-arm-msm,
Douglas Anderson, Andy Gross, devicetree, linux-kernel
As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
interrupt should be configured as edge triggered. Make the change.
Fixes: 5f82b9cda61e ("arm64: dts: qcom: Add SM6350 device tree")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
(no changes since v1)
arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
index 8fd6f4d03490..6464e144c228 100644
--- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
@@ -2524,7 +2524,7 @@ watchdog@17c10000 {
compatible = "qcom,apss-wdt-sm6350", "qcom,kpss-wdt";
reg = <0 0x17c10000 0 0x1000>;
clocks = <&sleep_clk>;
- interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
};
timer@17c20000 {
--
2.42.0.869.gea05f2083d-goog
^ permalink raw reply related [flat|nested] 14+ messages in thread* [PATCH v2 9/9] dt-bindings: watchdog: qcom-wdt: Make the interrupt example edge triggered
2023-11-06 22:43 [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered Douglas Anderson
` (6 preceding siblings ...)
2023-11-06 22:43 ` [PATCH v2 8/9] arm64: dts: qcom: sm6350: " Douglas Anderson
@ 2023-11-06 22:43 ` Douglas Anderson
2023-12-08 15:34 ` Doug Anderson
2023-12-08 2:57 ` (subset) [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt " Bjorn Andersson
8 siblings, 1 reply; 14+ messages in thread
From: Douglas Anderson @ 2023-11-06 22:43 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck
Cc: swboyd, linux-watchdog, Rob Herring, linux-arm-msm,
Douglas Anderson, Krzysztof Kozlowski, Andy Gross,
Sai Prakash Ranjan, devicetree, linux-kernel
As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
interrupt should be configured as edge triggered.
Update the example in the bindings.
Fixes: 7c631cdff391 ("dt-bindings: watchdog: qcom-wdt: allow interrupts")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
(no changes since v1)
Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
index 5046dfa55f13..681d1efbaf2f 100644
--- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
@@ -121,7 +121,7 @@ examples:
compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt";
reg = <0x17c10000 0x1000>;
clocks = <&sleep_clk>;
- interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
timeout-sec = <10>;
};
--
2.42.0.869.gea05f2083d-goog
^ permalink raw reply related [flat|nested] 14+ messages in thread* Re: [PATCH v2 9/9] dt-bindings: watchdog: qcom-wdt: Make the interrupt example edge triggered
2023-11-06 22:43 ` [PATCH v2 9/9] dt-bindings: watchdog: qcom-wdt: Make the interrupt example " Douglas Anderson
@ 2023-12-08 15:34 ` Doug Anderson
2023-12-17 15:33 ` Wim Van Sebroeck
0 siblings, 1 reply; 14+ messages in thread
From: Doug Anderson @ 2023-12-08 15:34 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck
Cc: swboyd, linux-watchdog, Rob Herring, linux-arm-msm,
Krzysztof Kozlowski, Andy Gross, Sai Prakash Ranjan, devicetree,
linux-kernel
Hi,
On Mon, Nov 6, 2023 at 2:44 PM Douglas Anderson <dianders@chromium.org> wrote:
>
> As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
> bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
> interrupt should be configured as edge triggered.
>
> Update the example in the bindings.
>
> Fixes: 7c631cdff391 ("dt-bindings: watchdog: qcom-wdt: allow interrupts")
> Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Reviewed-by: Stephen Boyd <swboyd@chromium.org>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> ---
>
> (no changes since v1)
>
> Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
I saw Bjorn landed all of the dts patches from this series but it
looks like the bindings patch got left behind. Anyone want to claim it
for their tree, or Ack it saying that you'd prefer for it to go
through someone else's tree? I assume Krzysztof's Ack means he's not
intending for it to go through the DT tree and Bjorn doesn't seem to
intend for it to go through the Qualcomm tree. Guenter/Wim: it feels
like this could go in the watchdog tree?
Thanks!
-Doug
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: [PATCH v2 9/9] dt-bindings: watchdog: qcom-wdt: Make the interrupt example edge triggered
2023-12-08 15:34 ` Doug Anderson
@ 2023-12-17 15:33 ` Wim Van Sebroeck
0 siblings, 0 replies; 14+ messages in thread
From: Wim Van Sebroeck @ 2023-12-17 15:33 UTC (permalink / raw)
To: Doug Anderson
Cc: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck, swboyd, linux-watchdog,
Rob Herring, linux-arm-msm, Krzysztof Kozlowski, Andy Gross,
Sai Prakash Ranjan, devicetree, linux-kernel
Hi Doug,
> Hi,
>
> On Mon, Nov 6, 2023 at 2:44 PM Douglas Anderson <dianders@chromium.org> wrote:
> >
> > As described in the patch ("arm64: dts: qcom: sc7180: Make watchdog
> > bark interrupt edge triggered"), the Qualcomm watchdog timer's bark
> > interrupt should be configured as edge triggered.
> >
> > Update the example in the bindings.
> >
> > Fixes: 7c631cdff391 ("dt-bindings: watchdog: qcom-wdt: allow interrupts")
> > Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > Reviewed-by: Stephen Boyd <swboyd@chromium.org>
> > Signed-off-by: Douglas Anderson <dianders@chromium.org>
> > ---
> >
> > (no changes since v1)
> >
> > Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> I saw Bjorn landed all of the dts patches from this series but it
> looks like the bindings patch got left behind. Anyone want to claim it
> for their tree, or Ack it saying that you'd prefer for it to go
> through someone else's tree? I assume Krzysztof's Ack means he's not
> intending for it to go through the DT tree and Bjorn doesn't seem to
> intend for it to go through the Qualcomm tree. Guenter/Wim: it feels
> like this could go in the watchdog tree?
I picked it up in the watchdog tree.
Kind regards,
Wim.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: (subset) [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered
2023-11-06 22:43 [PATCH v2 1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered Douglas Anderson
` (7 preceding siblings ...)
2023-11-06 22:43 ` [PATCH v2 9/9] dt-bindings: watchdog: qcom-wdt: Make the interrupt example " Douglas Anderson
@ 2023-12-08 2:57 ` Bjorn Andersson
8 siblings, 0 replies; 14+ messages in thread
From: Bjorn Andersson @ 2023-12-08 2:57 UTC (permalink / raw)
To: Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
Wim Van Sebroeck, Guenter Roeck, Douglas Anderson
Cc: swboyd, linux-watchdog, Rob Herring, linux-arm-msm, Andy Gross,
Guilherme G. Piccoli, Kees Cook, Sai Prakash Ranjan, Tony Luck,
cros-qcom-dts-watchers, devicetree, linux-hardening, linux-kernel
On Mon, 06 Nov 2023 14:43:28 -0800, Douglas Anderson wrote:
> On sc7180 when the watchdog timer fires your logs get filled with:
> watchdog0: pretimeout event
> watchdog0: pretimeout event
> watchdog0: pretimeout event
> ...
> watchdog0: pretimeout event
>
> [...]
Applied, thanks!
[1/9] arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered
commit: 7ac90b4cf107a3999b30844d7899e0331686b33b
[2/9] arm64: dts: qcom: sc7280: Make watchdog bark interrupt edge triggered
commit: 6897fac411db7b43243f67d4fd4d3f95abf7f656
[3/9] arm64: dts: qcom: sdm845: Make watchdog bark interrupt edge triggered
commit: 263b348499454f38d36b9442c3cf9279c571bb54
[4/9] arm64: dts: qcom: sm8150: Make watchdog bark interrupt edge triggered
commit: 9204e9a4099212c850e1703c374ef4538080825b
[5/9] arm64: dts: qcom: sm8250: Make watchdog bark interrupt edge triggered
commit: 735d80e2e8e5d073ae8b1fff8b1589ea284aa5af
[6/9] arm64: dts: qcom: sa8775p: Make watchdog bark interrupt edge triggered
commit: 48d5cf4772ec6268853158d9ffc54612e988ebe6
[7/9] arm64: dts: qcom: sc8280xp: Make watchdog bark interrupt edge triggered
commit: 6c4a9c7ea486da490400c84ba2768c90d228c283
[8/9] arm64: dts: qcom: sm6350: Make watchdog bark interrupt edge triggered
commit: 5b84bb2b8d86595544fc8272364b0f1a34b68a4f
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 14+ messages in thread