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
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
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
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]>
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
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
>
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
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
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]>