2023-03-28 21:04:00

by Shreeya Patel

[permalink] [raw]
Subject: [PATCH 0/2] RK3588 watchdog support

This patch series enables watchdog support for RK3588 and updates the
DT bindings for the same.

Shreeya Patel (2):
arm64: dts: rockchip: Enable watchdog support for RK3588
dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string

.../devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 +
arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 8 ++++++++
2 files changed, 9 insertions(+)

--
2.30.2


2023-03-28 21:04:23

by Shreeya Patel

[permalink] [raw]
Subject: [PATCH 1/2] arm64: dts: rockchip: Enable watchdog support for RK3588

Add DT node for watchdog support in RK3588.

Signed-off-by: Shreeya Patel <[email protected]>
---
arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
index 005cde61b4b2..20793f67c079 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
@@ -1226,6 +1226,14 @@ i2c5: i2c@fead0000 {
status = "disabled";
};

+ wdt: watchdog@feaf0000 {
+ compatible = "rockchip,rk3588-wdt", "snps,dw-wdt";
+ reg = <0x0 0xfeaf0000 0x0 0x100>;
+ clocks = <&cru TCLK_WDT0>, <&cru PCLK_WDT0>;
+ clock-names = "tclk", "pclk";
+ interrupts = <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 0>;
+ };
+
spi0: spi@feb00000 {
compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi";
reg = <0x0 0xfeb00000 0x0 0x1000>;
--
2.30.2

2023-03-28 21:04:35

by Shreeya Patel

[permalink] [raw]
Subject: [PATCH 2/2] dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string

Add rockchip,rk3588-wdt compatible string.

Signed-off-by: Shreeya Patel <[email protected]>
---
Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
index 92df6e453f64..e7a87ce94772 100644
--- a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
@@ -29,6 +29,7 @@ properties:
- rockchip,rk3368-wdt
- rockchip,rk3399-wdt
- rockchip,rk3568-wdt
+ - rockchip,rk3588-wdt
- rockchip,rv1108-wdt
- const: snps,dw-wdt

--
2.30.2

2023-03-28 21:33:46

by Heiko Stuebner

[permalink] [raw]
Subject: Re: [PATCH 2/2] dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string

Am Dienstag, 28. M?rz 2023, 23:00:48 CEST schrieb Shreeya Patel:
> Add rockchip,rk3588-wdt compatible string.
>
> Signed-off-by: Shreeya Patel <[email protected]>

Reviewed-by: Heiko Stuebner <[email protected]>


2023-03-29 08:42:56

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 2/2] dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string

On 28/03/2023 23:00, Shreeya Patel wrote:
> Add rockchip,rk3588-wdt compatible string.
>
> Signed-off-by: Shreeya Patel <[email protected]>
> ---

Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof

2023-03-29 12:48:48

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 2/2] dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string

On Wed, Mar 29, 2023 at 02:30:48AM +0530, Shreeya Patel wrote:
> Add rockchip,rk3588-wdt compatible string.
>
> Signed-off-by: Shreeya Patel <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
> index 92df6e453f64..e7a87ce94772 100644
> --- a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
> @@ -29,6 +29,7 @@ properties:
> - rockchip,rk3368-wdt
> - rockchip,rk3399-wdt
> - rockchip,rk3568-wdt
> + - rockchip,rk3588-wdt
> - rockchip,rv1108-wdt
> - const: snps,dw-wdt
>
> --
> 2.30.2
>

2023-03-29 13:08:55

by Heiko Stuebner

[permalink] [raw]
Subject: Re: [PATCH 2/2] dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string

Hi Guenter,

Am Mittwoch, 29. M?rz 2023, 14:47:34 CEST schrieb Guenter Roeck:
> On Wed, Mar 29, 2023 at 02:30:48AM +0530, Shreeya Patel wrote:
> > Add rockchip,rk3588-wdt compatible string.
> >
> > Signed-off-by: Shreeya Patel <[email protected]>
>
> Reviewed-by: Guenter Roeck <[email protected]>

just the usual question who is expected to pick up the binding patch?
Should I just take it together with the dts-patch or do we wait for
a watchdog-maintainer to pick up the binding alone?

Thanks
Heiko


2023-03-29 21:53:05

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 2/2] dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string

On Wed, Mar 29, 2023 at 03:04:52PM +0200, Heiko St?bner wrote:
> Hi Guenter,
>
> Am Mittwoch, 29. M?rz 2023, 14:47:34 CEST schrieb Guenter Roeck:
> > On Wed, Mar 29, 2023 at 02:30:48AM +0530, Shreeya Patel wrote:
> > > Add rockchip,rk3588-wdt compatible string.
> > >
> > > Signed-off-by: Shreeya Patel <[email protected]>
> >
> > Reviewed-by: Guenter Roeck <[email protected]>
>
> just the usual question who is expected to pick up the binding patch?
> Should I just take it together with the dts-patch or do we wait for
> a watchdog-maintainer to pick up the binding alone?


I am ok with you taking both patches.

FTR:

Acked-by: Guenter Roeck <[email protected]>

Guenter

2023-03-30 11:52:37

by Heiko Stuebner

[permalink] [raw]
Subject: Re: [PATCH 0/2] RK3588 watchdog support

On Wed, 29 Mar 2023 02:30:46 +0530, Shreeya Patel wrote:
> This patch series enables watchdog support for RK3588 and updates the
> DT bindings for the same.
>
> Shreeya Patel (2):
> arm64: dts: rockchip: Enable watchdog support for RK3588
> dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string
>
> [...]

Applied, thanks!

[1/2] arm64: dts: rockchip: Enable watchdog support for RK3588
commit: 932d139e4db18d535dea271df51db5216b8787b3
[2/2] dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string
commit: e1a234eb3d1507b942c25e5a5ae0d6fb9036f1ff

Best regards,
--
Heiko Stuebner <[email protected]>