From patchwork Fri Apr 15 10:49:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 12814783 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 E117BC433FE for ; Fri, 15 Apr 2022 10:51: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=7bTJ8vOeYz443HR4sRi0bJ/B/UeV4rk0a7ZzB7nlVFs=; b=qChmUyOINMm0kH t0Ba3OiAvMvjVwjnrNbuTCdLHgZeKTv05x7G1+Taw7aTGyaQtc5r/pBIPSlnMV23IidvxExH0vs/a 74fh58tUpDmDUkhAnpABC7cu/TdYkAo1uqUza9U3/8KDICmWfatkQdnly+RBJlavmhiAoqymp9tyQ LbXssY2I1XI687W9JU2RaOLpCGbDq7L5Eo+1wjvL0XNaixSGjaheF+t/uax0chq0QoxUhc0Bdz7gK eAb95lCyMxPI1KAJ5p7RsQQ0ClkPH1Mxi0hDhaXXPE7tAHDzS/sLe7T+DINyGWVQUn6YPTzJOgdoE EpHtWbLb8Pum6tiYn9cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfJX0-009hjf-3i; Fri, 15 Apr 2022 10:50:26 +0000 Received: from mxout1.routing.net ([2a03:2900:1:a::a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nfJWq-009hft-Ma; Fri, 15 Apr 2022 10:50:18 +0000 Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout1.routing.net (Postfix) with ESMTP id B9D784045A; Fri, 15 Apr 2022 10:50:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1650019813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dpMeInSeGLr2M/cKBKR/bsw167szY9U7Y8rOwB1eC+g=; b=xa/MHuLErIJSvr4HFZHA/fAkCJJWJgp6TXLjDbjeURjYppmeqpdwbHUh2DHfpFoRf10f+2 uLb4teRhqiW964RAYNk62LPq2A+Wc5UvQoIi7XRO9Eb/KRMwJEvCxnhmtbCQF7Oh/BkDRA KdF62T+2WjOks+3ONv4oLdtrC7iVAaM= Received: from localhost.localdomain (fttx-pool-217.61.153.244.bambit.de [217.61.153.244]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id 68344100501; Fri, 15 Apr 2022 10:50:12 +0000 (UTC) From: Frank Wunderlich To: Heiko Stuebner Cc: Frank Wunderlich , Rob Herring , Krzysztof Kozlowski , Peter Geis , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: rockchip: enable the gpu on BPI-R2-Pro Date: Fri, 15 Apr 2022 12:49:51 +0200 Message-Id: <20220415104951.27104-4-linux@fw-web.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220415104951.27104-1-linux@fw-web.de> References: <20220415104951.27104-1-linux@fw-web.de> MIME-Version: 1.0 X-Mail-ID: ef0374fb-5767-4ac8-ba53-f4bf2682b8aa X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220415_035016_930313_C6368C62 X-CRM114-Status: UNSURE ( 9.34 ) 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 From: Frank Wunderlich Enable the GPU core on the Rockchip RK3568 BananaPi R2 Pro Signed-off-by: Frank Wunderlich --- arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts index cc3591251bab..10f68d054f76 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts @@ -196,6 +196,11 @@ &gmac1m1_rgmii_clk status = "okay"; }; +&gpu { + mali-supply = <&vdd_gpu>; + status = "okay"; +}; + &hdmi { avdd-0v9-supply = <&vdda0v9_image>; avdd-1v8-supply = <&vcca1v8_image>; @@ -566,6 +571,8 @@ &spi3 { }; &tsadc { + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <0>; status = "okay"; };