All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018
@ 2023-08-16 16:13 Robert Marko
  2023-08-16 16:14 ` [PATCH v2 2/2] arm64: dts: qcom: ipq5018: add WDT Robert Marko
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Robert Marko @ 2023-08-16 16:13 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, wim, linux, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, quic_saipraka, linux-arm-msm,
	linux-watchdog, devicetree, linux-kernel
  Cc: Robert Marko, Conor Dooley

Document the IPQ5018 watchdog compatible.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
 Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
index 6d0fe6abd06a..5046dfa55f13 100644
--- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
@@ -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
-- 
2.41.0


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

* [PATCH v2 2/2] arm64: dts: qcom: ipq5018: add WDT
  2023-08-16 16:13 [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Robert Marko
@ 2023-08-16 16:14 ` Robert Marko
  2023-08-16 19:47   ` Konrad Dybcio
  2023-08-23 15:45 ` [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Guenter Roeck
  2023-09-20  2:14 ` (subset) " Bjorn Andersson
  2 siblings, 1 reply; 5+ messages in thread
From: Robert Marko @ 2023-08-16 16:14 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, wim, linux, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, quic_saipraka, linux-arm-msm,
	linux-watchdog, devicetree, linux-kernel
  Cc: Robert Marko

Add the required DT node for WDT operation.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
Changes in v2:
* Put the reg property as second in node
---
 arch/arm64/boot/dts/qcom/ipq5018.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
index 3285c86824cf..b3fa7911788c 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
@@ -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>;
-- 
2.41.0


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

* Re: [PATCH v2 2/2] arm64: dts: qcom: ipq5018: add WDT
  2023-08-16 16:14 ` [PATCH v2 2/2] arm64: dts: qcom: ipq5018: add WDT Robert Marko
@ 2023-08-16 19:47   ` Konrad Dybcio
  0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2023-08-16 19:47 UTC (permalink / raw)
  To: Robert Marko, agross, andersson, wim, linux, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, quic_saipraka, linux-arm-msm,
	linux-watchdog, devicetree, linux-kernel

On 16.08.2023 18:14, Robert Marko wrote:
> Add the required DT node for WDT operation.
> 
> Signed-off-by: Robert Marko <robimarko@gmail.com>
> ---
> Changes in v2:
> * Put the reg property as second in node
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad

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

* Re: [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018
  2023-08-16 16:13 [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Robert Marko
  2023-08-16 16:14 ` [PATCH v2 2/2] arm64: dts: qcom: ipq5018: add WDT Robert Marko
@ 2023-08-23 15:45 ` Guenter Roeck
  2023-09-20  2:14 ` (subset) " Bjorn Andersson
  2 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2023-08-23 15:45 UTC (permalink / raw)
  To: Robert Marko
  Cc: agross, andersson, konrad.dybcio, wim, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, quic_saipraka, linux-arm-msm,
	linux-watchdog, devicetree, linux-kernel, Conor Dooley

On Wed, Aug 16, 2023 at 06:13:59PM +0200, Robert Marko wrote:
> Document the IPQ5018 watchdog compatible.
> 
> Signed-off-by: Robert Marko <robimarko@gmail.com>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> index 6d0fe6abd06a..5046dfa55f13 100644
> --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> @@ -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

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

* Re: (subset) [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018
  2023-08-16 16:13 [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Robert Marko
  2023-08-16 16:14 ` [PATCH v2 2/2] arm64: dts: qcom: ipq5018: add WDT Robert Marko
  2023-08-23 15:45 ` [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Guenter Roeck
@ 2023-09-20  2:14 ` Bjorn Andersson
  2 siblings, 0 replies; 5+ messages in thread
From: Bjorn Andersson @ 2023-09-20  2:14 UTC (permalink / raw)
  To: agross, konrad.dybcio, wim, linux, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, quic_saipraka, linux-arm-msm,
	linux-watchdog, devicetree, linux-kernel, Robert Marko
  Cc: Conor Dooley


On Wed, 16 Aug 2023 18:13:59 +0200, Robert Marko wrote:
> Document the IPQ5018 watchdog compatible.
> 
> 

Applied, thanks!

[2/2] arm64: dts: qcom: ipq5018: add WDT
      commit: 9cbaee8379e620f82112002f973adde19679df31

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

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

end of thread, other threads:[~2023-09-20  2:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-16 16:13 [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Robert Marko
2023-08-16 16:14 ` [PATCH v2 2/2] arm64: dts: qcom: ipq5018: add WDT Robert Marko
2023-08-16 19:47   ` Konrad Dybcio
2023-08-23 15:45 ` [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Guenter Roeck
2023-09-20  2:14 ` (subset) " Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.