From patchwork Tue Apr 18 12:06:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13215557 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0815FC6FD18 for ; Tue, 18 Apr 2023 12:07:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=r5zi7ukBF2pgoXpmBo43iuZcWi4mwUsWHscX8rbsJh8=; b=hSWhuYXXppxqZS OWUI4X3nwWAOFpfahRa/DfmJxPXN8h3/Fa7Up9DlY8BRomtf+Hs8WqVTgM06B2pJUxfAwAPfTvnn2 YDSoPLmIuhPToFqeieh+mxDSLQw9Z6OrDNp5wkEIrjHO28dYXG7M1Yr3OtqOApM2yH6V8nApnw7HJ JMqg7+sonZfHl79E/2vI67h46UO0t7BPE1jTjYlsCXpkjWXMwJTcMW34NOw2TUEnmyh7KvSVeCzfZ +KXXu/ofUOquhSn08MVhPW8WmXCUlLfTkKH1oJV7DMf9B4/NIyqc1msJU0A4VauLL31nw/tiZ4o+t HrDMA7IZgnc/hnTkMwug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pok6Z-0023P3-23; Tue, 18 Apr 2023 12:06:39 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pok6U-0023Ma-1u; Tue, 18 Apr 2023 12:06:35 +0000 Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 849FA660320E; Tue, 18 Apr 2023 13:06:30 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681819590; bh=w/9CTLSlVSYyZ+5e50QOn61kzcMVylyCvXSvKXxthag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Eh1NLz+itAUaOYex/myidquinACDEbJ1VU6D1jF4oUvryZilwrTAh3mvRhcpfKaED ojpvrJ2nNipa/k7srwgFGgthukkS0i5pTyztrp4cz2rNDgoEy6NXdanSxY9eAtUPST zV0bHNyfktmxt2EAZTZhaampjeRp2lmUe8p8d118mwmBPYpAMeXHAcCVKSY8uswFFO CzQ+r9T1l6rLgja6pHp0Xp8MgID1t/DmaT64bSfKLk/sOmarnM48GIB5YphILz+42m JFoSysMR5WdELjRhqgvjIoj2rZ7pz0FoHvRkSRVAeqWk3AAqTcq0RTf0FTohjLCiEr 8PtyHh0WtH4Hw== From: Cristian Ciocaltea To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Sebastian Reichel , Sugar Zhang , Shreeya Patel , Kever Yang , Johan Jonker Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@collabora.com Subject: [PATCH v2 1/3] dt-bindings: timer: rockchip: Drop superfluous rk3288 compatible Date: Tue, 18 Apr 2023 15:06:22 +0300 Message-Id: <20230418120624.284551-2-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418120624.284551-1-cristian.ciocaltea@collabora.com> References: <20230418120624.284551-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230418_050634_758381_F309B3DF X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The compatible string for Rockchip RK3288 is provided in both the 'enum' and the subsequent 'const' item. Drop the unnecessary entry from the enum. Signed-off-by: Cristian Ciocaltea Reviewed-by: Heiko Stuebner --- Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml index 65e59836a660..2bdb6e6bdb21 100644 --- a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml +++ b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml @@ -23,7 +23,6 @@ properties: - rockchip,rk3188-timer - rockchip,rk3228-timer - rockchip,rk3229-timer - - rockchip,rk3288-timer - rockchip,rk3368-timer - rockchip,px30-timer - const: rockchip,rk3288-timer From patchwork Tue Apr 18 12:06:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13215558 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D71C0C77B75 for ; Tue, 18 Apr 2023 12:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nJhWwuFrdSRiZh0SDOH0M3H9Wl4Q39wBwzDOLA96VVA=; b=UNdQXbu5uVQESZ 4hywcBR8sd7zTqNf36Nwob8cQztmMaVpG/VG9n7ZBMknJig6YfOjcN9KB8GvSNdfNpumQxP9qxcxx YqTHYFQ+YpE+mlGhHUPNfx14eARY6dGCl4wu4IUeyFEsjLlRWjIgzOmKqblG1Q98svDki4iodZv1i QfmcLzKW/x6AyYVTjJi+Dl3HCkv6qk4SmSv8j5bcr3B7XZIYRianBnSIoM8rXiOvNng5y/1D5BvjD UWYh4K3Ud6/TPHzsgZMpPnai5yPZDFo8hPwDl6GvQuGMfShbVbTJI+2RWo9FrE/1agkZRa+Z9OYR7 be7jpkWKQ7Vz0So0YdVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pok6b-0023Pp-0d; Tue, 18 Apr 2023 12:06:41 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pok6V-0023NC-2B; Tue, 18 Apr 2023 12:06:36 +0000 Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 5E624660323C; Tue, 18 Apr 2023 13:06:34 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681819594; bh=lLoigGWkJxfCsqJmwio7gez8QFEu8vijF5k4UrUjSpw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AvEeqpus0tcroeu1p8vBBsVDt7A+RRKrD/3inm1Y86xaaeCCPJw1uqx/gbnXG2LrD jD2+6qkSe09ErDCfxbPjrlZ6uwUswO7EXZOQ4QYecpYJV4TrfjKXmKGo1vhhhmSMRF Vf7pKeKzpg7G3hUdW2qHj4bOhB1HkBT/euuYAyWSAD9KT4wFKN/lydQxy7zk3CEJEw ONW2KNAlgVYNH8a7GlIeIqk/QCMm5LvXmkvANBUIkW2o6Sp6FTzYNrlpHi2QFAHneX czxNEzac+UnOhYsY7wu5epEbybhPdKHnt6UFqTxh1AT0v2p1giTP8bGUYTPeGo188w 8h477zrxlB4tg== From: Cristian Ciocaltea To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Sebastian Reichel , Sugar Zhang , Shreeya Patel , Kever Yang , Johan Jonker Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@collabora.com Subject: [PATCH v2 2/3] dt-bindings: timer: rockchip: Add rk3588 compatible Date: Tue, 18 Apr 2023 15:06:23 +0300 Message-Id: <20230418120624.284551-3-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418120624.284551-1-cristian.ciocaltea@collabora.com> References: <20230418120624.284551-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230418_050635_839083_6A19535B X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible string for Rockchip RK3588 timer. Signed-off-by: Cristian Ciocaltea Reviewed-by: Heiko Stuebner Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml index 2bdb6e6bdb21..19e56b7577a0 100644 --- a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml +++ b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml @@ -24,6 +24,7 @@ properties: - rockchip,rk3228-timer - rockchip,rk3229-timer - rockchip,rk3368-timer + - rockchip,rk3588-timer - rockchip,px30-timer - const: rockchip,rk3288-timer reg: From patchwork Tue Apr 18 12:06:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13215559 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2AF2AC6FD18 for ; Tue, 18 Apr 2023 12:07:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rlOZX4iDwN8dUz3N8Twk7r+Aqp8CdUpHQeveACrPnnc=; b=1BIxz5k5UoqOrL s0hUUTS88KAwGCXmbNBOIVHmju11fYsPKnrYwMFxHincSpKYiEKmFzpDfAarrC2pwEb8EdMOjUN+R 5MeN/NLaHRvg0cJ/VSKx/csLql8mkfWw72T2W/q9DuAni1EZfiOejIOuKOVKu8thzB8ltYz+OYTBI zD1s6Y8nPi6ZSG5DPNLrwdWsnud0zghPjUmwITA/OS/+5kUH9nnTEcIuAP5POCT9dJQrZDJbxgw1D YoxVyfe2+dBBamMJCL1t7WwgJo9XcKrcoYTTpcy+aAP95JrrcJ+VhURez/cc7pO1r1/85egrGrLiF kIDtmsFEWoRKRvsI1zIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pok6e-0023RM-2L; Tue, 18 Apr 2023 12:06:44 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pok6Z-0023OR-0Q; Tue, 18 Apr 2023 12:06:40 +0000 Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id C125E660320E; Tue, 18 Apr 2023 13:06:37 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681819598; bh=TQcB5X4iZIViJGyWOJ/d+KxnISkUh4MekvbHwYmTdXk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oFDWMnpZdoO3UisFSu/SMZB0jfMFuAlpH18h+bsJa8M+zrtPMfDOCYA6Whd8lcZTY rRPbnp2pBY1oFfAtEi52kGJnz3moIECfOzNLDViBcUfevkKAIQCy1TLUYxw6SGwsnq IFsMYYrSIy50dnRLUZoGxhbcWukNgm3/mDGe+lkKVlrWlgeo0i1asK6Se+NHdOYkMz QG8aT1X/GC36M9hz+E+s0qmIVwt7pdecBa2NACIskLnH67ITi1RcsqkLcDPwxLmZCv KLV8M13KYk/fo0TLTrHz9kbBmzYQ9UvItdZTtYnb0OkoFs9wv1sYjyqGDyclq9LF5b 2jlEX/8tWz6SQ== From: Cristian Ciocaltea To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Sebastian Reichel , Sugar Zhang , Shreeya Patel , Kever Yang , Johan Jonker Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@collabora.com Subject: [PATCH v2 3/3] arm64: dts: rockchip: Add rk3588 timer Date: Tue, 18 Apr 2023 15:06:24 +0300 Message-Id: <20230418120624.284551-4-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418120624.284551-1-cristian.ciocaltea@collabora.com> References: <20230418120624.284551-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230418_050639_297412_80A1ABFF X-CRM114-Status: GOOD ( 10.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add DT node for Rockchip RK3588/RK3588S SoC timer. Signed-off-by: Cristian Ciocaltea --- 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 657c019d27fa..767084a1ec43 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -1400,6 +1400,14 @@ i2c5: i2c@fead0000 { status = "disabled"; }; + timer0: timer@feae0000 { + compatible = "rockchip,rk3588-timer", "rockchip,rk3288-timer"; + reg = <0x0 0xfeae0000 0x0 0x20>; + interrupts = ; + clocks = <&cru PCLK_BUSTIMER0>, <&cru CLK_BUSTIMER0>; + clock-names = "pclk", "timer"; + }; + wdt: watchdog@feaf0000 { compatible = "rockchip,rk3588-wdt", "snps,dw-wdt"; reg = <0x0 0xfeaf0000 0x0 0x100>;