Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2291673pxb; Wed, 9 Feb 2022 15:20:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtFi73lYCyqWwCnO8NvSnpwioKBkqx2vW2qg/14s6QWEcqrtV0oVZOgtZTNbU/kNHYoF3I X-Received: by 2002:a17:90a:1696:: with SMTP id o22mr5286167pja.233.1644448807959; Wed, 09 Feb 2022 15:20:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1644448807; cv=pass; d=google.com; s=arc-20160816; b=fhKSIV+hYcm2ZJswBO0AdHAgSVfgTRh7R2n00TMY5gr2Oqd/7L3N6MrStHUsiNVvqg Ncd1TkdOOvI/IwBzvfLxDzjFMBDHFAb/nnrQ0hvHN0jTMv3mwWeYpJVq68tBtFuhw+NP 1rPyPUZ2ZoMSJ10eHqxB4tiy1Q0XU3QXFUvE6qVBVl2Ll98lzcs+srI7ghB//Gdnc2Z5 sOvAdM8Yo86+7CjZcrNJPaenjjNQGC7xjZDO4Ddd1GeqPJ9xAUs6WgJwJmY67ztOKeY3 I24xr7aTIw19Ctbx8EEE6jCzNplh8EP0yNNR25UGnuQhnv05alqeIblufhszsQ5b2lFf vXXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=8+ZeP3sg0/Td589Z2ryGgBECGTfyTWxkXdYv5CB/8HQ=; b=nl9PXpnGe0TEW9aRHqOspMA/5dzicWh6EGJ5MGck/XUb9e/T/r15VmKfy6EskFnQ8l NeaU8asEnvj0SqdPV5z1B2ttBAQMQSdk2nCeAv41B6lw46mLboMd/dem0yBMABwf1APa YiHKj6ppgzW9SM37Fzbq2sRif7etulVNG4ghQ2gLJGuvZmgZBAlZRQ+ejejjEe54Q9Ta oRyqV7UqHO1HsxFdQsuhe3EdzW2Pgmmz1ukimrpQatly/+wcQYdj7vDz+HHkq6ocQyfc ybg0uSwUET38Cg9bxB6pCURHTajE3y0ZF+gsBoImofVJRW+khOc48Xp5zLRcypogpZjV UGDQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=wNnl3fQL; arc=pass (i=1); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r204si17453825pgr.316.2022.02.09.15.20.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 15:20:07 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=wNnl3fQL; arc=pass (i=1); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A3751E056595; Wed, 9 Feb 2022 15:17:02 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234286AbiBIV4V (ORCPT + 99 others); Wed, 9 Feb 2022 16:56:21 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:49742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234145AbiBIV4J (ORCPT ); Wed, 9 Feb 2022 16:56:09 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 651C2DF28AD4; Wed, 9 Feb 2022 13:56:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BelQHjsTDp/ynfPy2Xid0mUbaTa84iJl7xWyEcYWnCQzp/6mJal+BtZbq7DBq8Row4kTC6LJp1EfnUaHr/8P2DlDozWVplVCvJ6pxWAgeoPy0kHfFm/b4jeuhAXFwXB5eAWUjUFky56GvzBcRqSI4wnqpyazlDlD5stMDF1LEEtxhRwDi8bLY1HfYUXGjDFWo+4sqoYTdnREKna5I/lqJ5RcLPEj6P9eWsxvoz5jkQeRCcNNM13dZY4bMKNTCdzfxqYzH+ju1mkx08b2rCH3Shk9rvITND6Sme5TlQxusPp7vXyd/PcOcRY9SaztFAYpgD03cTMjBycVGclKqp1buA== 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=8+ZeP3sg0/Td589Z2ryGgBECGTfyTWxkXdYv5CB/8HQ=; b=Qn8zrXW0aN3AYX0mg8epWAEiEfHZ6nBkIGwdkVodHfbCljaKtnHMj7IhmNMF/QpqkSJ5M3bcNLQ+5GrPcQkrQpIs3yIqZ7rJx8cC5GWSVq/WD+XUT9M2dg1ch8dHH3iaWEmCkLj1Bgay+XyeoRwMQ0xUwdb+OFtb3vC6R/oNL7u+OCDnQiC6Wdq9xaYu12S+OJOSKNxQOX4iEXwCVkTfaHWljgAo58qCJv2rcUtFNRc49VohomEEUW9Q0M7NIpViF7QcUvzpHmUB31flTgQucgVP7eWLzGMxYXxCpKSMRi5eghKu3BkCCMaCuKkqUeGIlnMfNqGWPajKVP6+SWk16Q== 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=8+ZeP3sg0/Td589Z2ryGgBECGTfyTWxkXdYv5CB/8HQ=; b=wNnl3fQLgycmW11MxnQKzYXo7McpxX3uHvqpjAsxhSvcyAFUes/Odia5jWsrBLd6gbjcc2RM35CSzwiktjz6saFEwhMDD54xCr2DqU1NoqpMqUqJ81utvl483SfHCBTLUyi1xhAV1KKM+VtkcXqQr+xoMlVQIfo3Q7tnDY8xVPo= 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:02 +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:02 +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 Subject: [PATCH v6 0/5] Add GPU for RK356x SoCs Date: Wed, 9 Feb 2022 22:55:44 +0100 Message-Id: <20220209215549.94524-1-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: 12851dd6-0c72-49f5-82fd-08d9ec16f6a1 X-MS-TrafficTypeDiagnostic: VI1PR08MB4575:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1775; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AL4k/Uibvr0U4yE6pbwo5qXoB+25aPyJx/QGpdNPkqHHCwiJ9jUoHlxMi+2Hh/RV/5a+PqmUPmWh3nn43pMv0hSeXosZHfN6xUetSH6JxzaSxHIp8sagtu5IwxT6BTjkjILF1+QAC6w4X0vAb/Ydo4PAqK8Nn7A8FEqiA0K99omNK251isOEMd7hP5iR5XQEFsx1tlKjFNnbNFMLSY+R2JxxkM5APJKhb+ArBMcSWAJH+fyHsmFFVSyxn9EMF+P4nfXgap+ZtEytKiVjT6t1/D5zx169WBV1Oa3F12pJAz3XVhDniE2e5skbjifi9SNvuq7YhgqH7uI1D7Z62jG/5v8jbdoJW6qXr5/SxUmOfUNJcJeMn79HeIFIhXegeMQo+NCXDiL5C9a/w73d7jYL5ExJ1E98gpBTwnobHt8qtCC5zcdfIvq7p648Ia1EdPKtdluCZ+caHyf1Dm+Fie5k26+v+s+MMsn2SXKiM0kMCXIzhnyF/s5VyJymYTr/fwsUfUv/irDJn55Lb89zFk6/v1MrFss+UkETQMc1kptt3/iog8iYmelTNuje9D34aFAii7j0DLaiG8HirV4jOt1twI2Vq3EPpd+8h3LQ3oMK6duiYdkoCmWTM70O5zl1mSbdWp4vzjvEEkSXcNuKtEePjGJN5VXVs+ycnL5w6MxmFH8sQlQZ5QyIHP74BBsGrou4OHyiYToVhte7q4SHNK8UkGIrTCNjLrqrVjVNo41viduaT6ZIiBYIFEWpWqbtaom/WKhRl6sSNEgxRpOR6WYPfQ== 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)(6029001)(4636009)(366004)(6512007)(38100700002)(2906002)(4326008)(508600001)(316002)(54906003)(52116002)(36756003)(6666004)(6506007)(6486002)(966005)(2616005)(44832011)(1076003)(86362001)(7416002)(66946007)(66556008)(186003)(8676002)(66476007)(8936002)(5660300002)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?9Z/CgbYy/J7B7tGFrQixvyaY/13RIz6MUKZeejuiFzGD46x8sEDVn88pNlpc?= =?us-ascii?Q?8wvzAvblWBhg06K21JcMiZsiXo53daC45IydbBcp0s33mqqGpd3kypZIHvaC?= =?us-ascii?Q?prH4VU+vUmnPAaR04ZP8Q3xwPp6/UWuQabN1CNDQXlJmjropM2VGn7cEwZeP?= =?us-ascii?Q?b7AWwDgZP6wq493mGjpjWZTzz9NcXvQq317EQpGHu8Itom7N0b7VL1JWP4UW?= =?us-ascii?Q?xACwMWa+CYRAXcjHgouBhJ2rsCnGcrGyfPMLqLWKRB4+A62BWDEBsidchyq5?= =?us-ascii?Q?xotPSQVJ7WyF0+9FMeKvz4DQSsJaGZ7ga8Q6/EXDA1cUI9Ix1zKfy2qn2ASW?= =?us-ascii?Q?/CVzgvyluf6fm3z2who6uokKFW+urf50R7jEFs77yy4hdLEjbQ6JHR1wtCaJ?= =?us-ascii?Q?aukOHPa05htGU/1NyrJy0mZJNyKXsgvylgjqEETCuwtp3jiG6OEM4LnTtwA0?= =?us-ascii?Q?ndRbePXAPDyOKIXfpv+W+gORkdy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j4tv6S+lS04dH9TXXeUcDBmlBrpGo//shFUKZGyoPUTNRAtok3O74hpC?= =?us-ascii?Q?2kx7WftbBcKPc8nGzd9QLk22RttW/WbfupN8y5Lrqhhi3w6aUnIwZRAAvTD8?= =?us-ascii?Q?IhOfoWsWTv0sCdZrhoSY6Qq9VaVcnU/TC38nRXebsh0mWcidOShTivWRl2Tg?= =?us-ascii?Q?YqsxCycIwu3bgE2JRxJB34sF9orMHXLaNGg28KNICxoNDY0Upk21Rmy2QTnF?= =?us-ascii?Q?/+3RJnM9bS8zxfGnXOIqgK6nnhQySwGQYJSQno4mtDrHafk8iNvtIos1eGZs?= =?us-ascii?Q?o5BwEYwjDEo4pfBbfiVW3Nn0CNBZ7nPYKb10MqLnjgD0Bj6uOeKeWuDLxBqa?= =?us-ascii?Q?pkv7Ae9d3X3gUnhFzKAFws557ZTQnpc=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 12851dd6-0c72-49f5-82fd-08d9ec16f6a1 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:02.4288 (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: v0GaM73yMgA5j+kzLHbUCJtM4jXUpcqDum7PexujISXt6T2YQYyc975Puf6WyDkdy47KHq/YOjt3xkyFIajE9/DID1ugK0u1n8e9Kxee9eM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4575 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This series aims to bring the GPU support for the RK356x mainline. In conjunction with the VOP2/HDMI TX patches v4 [0]) it has been tested successfully on a RK3568 EVB1 with weston and glmark2-es2-wayland. It should be noted that on the RK3568 EVB1 the supply of the GPU power domain needs to be set to "always-on" in the device tree. There is an ongoing discussion to provide a clean solution [1], in the meantime one has to apply a hack. Looking forward to your comments! Best regards, Michael v6: - use existing clock name "gpu" instead of "core" - fix missing space in indentation v5: - address Rob's comments, describe clocks in SoC specific region - move gpu_opp_table so that nodes without a reg are sorted alphabetically - add GPU support to the RK3568 EVB1 v4: see https://lore.kernel.org/linux-rockchip/20211126151729.1026566-1-knaerzche@gmail.com/ v3: see https://lore.kernel.org/linux-rockchip/20210805025948.10900-1-ezequiel@collabora.com/ v2: see https://lore.kernel.org/linux-rockchip/20210730164515.83044-1-ezequiel@collabora.com/ [0] https://lore.kernel.org/linux-rockchip/20220126145549.617165-1-s.hauer@pengutronix.de/ [1] https://lore.kernel.org/linux-rockchip/20211217130919.3035788-1-s.hauer@pengutronix.de/ Alex Bee (2): dt-bindings: gpu: mali-bifrost: describe clocks for the rk356x gpu arm64: dts: rockchip: add cooling map and trip points for gpu to rk356x Ezequiel Garcia (2): arm64: dts: rockchip: add gpu node to rk356x arm64: dts: rockchip: enable the gpu on quartz64-a Michael Riesch (1): arm64: dts: rockchip: enable the gpu on rk3568-evb1-v10 .../bindings/gpu/arm,mali-bifrost.yaml | 15 ++++ .../boot/dts/rockchip/rk3566-quartz64-a.dts | 5 ++ .../boot/dts/rockchip/rk3568-evb1-v10.dts | 11 +++ arch/arm64/boot/dts/rockchip/rk356x.dtsi | 76 +++++++++++++++++++ 4 files changed, 107 insertions(+) -- 2.30.2