From patchwork Mon Jan 20 17:21:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Wilczynski X-Patchwork-Id: 13945381 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 B119DC02185 for ; Mon, 20 Jan 2025 17:23:38 +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:References:MIME-Version: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=KHwojA47oiRCZDhW4+wMaXYC0FXTAbspUfWcTiQqLm4=; b=kxKbM63AwpowCS DVU6KCflZQifXHpGfdgAElrkZi0zpV0HMMle7j9HJZ2yIgmDIprGha0uxRMDF5eNiBAJDo/AUhL6B sW3rIt+xqK3xLikhWseBQY39gX4jI8OexJ1NBrBgiw1vryfL6/9+/WPrauqSwAr6ksUCktgLTne5C fksaItilR0guejFYRqEoQH8lKGTZGSVI/A/+ntQWnVbTO9aJFoRSvLvOLl7H1p8aVysPOPCKYUBZs rXEQfbg7yKg+Qlw+VUeGlcPu9k4HVvIrA8ACFlIi5kDjnht5ENECT+mk6mTGDpuuBymWzhAz6Sz1m fJWSMXbYt6lai/PivQ4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tZvUr-0000000680m-29zy; Mon, 20 Jan 2025 17:23:33 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tZvT6-0000000677E-3jDJ for linux-riscv@lists.infradead.org; Mon, 20 Jan 2025 17:21:46 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20250120172143euoutp014f2141f26acea0db3a698cf4d2ca3198~cdl5PBOlU2441324413euoutp01j for ; Mon, 20 Jan 2025 17:21:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20250120172143euoutp014f2141f26acea0db3a698cf4d2ca3198~cdl5PBOlU2441324413euoutp01j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1737393703; bh=B4dK4Atttr0KNpdHrGjC9LuiMIpeHqhsWPufUim1dPk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ArtyLtcjcZZj6g2uSGFqeWVgDxgySfvQMxdYquTz8jttemi4AquhB0VaIkln2QRep oMcz72+qhRmO6QyfJ3iTcemmahu7EAl6+Wz8ZL2yJaEIXJRm5m3lAemyNIMQH6/8w3 afjM80dM9+KqkWPPCGUvJx1g+s6JaaSxpPMaXDPc= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20250120172143eucas1p1e2291992562a703d82a7098b223b4db2~cdl4oBNA_1582415824eucas1p1X; Mon, 20 Jan 2025 17:21:43 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 95.8B.20821.6268E876; Mon, 20 Jan 2025 17:21:42 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20250120172142eucas1p1028244022b09039f4cc9ce1235c5d80c~cdl3_fo_Q2183221832eucas1p1F; Mon, 20 Jan 2025 17:21:42 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20250120172142eusmtrp24edd85dc1fb7ffa80da9495079dcc0ba~cdl39wvE40490804908eusmtrp2N; Mon, 20 Jan 2025 17:21:42 +0000 (GMT) X-AuditID: cbfec7f2-b11c470000005155-2c-678e8626854d Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 30.B5.19654.6268E876; Mon, 20 Jan 2025 17:21:42 +0000 (GMT) Received: from AMDC4942.home (unknown [106.210.136.40]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250120172140eusmtip14b96f653172afd92586847c2fc504f27~cdl2mcYoy1070610706eusmtip17; Mon, 20 Jan 2025 17:21:40 +0000 (GMT) From: Michal Wilczynski To: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, drew@pdp7.com, guoren@kernel.org, wefu@redhat.com, jassisinghbrar@gmail.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, frank.binns@imgtec.com, matt.coster@imgtec.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, ulf.hansson@linaro.org, jszhang@kernel.org, p.zabel@pengutronix.de, m.szyprowski@samsung.com Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-pm@vger.kernel.org, Michal Wilczynski Subject: [RFC v3 17/18] riscv: dts: thead: Introduce reset controller node Date: Mon, 20 Jan 2025 18:21:10 +0100 Message-Id: <20250120172111.3492708-18-m.wilczynski@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250120172111.3492708-1-m.wilczynski@samsung.com> MIME-Version: 1.0 X-Brightmail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T2RWUo0OR+Y4PJK4g3NDEwNTcwsDUwtzYyVxHnZrpxPExJITyxJzU5NLUgtgulj4uCU amBid7+27YLi2jrBXfkuH0RNJizv/RobsjqiPP9i934GhY78lcHL7d90Pn9r0hs03ac1w7ON L407WkhunbquiOCrx8+NCqcx3NR+Kd2y5ckt0WWBOzaXmNut/OJp81zwwMREb9+d6mZtTUv1 fmivc9qxg/PeitIXuy22XTq4ddO1U9NULocstD7/0enZwl9OBq+CPjX98XM4JrDFdaqDtEDq hPWpXGf/crosmcL16KD/tcpVm/36lbjOpn64bfz/3jPrjqkSUu4yN19/q56zY/qE5odujHxW b3y4ypr/nph5VWTRlffLejtu7qsStu/Z19qxdvI/xWV5AgJiQlf3yk3V2ytdnJN64dave67X ToUbKrEUZyQaajEXFScCAIIYsuS4AwAA X-CMS-MailID: 20250120172142eucas1p1028244022b09039f4cc9ce1235c5d80c X-Msg-Generator: CA X-RootMTR: 20250120172142eucas1p1028244022b09039f4cc9ce1235c5d80c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20250120172142eucas1p1028244022b09039f4cc9ce1235c5d80c References: <20250120172111.3492708-1-m.wilczynski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250120_092145_195292_739BEE9D X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org T-HEAD TH1520 SoC requires to put the GPU out of the reset state as part of the power-up sequence. Signed-off-by: Michal Wilczynski --- arch/riscv/boot/dts/thead/th1520.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index d6af27cbb786..f2c6937341a5 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -497,6 +497,12 @@ clk: clock-controller@ffef010000 { #clock-cells = <1>; }; + rst: reset-controller@ffef528000 { + compatible = "thead,th1520-reset"; + reg = <0xff 0xef528000 0x0 0x4f>; + #reset-cells = <0>; + }; + clk_vo: clock-controller@ffef528050 { compatible = "thead,th1520-clk-vo"; reg = <0xff 0xef528050 0x0 0xfb0>;