From nobody Thu Oct 9 10:51:56 2025 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0983A2BE7D1 for ; Wed, 18 Jun 2025 10:22:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750242156; cv=none; b=ZyxxWYPPIrrysqjpDWkc1RUkecrbtX4u4SA0xAJNcl5QSiV9QO7i0azH5MVpg4zmNmzlD6w6immhbglnMCoNT9h+2+dloC5R8vU4QHNe3m5kyCYkwhxCe2ch6yUtsLf0MkQAxOnDQDWqGunUVRRZB3tndvZJEaLFp2Cmc57dXU0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750242156; c=relaxed/simple; bh=7AzkJzyMtlyRZ3L8jj0gHiRqZpAYGhtMYEoeo/ElVyM=; h=From:Date:Subject:MIME-Version:Message-Id:In-Reply-To:To:Cc: Content-Type:References; b=cB418jIU4tQDLWMUI3eS+ADu7RH30L6xk/EV1bP9/dG1HhtMn6WQj0FgYgSIleZOHVSSWB4CECtL8ikufMqg48Slp/5fmZz/y7UCw1pFmvlTiHwrWi9ZMmgtHC94d1KAJVMM2qj0N9/z2jiiCDnVcH8tzT+zAxsuqhfQrod73ow= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=ApxDq+q7; arc=none smtp.client-ip=210.118.77.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="ApxDq+q7" Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20250618102232euoutp013bb3010312640c6b6f7c33eac2b27f1d~KG-bpTtNV1750617506euoutp01i for ; Wed, 18 Jun 2025 10:22:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20250618102232euoutp013bb3010312640c6b6f7c33eac2b27f1d~KG-bpTtNV1750617506euoutp01i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1750242152; bh=03clYuLUe6lZViLZ7J3QsFCYeiK6qNUgF531eyi5Uj4=; h=From:Date:Subject:In-Reply-To:To:Cc:References:From; b=ApxDq+q7YQ8RwciF1FUJBLaE/9u/BOkQbAR48Dk6iJzTtmqFEpHk4O7CXjpIUtjJB tQXuBxNbHQLPsjJog0QeABHnGwJ1rw8WWFBUvfi/KfppVTg7BtjSRW5Ux9ecCRHGZu +TxZ4x5c1tw4hzyTQJ3ec16qiSYMYz5sdgSDWwpo= Received: from eusmtip1.samsung.com (unknown [203.254.199.221]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20250618102231eucas1p1ec99058179825cb1250a1f189313b3eb~KG-bGe0in2809028090eucas1p1_; Wed, 18 Jun 2025 10:22:31 +0000 (GMT) Received: from AMDC4942.eu.corp.samsungelectronics.net (unknown [106.210.136.40]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250618102230eusmtip198543fedf6efd80d3c0af56b4c5c4765~KG-aIXtgN1490914909eusmtip1I; Wed, 18 Jun 2025 10:22:30 +0000 (GMT) From: Michal Wilczynski Date: Wed, 18 Jun 2025 12:22:12 +0200 Subject: [PATCH v5 6/8] riscv: dts: thead: th1520: Add GPU clkgen reset to AON node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <20250618-apr_14_for_sending-v5-6-27ed33ea5c6f@samsung.com> In-Reply-To: <20250618-apr_14_for_sending-v5-0-27ed33ea5c6f@samsung.com> To: Drew Fustini , Guo Ren , Fu Wei , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michal Wilczynski , Bartosz Golaszewski , Philipp Zabel , Frank Binns , Matt Coster , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Ulf Hansson , Marek Szyprowski Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, dri-devel@lists.freedesktop.org X-Mailer: b4 0.15-dev X-CMS-MailID: 20250618102231eucas1p1ec99058179825cb1250a1f189313b3eb X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20250618102231eucas1p1ec99058179825cb1250a1f189313b3eb X-EPHeader: CA X-CMS-RootMailID: 20250618102231eucas1p1ec99058179825cb1250a1f189313b3eb References: <20250618-apr_14_for_sending-v5-0-27ed33ea5c6f@samsung.com> Add the "gpu-clkgen" reset property to the AON device tree node. This allows the AON power domain driver to detect the capability to power sequence the GPU and spawn the necessary pwrseq-thead-gpu auxiliary driver for managing the GPU's complex power sequence. This commit also adds the prerequisite dt-bindings/reset/thead,th1520-reset.h include to make the TH1520_RESET_ID_GPU_CLKGEN available. This include was previously dropped during a conflict resolution [1]. Link: https://lore.kernel.org/all/aAvfn2mq0Ksi8DF2@x1/ [1] Reviewed-by: Ulf Hansson Signed-off-by: Michal Wilczynski Reviewed-by: Bartosz Golaszewski Reviewed-by: Drew Fustini --- arch/riscv/boot/dts/thead/th1520.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/th= ead/th1520.dtsi index 1db0054c4e093400e9dbebcee5fcfa5b5cae6e32..f3f5db0201ab8c0306d4d63072a= 1573431e51893 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include =20 / { compatible =3D "thead,th1520"; @@ -234,6 +235,8 @@ aon: aon { compatible =3D "thead,th1520-aon"; mboxes =3D <&mbox_910t 1>; mbox-names =3D "aon"; + resets =3D <&rst TH1520_RESET_ID_GPU_CLKGEN>; + reset-names =3D "gpu-clkgen"; #power-domain-cells =3D <1>; }; =20 --=20 2.34.1