From patchwork Wed Feb 9 21:55:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12740948 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 92174C433FE for ; Wed, 9 Feb 2022 21:58:11 +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=72BTnSlFHZx0QeOW+dmt4coKkMsNPhiIW4iD0ynnxaw=; b=qZ44CSRPc6vCHY pcBw6ZX7UiX/mGIxH5C298RmAJmG83LhShR63aJ0CjX2pRaZC0QKsRBhE1aaIlsHtQrc+mOiu6qZN gujQiVzA6tD3cPGMohuAbRgnhWNI3fj6OHAY78bXkkLbGcd9bcB0rPuDWNY0eV8Y1mYuTjurfrmRs ITFxHuL0hhiTsAdpOKGFDygzTRjzy85+EnO0ZSHxgIO5J2aAKQcevNZHzSlvMG6EYpwAQLyqdznt3 84yDp89BEebuA+BH9WBhXnRM1NHpPRewm4tDHWGD2bpLz5OMgV24Z7N0BHxyfzy9AY0S/ILeOKhcr 4xoPkLCn92oyoZPSJLdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHuyW-001lON-2G; Wed, 09 Feb 2022 21:58:08 +0000 Received: from mail-ve1eur02on0600.outbound.protection.outlook.com ([2a01:111:f400:fe06::600] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHuwh-001kMp-Gl; Wed, 09 Feb 2022 21:56:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V5yzLHvTyFV5X3lRwSM50NV92otEgcOM+o21oZHvveMcKRgAlLGN7DMz3BguHCCSLOOGabgBH49P/r+JitpCRaxILbM+Juzi5mjInu0i3mm0dYZDznEVkq6/+bWXjoBCF3c9B8lwcOQ8Ygo9VPmWXkjkpyiizdAEjj6LIcI/qeLLb3Ci+DoXwHE00ROVMqEAgNJzDiM6h56jrQYHC/rmDH1Zj0++BiygBSJ9oGeo8M0r/D16jfQLD3Encle4fz6WSygoUerfTIMq7TrrfdJ5U9m+aZkIKEN0+oGMjEOQ/vL055g0UZMyDOKfumLqrBQehKwX5ahS5NjaBv+eaUQVyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nXhbRDQGkISr6kHJqbllfTp+stN+je4oakh0iU0AGdo=; b=bZa6kUGDNC1dFRKOYnugbEDK5BoowARKNzbtxxie6OWdAUpvBMUNrV4onqiexJaye3KIRJWjLa1fEub3eL70q8vv3IyLHf+d5yzlQNTbXompoxTBD4Dv8RFifth5crm7ihpjauuoyt7Ixrk4pubUrwJEtTPeypdFhZQysZRvPqGSBjl7EcetiQCICXPOwglYlHM4A9ql8Eb/Y9AJx26yno6rMIwh2KyaIILehcdVqF2oxMsK8Gfeqxxe8/lRrI3yJs76LWhrN7qZSVceEuxu8XN4g+WmVxwksyeyVwOYFLUKQ4Gw5QUCw0BDooXNG6QP+ssf3IrHfr1Mzet3zDUR5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nXhbRDQGkISr6kHJqbllfTp+stN+je4oakh0iU0AGdo=; b=tVoFmdo1+vr99MdIsV/qMaCMYPP/hwKsHOdffuV7cgN86qa3wiGNK4S9Wc2r6Q3IDC6frcZ4mcZugd3u3rXBZIKgdx7NqDt+C4/3FUkKAZY5jaGvxmt0Le8qOFeuh5JGITur+1hb11X8TIikLvhRUdz889IJFnr2eFeGRF7gIFg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by VI1PR08MB4575.eurprd08.prod.outlook.com (2603:10a6:803:eb::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.17; Wed, 9 Feb 2022 21:56:10 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::e14f:197:5001:4c56]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::e14f:197:5001:4c56%3]) with mapi id 15.20.4951.019; Wed, 9 Feb 2022 21:56:10 +0000 From: Michael Riesch To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: David Airlie , Daniel Vetter , Rob Herring , Heiko Stuebner , Peter Geis , Nicolas Frattaroli , Michael Riesch , Ezequiel Garcia , Alex Bee , Liang Chen , Sascha Hauer , Ezequiel Garcia Subject: [PATCH v6 4/5] arm64: dts: rockchip: enable the gpu on quartz64-a Date: Wed, 9 Feb 2022 22:55:48 +0100 Message-Id: <20220209215549.94524-5-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220209215549.94524-1-michael.riesch@wolfvision.net> References: <20220209215549.94524-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0197.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:44::8) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 84f16967-ab7a-44b3-22e8-08d9ec16fb28 X-MS-TrafficTypeDiagnostic: VI1PR08MB4575:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:983; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HEboKU0RxdD3//Zwd58TyMJXtXfLaifgiJ6EPe6YsN1/tMqNgnx3Nc9WhH+6gut5qCx01scuEQtYAZ8O0GUN1Sj1QHzE0OwCWmhgtowHM/nAnAxkzmREiwbdnIPehlM5JPBotWtNKC79vZUezvYGjowWVXetNxS4Kx8SPWtwlH6ZHG26Ng06zkBSqAUCs0k2GtkRFi8I6o6hpEvl9qPGLfauvLYRB9So8112J4GEMCyG7i803j24PnZ0YdOps4djf5KC0pj2pOrtwD3+G19ooyIm6SjZi+B5Mu5V7p2ko6k4f+cOUyrJ8y3JeO2VVtRm7MfwmjE1QZ+90EQXeSHtjl/V0nfFl/B3ScWEqMXRQH5Mq1Jo90xHspYQd0+1hMCP3LXHIVDOpSbIPkUFCDYhgdrSmg2EjNQwblCCa5/bdjlI9VCL3EV3jzxyhg04mLkHKyBK/MGTdw+ED+zkIMtQV77vOq/XnioVs9lcJdsmyCeIHBmDjVo6drQIun5kJxblvBPWiPZQqt2rckPsLEu5hu+kkbOkgOdjzoYWRCj0wqF8uEs3ybDujDsX59RyfX3j++CACJD9V2oyCMiTkfHd9YLzT36CjFQZDorssrbuMtGQPGrkJ+3mujNgsKbyvBUz/fpNF4SL1bl4WGOQ50kqyQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(6512007)(38100700002)(2906002)(4326008)(508600001)(316002)(54906003)(52116002)(36756003)(6666004)(6506007)(6486002)(2616005)(44832011)(1076003)(86362001)(7416002)(66946007)(66556008)(186003)(4744005)(8676002)(66476007)(8936002)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /ldw58wNDPW4tNZuxLTB9D6PdJgOT9t+3sE2qTOlSAAdE6Xi8KAiSAbc+xaWNyEtK0EshxqI4zMGq28O2PO+9Y77kg4qKETcnylwx2GKAq/z9m1JoVTTvi2gpmUqC3Rw7DpFu0EmTgom2Bqs7CICta9MheJlVNu90mOK2rlM1TmNa9qd2KcbjKTIkbPJg824g/dFT+GNbdVKX4kLTzTSN/UDmYMhZbpTzCsZT7Pi7B8qPazWBR6dMmd2gqg0Io6HRNlYJnmcExEgKQyR7SFwcnIEbLC85/8QprYZR77xnLWaAkqJo/YMzEgCURIm1B9v9KBkh414WChEjZ7BC8mk/KYNy7T6ci4hIqwx8us4qoMW33D3ZYL/G1yy6qRgwbtlgeHZHtr1yOqcpD0r3vgnAudMiW7zktcmXx/zJ9R/tqzncYHd+R6tIh3LsxgWeELRBe0Zc0hDeo6ajstMzvmfMyaqaH3gV5ZBCVPyhrPKywC/zM4N0RjVNBWkxpH9v070EFWfxUU+9PPaPTY0YH424hJduDcjFycxyX38SsePVYpGT0uqyvGtaWf+gvf0hjt9cLwTy2urcoh/t3mBoMhPY2adr86B9DRAWdqHd6xKXH/uLXu0w1Y2ULaw8Ghd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CU3K2BczqyMVN1k9pjc+3NO6dXnYgM6QAWDGBV2cGeJDjxcu9RBeki9VgO0= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 84f16967-ab7a-44b3-22e8-08d9ec16fb28 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2022 21:56:09.8657 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: d3ENJpxdhu817cz/B5eN+sGxv8i7qdmldN75GIjt12Lt3gNbl9vPVGqH/0pVxoxsmDTyeaNy53FCpQQlicxBKkmD1udyphBmu0KNGSb86jg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4575 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_135615_624767_C9049C5B X-CRM114-Status: GOOD ( 10.02 ) 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: Ezequiel Garcia Enable the GPU core on the Pine64 Quartz64 Model A. Signed-off-by: Ezequiel Garcia Signed-off-by: Alex Bee Signed-off-by: Michael Riesch --- arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts index 3e65465ac7d5..b048db6cff3a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts @@ -221,6 +221,11 @@ &gmac1m0_clkinout status = "okay"; }; +&gpu { + mali-supply = <&vdd_gpu>; + status = "okay"; +}; + &i2c0 { status = "okay";