From patchwork Mon Mar 25 15:37:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13602451 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 640CDC54E58 for ; Mon, 25 Mar 2024 15:39: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=oA8+2R66WuY24mhKascTbl/4mRm3Lls2PKsxNIovInw=; b=ddVpIfcRyXa7PC y2R/aZwNFL7N5PyErd3OD7UAw08WnKc2To6rHZsoGDJoJD9qAnaG6rmBJ5QoEFealxICJkcnuLzlI 2IhtdFCZlce0li3afEj0yWnOHZmE2+kp2pcT6pgR9TLWLNekFrohuP7o+oYLHxtCiHLN6ooHU+0q3 VM9woHChuxt5b7EY1kAWwYf/lrDGCLOG9L3Cpn82eC3V0524QszNl2IKGFh0DBijG1UMaNjV90ZkV /8ShdjISBbX/8WwQ8su0hNs6koKuarR0Pru4mVkYIVsXYTcBfECa29GK8YmqfEE31cRLISmgs9sCz caXL+2uOls3MbzLe6ihg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1romPr-00000000Xd4-2DWA; Mon, 25 Mar 2024 15:39:15 +0000 Received: from madrid.collaboradmins.com ([46.235.227.194]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1romPm-00000000Xay-3Y0N for linux-rockchip@lists.infradead.org; Mon, 25 Mar 2024 15:39:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1711381148; bh=V6CI1OPaZQ5Q/0TuYhGO0XSg1bgvwZJfaU9l9hRSx7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uL9pcOHCR1riL8gQwJrUPgkShaPJGuKqyTUZg/ZcDxdkk0Cyk1O+P4jgAmsYdCXlP 3A/N47aW5x0+ZUFIfLKrctM9rIhTfekHyh928MBgvajKw32fEoH5HlXFpxeWQ0UCiD sMS2KX95kXPtKjK+dS5ZOZv6eadRkU7K6+rJGpgdf3zmWfSynwvGcSMpsGzpH8x0pQ WQSKRoVpPA3wx0SHv/PjzXBJTJcTimMvoxyOoBY5gROTRRJ+bYey5cwtk+nIOluJSo HTSzXUfKEwYpROA+tM7N5wrTeLeknrNUf8nYF0kiLYq9sYFdX1JaREK3ZYQNY+fSCG sHdeBuol0AUnA== Received: from jupiter.universe (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madrid.collaboradmins.com (Postfix) with ESMTPSA id E085237820E1; Mon, 25 Mar 2024 15:39:07 +0000 (UTC) Received: by jupiter.universe (Postfix, from userid 1000) id 72D464800D0; Mon, 25 Mar 2024 16:39:07 +0100 (CET) From: Sebastian Reichel To: Heiko Stuebner , linux-rockchip@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Boris Brezillon , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Sebastian Reichel Subject: [PATCH v1 3/4] arm64: dts: rockchip: rk3588-rock5b: Enable GPU Date: Mon, 25 Mar 2024 16:37:20 +0100 Message-ID: <20240325153850.189128-4-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240325153850.189128-1-sebastian.reichel@collabora.com> References: <20240325153850.189128-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_083911_555640_EEBD47C9 X-CRM114-Status: UNSURE ( 9.69 ) 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 From: Boris Brezillon Enable the Mali GPU in the Rock 5B. Signed-off-by: Boris Brezillon Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index 1fe8b2a0ed75..096ee7a98b89 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -180,6 +180,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>; @@ -470,6 +475,7 @@ rk806_dvs3_null: dvs3-null-pins { regulators { vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 { + regulator-always-on; regulator-boot-on; regulator-min-microvolt = <550000>; regulator-max-microvolt = <950000>;