From patchwork Fri Jan 12 09:46:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13518152 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 10994C4706C for ; Fri, 12 Jan 2024 09:47:54 +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=0ID5hZ3NS9B6jcyDu8SdqrRDNVQDHQ3GXSGwU/ray7U=; b=N/YC7vOhETgP/m E9B7DqtuqiJC5gFCJqLhEmDAyeunwn7/3oow7m9xx1DAXysNl2G1HQdirUzf46XnjVxh7MIb//Z6H 9DuYLBpmF5psor2Yv6gh8gk7+m3ys962A1mDd6j2Sj+VkGg6a23tTSB0asObUHewTIygPSQH22H1e 2lcgy8V1PvDPQH3x/cS+D2YpP5cnpi+jdbga80uKEDfM+Ha1Zc1qMctd5Az37vBGINctdYxlUOF/A 9sCt3DNoK7WUwOODIKfCw09zZqNXO0uFAK3jbrmnPFdneQ5jEGYXqhg3erB/uEGCEYyEOgSOzA+lW yJEU7gvOZ1QNv5yagaug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rOE8P-002NrU-1V; Fri, 12 Jan 2024 09:47:29 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rOE7r-002NFO-0M; Fri, 12 Jan 2024 09:46:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705052813; bh=tsohDLdjrCpy/Zam0gWBw3px6fB53qKguAcxzszbx7Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B5lKJPcBBWHx15S4tRJBrMmNXjZCtc1OdrRodFbI1YI5TvfErCAm/YYm2hWV5uULg Xe47kU69iOPLQBD5Nz5K5PfRixeskqlFRYaoZ7PsQM92m0X873zUH57HaPIo53L99g TGSUktlQUsFPrSLkebQhxI294bF67QIj5tEQs39R01gT5a3AHJSPl8DVNY3ZVcexli BW5LK7/HWYbmK40Qa5ujbUs4Vunhi+GQuujaAEvZezJFd6XJBLgBN9K2S34DGskcNJ Dt9kb/s/SrFN1AaYp5J5HZ8tEGDOV8JZWZA6XnZRZvX5/nt7wnL3K+Y8r4DJ9Zbfdo cIbnwrq3J4mYw== Received: from IcarusMOD.eternityproject.eu (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: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 16570378203A; Fri, 12 Jan 2024 09:46:53 +0000 (UTC) From: AngeloGioacchino Del Regno To: linux-mediatek@lists.infradead.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, nfraprado@collabora.com, macpaul.lin@mediatek.com, sean.wang@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: [PATCH 15/15] arm64: dts: mediatek: radxa-nio-12l: Enable Panfrost for Mali GPU Date: Fri, 12 Jan 2024 10:46:32 +0100 Message-ID: <20240112094632.66310-16-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240112094632.66310-1-angelogioacchino.delregno@collabora.com> References: <20240112094632.66310-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240112_014655_275778_035F569C X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the GPU node and add the required power supply to get GPU support through Panfrost. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts index b0d66fa139b5..1e97d2bf7b8b 100644 --- a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts +++ b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts @@ -153,6 +153,11 @@ rgmii_phy: ethernet-phy@1 { }; }; +&gpu { + mali-supply = <&mt6315_7_vbuck1>; + status = "okay"; +}; + &i2c2 { clock-frequency = <400000>; pinctrl-0 = <&i2c2_pins>;