From patchwork Mon Nov 28 11:17:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 2303 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5593274wrr; Mon, 28 Nov 2022 03:31:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf7FppWmjGMwjQVWv3WOD9OOJfUuvhkVVErAZmv8MXQ3zNAEMtp+T35+QCyBgFdc9ttC0qBL X-Received: by 2002:a17:907:76e2:b0:7bd:f424:b1da with SMTP id kg2-20020a17090776e200b007bdf424b1damr8546843ejc.306.1669635077011; Mon, 28 Nov 2022 03:31:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669635077; cv=none; d=google.com; s=arc-20160816; b=YsxjtnO1P9Hl53sfQuN3T4RsLCSORq2t4C7RTFJEix9mukptc2PWdeRHcdcnfOp/Oz M1cH/PMLYgVv+kvQhW3JnN/G3pISFNcT85jCEgX8OxsbzKGlMHdedKD6lAe9lMAfHCxF b3sfxUN0gWakkriRJ8DvZOMB4pTK8uy2PIlAINISona4fR4+GfT0h35/BdXWn95xqir/ y4aiBNS2b7BnFJW2z8wkHIuv0y6Ou5KpAPuJaKmv0aGDvbrHECJG878GlThjD9KR9AmU Xx2boOfhokvG7HC1hJRILqdawN6YhiXfRKkLFNGOPRUh6jzHuvtfkWBl4cOBESrrfiRY mnyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:sender:dkim-signature; bh=xi6pBFQ2Iy9JcIpqhAKb8IIPjJ3///r7Dh4vpWsLSDI=; b=QddtYvX+xq2YgElrNDh1fq+GTmguc9BR3xJQBQfFJnxQRHlvrmLLmEWGi82hai7uuk lDxW+Ck070oG593/XqFuqmLtpxj+78r6Bg+58f78emaM05MJ3MCMQRNGdVIj/c3ANzl6 Dyez6rDdVXBHz2uDmdZo3BsFjokDXeKgdDrsHtfgeR5hLoztwsNLgB7ly9GON9TVIQDB Wffk/8NQEu5aP4HT9Gq4GbMs0m4XrbsNjRqe8jHl/GqJkP2TAn4FwZimAud0UTz2lD9h JsW0WaGeS2BqYg9LvE2gUkaLbh6UyHm8eiL/ktv2NV0ORIqfU3cfddvOYbnlIEnGcmNQ GEbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=Afqs52V6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f9-20020a056402354900b004696af1a86fsi9606707edd.271.2022.11.28.03.30.53; Mon, 28 Nov 2022 03:31:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=Afqs52V6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231154AbiK1LSO (ORCPT + 99 others); Mon, 28 Nov 2022 06:18:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231192AbiK1LR7 (ORCPT ); Mon, 28 Nov 2022 06:17:59 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91CA512A95; Mon, 28 Nov 2022 03:17:57 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id z4so16259162wrr.3; Mon, 28 Nov 2022 03:17:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=xi6pBFQ2Iy9JcIpqhAKb8IIPjJ3///r7Dh4vpWsLSDI=; b=Afqs52V6ygFs3v3SzJpElSKc8n8lhgdoNoJoZh8moM1X7PpFmU1sIZnqdJWIW0T+8o IjrgAsMN/2zOlpN4w1GjijMH/r6PP2NJMtpPq3pRzaCiV7AQ6eLN6pOMsB7pgaZJWTqB T+v+2Dhd+g2EcmUwPza5x3GkMfh7hA1ZGCR6UA6U9lVWLI1mYC00Cs+4OteWMpR2Du9p kHv0ITGPXKP05U8RAS8REcRtBAzSwu+ikWpAG2rJh1y8XMQVWQ+fTSlsKaydSt/uTwhX 0RaJth+7+or+j0k+fnceSzvDSREhrEhTCZYY+biGdfsQ2HhH7Pg2fDisgf5qk43wb+uz GD1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xi6pBFQ2Iy9JcIpqhAKb8IIPjJ3///r7Dh4vpWsLSDI=; b=Zu2rqdZFkhGDRYtiL+1XPE3IGwfwiH4pZ4+f/xw/jFaMg3cciVDaVVXykNjZqlZ61t ER3Vlk8J6g/Q47vRN6AZsDgLFz/U67QMuZFV5MGs7p23wmY3HeJnqnlxZHUnOjTlmvNp bPdb0AoZIiJ/Sa7ScBb3u6nSHDioIJXJhvWzc1Lji9YuJVsa+w4BddVIspP/sNLnnY8X hEPoNg3fbxIlMsWHnvvDKPJ9KxcAB2MHYhvPUaDyqdaZdCpp9nFBtJ7jD+0Mdi3bYuxn yir9dhdB/4VAEhOOaZO22vAFRewmzpmYBs+kGQtQKqqARtbDz+ksXdVUMMNcqT4tXG0F YJKA== X-Gm-Message-State: ANoB5pmXw7xa3EuJesn5ZTfvpCnhS9B+mxK0CDC/xltQMtEvF1HUroFY gCMTkEa+hg1oQ4dVa6zQzj0= X-Received: by 2002:a5d:688c:0:b0:242:1059:2118 with SMTP id h12-20020a5d688c000000b0024210592118mr4869395wru.245.1669634275707; Mon, 28 Nov 2022 03:17:55 -0800 (PST) Received: from cizrna.home (cst-prg-44-69.cust.vodafone.cz. [46.135.44.69]) by smtp.gmail.com with ESMTPSA id g3-20020adffc83000000b0024207ed4ce0sm7711817wrr.58.2022.11.28.03.17.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 03:17:54 -0800 (PST) Sender: Tomeu Vizoso From: Tomeu Vizoso Cc: italonicola@collabora.com, Tomeu Vizoso , Christian Gmeiner , Daniel Vetter , David Airlie , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), dri-devel@lists.freedesktop.org (open list:DRM DRIVERS FOR VIVANTE GPU IP), etnaviv@lists.freedesktop.org (moderated list:DRM DRIVERS FOR VIVANTE GPU IP), Jerome Brunet , Kevin Hilman , Krzysztof Kozlowski , linux-amlogic@lists.infradead.org (open list:ARM/Amlogic Meson SoC support), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Amlogic Meson SoC support), linux-kernel@vger.kernel.org (open list), Lucas Stach , Martin Blumenstingl , Neil Armstrong , Philipp Zabel , Rob Herring , Russell King Subject: [PATCH v2 0/5] Support for the NPU in Vim3 Date: Mon, 28 Nov 2022 12:17:33 +0100 Message-Id: <20221128111740.39003-1-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750739270616872402?= X-GMAIL-MSGID: =?utf-8?q?1750739270616872402?= Hi, This series adds support for the Verisilicon VIPNano-QI NPU in the A311D as in the VIM3 board. The IP is very closeley based on previous Vivante GPUs, so the etnaviv kernel driver works basically unchanged. The userspace part of the driver is being reviewed at: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18986 Regards, Tomeu Tomeu Vizoso (5): dt-bindings: reset: meson-g12a: Add missing NNA reset dt-bindings: power: Add NNA power domain soc: amlogic: meson-pwrc: Add NNA power domain for A311D arm64: dts: Add DT node for the VIPNano-QI on the A311D drm/etnaviv: add HWDB entry for VIPNano-QI.7120.0055 .../boot/dts/amlogic/meson-g12-common.dtsi | 11 +++++++ .../amlogic/meson-g12b-a311d-khadas-vim3.dts | 4 +++ drivers/gpu/drm/etnaviv/etnaviv_hwdb.c | 31 +++++++++++++++++++ drivers/soc/amlogic/meson-ee-pwrc.c | 17 ++++++++++ include/dt-bindings/power/meson-g12a-power.h | 1 + .../reset/amlogic,meson-g12a-reset.h | 4 ++- 6 files changed, 67 insertions(+), 1 deletion(-)