From patchwork Thu Jul 16 14:33:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 11667733 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 57D63618 for ; Thu, 16 Jul 2020 14:35:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E3562065D for ; Thu, 16 Jul 2020 14:35:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JqNk4xzs"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ku55tpGp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E3562065D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1WSBo98NH03hzDMcQoTwb923rNJFL9NuDd/3lIUXZ88=; b=JqNk4xzsm6JfL1OOnqIIo8hHg UT1bMPQlIJfAdWWxSF6bAwAJtBoWDwdPy6FWDHw28JZ5f1DMy1ZWQsYtHzgSiOfGdIuZGyVsyCkE9 kWaMbfA5Cv8ass3XdrXEHRHR/jj0g+i6VMhPBKXPKPDbCh0R/rSxzwLLDKIZG9v21tscG9MQCwzzi FXacCpMXVuI/W8wUkQBe10uMpljRI/2GPGMY6ySB0i6aXWt7F6V9Uaz3CnJ9Oxa4l2cl7Cy6bEnrp jjHf/jo9ALNNEQqqQkuQaPdr8xZvbE9ftKdSby37ZIpdlXfV5hjQkH5o8BmumgnujX9tyN3uM5eLW uftbDck0Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4xP-0007iB-GS; Thu, 16 Jul 2020 14:33:56 +0000 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4xL-0007ga-3A for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:33:52 +0000 Received: by mail-ed1-x541.google.com with SMTP id b15so4916129edy.7 for ; Thu, 16 Jul 2020 07:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YGCp2APVC4UtHLQu1ncbQQ8xQNK26HTOlJJtmViM0RM=; b=Ku55tpGp4Q1NZye//rZ+dDYbha/NX5x0phnPvAMND1wpOpQhbumYHyk+wB4/hDCkVv 3bhqJYWy4QM/FhzTJalo6EGa5XWmCaGjIMcBZnFi+syCQn6QkHGzbvM+OJYYxl2p4/Iv lOm7kyZHFLsfrHiuQRwgwg20eiEpf9n6/BHGinihXxDP/BIFCqkiGxB5U+LOLHHmdBtj Z/nH/bMavZxUagHifY704/n9EnCuJ6JTQs0qS4rgnGzjmWcdBSJZszTKqhXFznAjQVNA 0XzWF4fGSVnb41jBTGdsbj6cyOa1f3Tbc6l3kKeT4Ur/QlpVh+FRXi6VIKBggu2rWYDl h4vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YGCp2APVC4UtHLQu1ncbQQ8xQNK26HTOlJJtmViM0RM=; b=j0u2me5AFb9L4mQRLcKR2vjKviL/ebzmhr4ABpVMA38TrGlE1BkbwDAcwVJ1WNI+tx 2eX+BQC51UT22tsEYr+V+QNNIQ+0rtZC1y3r9GoSXH3tZz977j5p0fecrR7ZzS0j0m3b OuDCbjWQWidD9tqMH6rVWPWjirQ+q270kUSb55cxtROFJZZQCt4Jius5T8WdYMfu3iAT ZHH8S0tgE/Y8PSfM4B1nzQvsYLJpkHqxTkYv5NjXwGp0HanmP62egsKjT30loGJ0yDeJ spmvCtjn7quaB+odwwF/cDDEWHsmTa/sd8qRyyMjBWMc5vRPHTiBOFs+lAkHBJxKaqXJ crbw== X-Gm-Message-State: AOAM531Lz4sRiF1LrSO8fag6gPR9gvQpXqiFMwbesb0i9QSKaETy/3qX m3BF1coTJm6h/vXl9ltXzbbVo62N X-Google-Smtp-Source: ABdhPJwEroVrR5v1BDRHGeZoUvW37zCydzEd4NVRPvNBUEbr1KgHeAyXkxIvEcf2zUnX2B0lyGHz4g== X-Received: by 2002:a05:6402:14c1:: with SMTP id f1mr4920406edx.342.1594910030012; Thu, 16 Jul 2020 07:33:50 -0700 (PDT) Received: from localhost ([62.96.65.119]) by smtp.gmail.com with ESMTPSA id d19sm5270823ejk.47.2020.07.16.07.33.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:33:47 -0700 (PDT) From: Thierry Reding To: Thierry Reding Subject: [PATCH v2 2/2] arm64: tegra: Add the GPU on Tegra194 Date: Thu, 16 Jul 2020 16:33:41 +0200 Message-Id: <20200716143341.545804-2-thierry.reding@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200716143341.545804-1-thierry.reding@gmail.com> References: <20200716143341.545804-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_103351_204140_83B96CBE X-CRM114-Status: GOOD ( 10.49 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:541 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [thierry.reding[at]gmail.com] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Debarshi Dutta , Terje Bergstrom , Jon Hunter , Rob Herring , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Thierry Reding The GPU found on NVIDIA Tegra194 SoCs is a Volta generation GPU called GV11B. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index 98c366ab4aab..14da0793be69 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -1395,6 +1395,39 @@ sor3: sor@15bc0000 { nvidia,interface = <3>; }; }; + + gpu@17000000 { + compatible = "nvidia,gv11b"; + reg = <0x17000000 0x10000000>, + <0x18000000 0x10000000>; + interrupts = , + ; + interrupt-names = "stall", "nonstall"; + clocks = <&bpmp TEGRA194_CLK_GPCCLK>, + <&bpmp TEGRA194_CLK_GPU_PWR>; + clock-names = "gpu", "pwr"; + resets = <&bpmp TEGRA194_RESET_GPU>; + reset-names = "gpu"; + status = "disabled"; + + power-domains = <&bpmp TEGRA194_POWER_DOMAIN_GPU>; + interconnects = <&mc TEGRA194_MEMORY_CLIENT_NVL1R &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL1RHP &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL1W &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL2R &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL2RHP &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL2W &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL3R &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL3RHP &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL3W &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL4R &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL4RHP &emc>, + <&mc TEGRA194_MEMORY_CLIENT_NVL4W &emc>; + interconnect-names = "dma-mem", "read-0-hp", "write-0", + "read-1", "read-1-hp", "write-1", + "read-2", "read-2-hp", "write-2", + "read-3", "read-3-hp", "write-3"; + }; }; pcie@14100000 {