Message ID | 20250120172111.3492708-17-m.wilczynski@samsung.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 93FFFC02185 for <dri-devel@archiver.kernel.org>; Mon, 20 Jan 2025 17:21:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 10E0610E46B; Mon, 20 Jan 2025 17:21:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="YZfmDW3w"; dkim-atps=neutral Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 748F210E455 for <dri-devel@lists.freedesktop.org>; Mon, 20 Jan 2025 17:21:43 +0000 (UTC) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20250120172142euoutp02208ddb9edd68fe53dfe134a2467bf409~cdl32xUSk2036520365euoutp02I for <dri-devel@lists.freedesktop.org>; Mon, 20 Jan 2025 17:21:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20250120172142euoutp02208ddb9edd68fe53dfe134a2467bf409~cdl32xUSk2036520365euoutp02I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1737393702; bh=ELVFwlXruYz1kPow10AHG3LPysQG7TGaSfE/6TgvkWQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YZfmDW3wmt1xPs672QdtKCe0derTuniatlgpzGpRRBy8SKlvgLRif5wMaX2ONDp1i E14L9yHdyjLU3v4ANjamexmT5H3D5VWy1ecBkZvoDEGRDxbOasJ8AQs/xU+bXOE61M bR17mszO5/6KutvLz+axcLNJgS7/45dgN4mRopTc= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20250120172141eucas1p1dcc522af5096a551d5259a2cc659af58~cdl3aNOTK1582415824eucas1p1V; Mon, 20 Jan 2025 17:21:41 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id A3.8B.20821.5268E876; Mon, 20 Jan 2025 17:21:41 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20250120172140eucas1p26bd83fb8195d0ed01b7b214ed374948f~cdl2teutu3181531815eucas1p2m; Mon, 20 Jan 2025 17:21:40 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20250120172140eusmtrp25c5715c64659fcdd6c78d686e4be8305~cdl2qlATV0490804908eusmtrp2L; Mon, 20 Jan 2025 17:21:40 +0000 (GMT) X-AuditID: cbfec7f2-b09c370000005155-29-678e8625bf47 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 16.D8.19920.4268E876; Mon, 20 Jan 2025 17:21:40 +0000 (GMT) Received: from AMDC4942.home (unknown [106.210.136.40]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250120172139eusmtip1397837eb8299a44b6f38940a7af6b976~cdl1WsfX21199611996eusmtip1j; Mon, 20 Jan 2025 17:21:39 +0000 (GMT) From: Michal Wilczynski <m.wilczynski@samsung.com> 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 <m.wilczynski@samsung.com> Subject: [RFC v3 16/18] riscv: dts: thead: Introduce power domain nodes with aon firmware Date: Mon, 20 Jan 2025 18:21:09 +0100 Message-Id: <20250120172111.3492708-17-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 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Se0xTdxTe797be9vG6qUw+cUtc3TrHiyjsDj5GWXq5rZrzMJcFrY5o6t6 rY0UTAsKugiE0vAoqARDrNAiUXmEjodtRxlIQGgBtaIMCk4eSxiuHVoQyoYGGKV187/vfOc7 5/tOcri48GdyHVeekMQqE6TxIpJPWGzzd94XawpkkQODYtTlLMeQ+ZmOQjUtDgwZOhwcNHLP hKFfvR4S/fRHL4X+bMkg0EBlKYUybbUkculGSDStHeGgvqYSEs3kdwBkmVGTyNgxTKFarwFD l6bNBLrc2ASQJucqB93t+RQNj3QRyNWnxZFGtwYtNTdSaHGgnkAXH7dSyDR5joPsxm+QurWI 2PYa4xnMophJl4tgbmTPUkzLXBnBWHXDFKO13gJMQ3UOyTwYaCYZffduZjTPjjHXLqcxaqMN Y84sRDKe6/0kU2CqBsy9TCf1pXAPf8shNl5+nFVKPvqBf+Rhgw0cs/FSZtyidDBH5QIeF9Ib YL/hGScX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fov/e3awW/y7tpHFYva7/ewWW95MZLU4vjbcomX/FBYHOY/3N1rZPd68fMnicbjj C7vH3m8LWDx2zrrL7tGz8wyjx6ZVnWwed67tYfOYdzLQ4373cSaPzUvqPVrWHmPy6P9r4PF+ 31U2j74tqxg9LjVfZw8QitKzKcovLUlVyMgvLrFVija0MNIztLTQMzKx1DM0No+1MjJV0rez SUnNySxLLdK3S9DLeL7pGGPBMc6Kz6+UGhi/sXcxcnJICJhIdD84y9jFyMUhJLCUUeL80mNs EAkZiWvdL1kgbGGJP9e62CCKXjFK7Pz5FizBJmAk8WD5fFYQW0RgMYvE3n2VIEXMAm8ZJa7P 3AhWJCwQKfHp2TUwm0VAVaJ331ew1bwCDhIPTx2GOkNeYv/Bs8wgNidQ/PvVvWBxIQF7iTtX uxkh6gUlTs58AjaHGai+eets5gmMArOQpGYhSS1gZFrFKJJaWpybnltsqFecmFtcmpeul5yf u4kRmF62Hfu5eQfjvFcf9Q4xMnEwHmKU4GBWEuEV/dCTLsSbklhZlVqUH19UmpNafIjRFOju icxSosn5wASXVxJvaGZgamhiZmlgamlmrCTO63b5fJqQQHpiSWp2ampBahFMHxMHp1QDk12f s9D3vZNKOPvEVaf88PzZXh/Pk/fL28es+79h1w1xMedut4B76qL+0V2nKl9Lu+yU1/592/K/ lBDnc5NkLws+9rfG0sx5LLzJjxZrPthgub3Bjfvjbwn1C4mtfs8PnTORv20p/rF6Xumvm9wH G+9G8U/ZMjV+l4aZWvOkg3y9p9+8/fP3qU7ubMbZzBuqlpq7cVxduj2v6uKknNrFPN863Cq2 NIbe9nM4beTgllTp3q5WOu+1ydM+hhXnWUXvM9n8ZQtfU3OgizenWbQ+4ce1I5zs/F9uHbof MH//63/T1h5INerWrhNa9F3o5uItG5yqXLnU4/c1x09JrBVcmB10iNn1T2pX8/enkf+UWIoz Eg21mIuKEwEuj26huAMAAA== X-CMS-MailID: 20250120172140eucas1p26bd83fb8195d0ed01b7b214ed374948f X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20250120172140eucas1p26bd83fb8195d0ed01b7b214ed374948f X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20250120172140eucas1p26bd83fb8195d0ed01b7b214ed374948f References: <20250120172111.3492708-1-m.wilczynski@samsung.com> <CGME20250120172140eucas1p26bd83fb8195d0ed01b7b214ed374948f@eucas1p2.samsung.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Enable drm/imagination BXM-4-64 Support for LicheePi 4A
|
expand
|
diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index d4cba0713cab..d6af27cbb786 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -6,6 +6,7 @@ #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/clock/thead,th1520-clk-ap.h> +#include <dt-bindings/firmware/thead,th1520-aon.h> / { compatible = "thead,th1520"; @@ -229,6 +230,13 @@ stmmac_axi_config: stmmac-axi-config { snps,blen = <0 0 64 32 0 0 0>; }; + aon: aon { + compatible = "thead,th1520-aon"; + mboxes = <&mbox_910t 1>; + mbox-names = "aon"; + #power-domain-cells = <1>; + }; + soc { compatible = "simple-bus"; interrupt-parent = <&plic>;
The DRM Imagination GPU requires a power-domain driver. In the T-HEAD TH1520 SoC implements power management capabilities through the E902 core, which can be communicated with through the mailbox, using firmware protocol. Add AON node, which servers as a power-domain controller. Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com> --- arch/riscv/boot/dts/thead/th1520.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)