From patchwork Tue Mar 28 21:00:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreeya Patel X-Patchwork-Id: 13191558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16849C77B60 for ; Tue, 28 Mar 2023 21:02:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229721AbjC1VCg (ORCPT ); Tue, 28 Mar 2023 17:02:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjC1VCf (ORCPT ); Tue, 28 Mar 2023 17:02:35 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60ABC3AA0; Tue, 28 Mar 2023 14:02:09 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2405:201:0:21ea:73f6:2283:f432:3936]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: shreeya) by madras.collabora.co.uk (Postfix) with ESMTPSA id 8F2616603163; Tue, 28 Mar 2023 22:02:04 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680037327; bh=vLuPLrQ150EuvyOIDT/l5G5BueMNkQv42XadApxWJmY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WN64Tbqw7jmk/KbtubS6IeljHEBU6AyfryGC8+TB3NOddenzs7kFj0imi4dDLiykw dHK4nRh7UH2grrSwZapjsiyHDUU2kbmEuQEsxEYyMM0zfzEbjQGTzQghwd6/zvSmKJ cC0JbZiVJzpos0SVaKxKP7fqW9R0AcHmTyW175YE0pclc2D91aqo0O1knt9FYqag8o iqS+YOJIOKM3XbZ0Rh4S4YTerP7oJIhksOAx7PSQpq7306UmuLfqmVlcgLaCKGNgsN loYt/et1qztIoJMdc6zYyIcP9fRHHz9lQG55wuv81TSZpDjCGQTLkV1dXUOnV9cXE2 ENMd2W/2i2yAQ== From: Shreeya Patel To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jamie@jamieiles.com, heiko@sntech.de Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@collabora.com, Shreeya Patel Subject: [PATCH 1/2] arm64: dts: rockchip: Enable watchdog support for RK3588 Date: Wed, 29 Mar 2023 02:30:47 +0530 Message-Id: <20230328210048.195124-2-shreeya.patel@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230328210048.195124-1-shreeya.patel@collabora.com> References: <20230328210048.195124-1-shreeya.patel@collabora.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Add DT node for watchdog support in RK3588. Signed-off-by: Shreeya Patel --- 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 = ; + }; + spi0: spi@feb00000 { compatible = "rockchip,rk3588-spi", "rockchip,rk3066-spi"; reg = <0x0 0xfeb00000 0x0 0x1000>; From patchwork Tue Mar 28 21:00:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreeya Patel X-Patchwork-Id: 13191559 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB47FC76196 for ; Tue, 28 Mar 2023 21:02:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229531AbjC1VC6 (ORCPT ); Tue, 28 Mar 2023 17:02:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbjC1VC5 (ORCPT ); Tue, 28 Mar 2023 17:02:57 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01739271B; Tue, 28 Mar 2023 14:02:31 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2405:201:0:21ea:73f6:2283:f432:3936]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: shreeya) by madras.collabora.co.uk (Postfix) with ESMTPSA id D3342660316C; Tue, 28 Mar 2023 22:02:15 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680037338; bh=IkBViQkMrsp3U7hL5tvqsx/UtD7E86JvMjAnDOuW9eM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F88qULeTjTL5NdUCnjTdUvOd0c8p4IxUVoDA39dmYM6w29LLpDYXL4GMDPtBObICC sMd4JzMRpU+hh7tlK+IvO7nGLxUv7IKBXRzvCKEyhrBzNfPbJwaEnVMVbBb04mrPLp qsjKbrlshAzEKWP5mBetROaiSbn+wL84pI0j26zzcJVOt8BNtqrqn6O3l6W7vYmpX6 0URWP9QBHTyoWfgblCxZNvju8BLUjLSKbdRro/+HQb5w9L6sAGvJZAoM7N1fbpRtcz Rb8i2TnnAnoPhKbJq8IY9JmKD8zqe7TvJA0lypQRG5kDQuACvYFxhWy+9KpUtnKhkH VSCfio/WrT3GQ== From: Shreeya Patel To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jamie@jamieiles.com, heiko@sntech.de Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@collabora.com, Shreeya Patel Subject: [PATCH 2/2] dt-bindings: watchdog: rockchip: Add rockchip,rk3588-wdt string Date: Wed, 29 Mar 2023 02:30:48 +0530 Message-Id: <20230328210048.195124-3-shreeya.patel@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230328210048.195124-1-shreeya.patel@collabora.com> References: <20230328210048.195124-1-shreeya.patel@collabora.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Add rockchip,rk3588-wdt compatible string. Signed-off-by: Shreeya Patel Reviewed-by: Heiko Stuebner Acked-by: Krzysztof Kozlowski Reviewed-by: Guenter Roeck Acked-by: Guenter Roeck --- 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