From patchwork Sat Oct 19 02:50:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FUKAUMI Naoki X-Patchwork-Id: 13842545 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 BB121D3E1A8 for ; Sat, 19 Oct 2024 02:50:25 +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: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:In-Reply-To:References: List-Owner; bh=FaLnBDU7/75Wa7v63/iyArJmh1eEMBM4eik8j97IF5g=; b=rw71dNWw/fLDhb rilf7NsKohPk233KgoHyqsE2k616w7Nipk3gy+wImegkWDeLHbz2KR3tprB876rT6z1gv2NShXI/S toZnFngQjKIvBTHUflJYHoSnvjZVknJFRQZQZlNAqEiWsUZWugDn6nWcTDAneUblX6zwMHmEfH9kC ftefFzm2nSBQqDI4djfoI3b+k+Aw+zuNBxU2HDxkA5jlCERHieYkpok66eiLGyk78mKq5fv8LpBmv XF3I/JuXoMDq5XHRA6scDDpIQmXNucDwZrEOf3JWyhiU16mSCb18PQfEBscfBikdtgNlNgXSjx2B8 +TmE+8jT+M5hwvohqtJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1zXn-00000002TTV-2VTY; Sat, 19 Oct 2024 02:50:19 +0000 Received: from sakura.naobsd.org ([160.16.200.221] helo=mail.naobsd.org) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1zXl-00000002TT4-1J0w for linux-rockchip@lists.infradead.org; Sat, 19 Oct 2024 02:50:19 +0000 Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 49J2oEkR005139; Sat, 19 Oct 2024 11:50:14 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH] arm64: dts: rockchip: add and enable gpu node for Radxa ROCK 5A Date: Sat, 19 Oct 2024 02:50:08 +0000 Message-ID: <20241019025008.852-1-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241018_195017_582958_88EB3CBD X-CRM114-Status: UNSURE ( 7.01 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org add gpu node to make it usable on Radxa ROCK 5A. Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts index 87fce8d9a964..5882027ab64c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts @@ -166,6 +166,11 @@ &cpu_l3 { cpu-supply = <&vdd_cpu_lit_s0>; }; +&gpu { + mali-supply = <&vdd_gpu_s0>; + status = "okay"; +}; + &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0m2_xfer>;