From patchwork Thu Jul 16 14:18:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 11667645 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 733C713B6 for ; Thu, 16 Jul 2020 14:20:55 +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 400CE206F4 for ; Thu, 16 Jul 2020 14:20:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="mdsWcxXP"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NcnC8Zv5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 400CE206F4 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: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:In-Reply-To:References:List-Owner; bh=w/g2IrjrR5kBz8cSnFSB0qLgrBmz5KqYX9Nw6MFdw0s=; b=mdsWcxXPtrc/5VPAODPEddVnmg Z4PAQTxlzSeLzT9WQqtAAwPQV2koUoEFQPMu5r7SLukS6g19m5hYZvO1zA+/vqRJuJr6m1tDUzpVx 1jnGow/ioPp57cdr2Q1YBWWoyL4Pnnc2VFCq4G8d+9DV90ly7iRHW8B2WJmR0zZ46YkREesgi/4s7 j8TSTXvmuWS6WSAbNnmqu43iHfKXvWT8tDyUFwoMNlr+XnkmPxgnUgn+dJQa1iJ4teCyRvqE+I17z 3eUnXXTYzadWDr4BF8iozahjo5pJb9mVERkD+sbtZZtcazo/UZJ4YqDjB6raKPLkYtF1YcYV4U5WW YjDfaahg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4j3-0003s8-UH; Thu, 16 Jul 2020 14:19:05 +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 1jw4j1-0003qa-Cr for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:19:04 +0000 Received: by mail-ed1-x541.google.com with SMTP id dm19so4846103edb.13 for ; Thu, 16 Jul 2020 07:19:02 -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:mime-version :content-transfer-encoding; bh=OnuwbpnlNbW1uR8nF6pdqvLhWcxteeR9e8cv9tVY9hA=; b=NcnC8Zv5UhA2K6E8kdobnJY3XkuCSLSX2dlUXfMnIKCNZG2wwTnnkD6eZN8kI2ga0b e/8TFZsO03qbHbu0FpYy/8rUlFbyml16Mhl0sI09YVwh4TWG7K8lS2S7HWpK42VLfJ9v BhD+f4XIh6FhYVMAYg9orquuax8yHUZUF4SMHUVjcsLrNBNyUN9ASkwhp3ZIsPZ3QAOG /KBOcGKA19bzG2nRVISw+4Qz0IU2jLi5BmHqDeBSSbnDPK+PGg0oE4DXUWsWtWMw5FE2 5NQUPuWJKUl4TsNxnrDVMBktUEAnIjJzZbsJoPxZI5HU7+0JR0u1969j+zbH4lvrualo LAxQ== 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:mime-version :content-transfer-encoding; bh=OnuwbpnlNbW1uR8nF6pdqvLhWcxteeR9e8cv9tVY9hA=; b=MpN6tKmGsIgQEmvX5XtKbp1D+mgf7o7G9k4/zwCjms1+p8E+E1+B4h7DYZgjsatJ+1 TmQvACD9mORxuDkhaEZJyVG5gh458GCNOxrksFgQ955mBuoo52QwEaF+3kTlVQAK5Ceq Kxg/5AmoZFfrfY+EcWjm7ncsOV3kBoH+eLTMnE0srxhg5Nvp4Gy2oXZKR1kORMusDBil 8rqCKZB9Gn+uqezq7k5cvOKRYZqBKCrr0PZV0QDZUxQz/Jl2Uq5RVLixv3AJmL2j4IXR CaGHPOMqvr+/MOYREqe3ovWYwxeh4gG93x+vfvx9FqLD4NbhnE3y/hm45zRso814DTRz o1hQ== X-Gm-Message-State: AOAM531/23K8rAQeclMR6Tlyzbkc9n3GLR45Qof92kBRkmxHKK36w0UT TVrF/IZWgax93z7ZlkpVKGvK+7vs X-Google-Smtp-Source: ABdhPJxjpG5bot+8izG/xYl9VCveIjSSXNn2+eL6O1Mpicn/m7PlLB7IxYi3IkC+f7f/IlHQeRx81A== X-Received: by 2002:aa7:d049:: with SMTP id n9mr4897268edo.39.1594909141953; Thu, 16 Jul 2020 07:19:01 -0700 (PDT) Received: from localhost ([62.96.65.119]) by smtp.gmail.com with ESMTPSA id s1sm5385377edy.1.2020.07.16.07.19.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:19:00 -0700 (PDT) From: Thierry Reding To: Thierry Reding Subject: [PATCH 0/9] arm64: tegra: Initial Tegra234 VDK support Date: Thu, 16 Jul 2020 16:18:47 +0200 Message-Id: <20200716141856.544718-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_101903_529676_65D63998 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. 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: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jon Hunter Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Thierry Reding This set of patches introduces support for the new Tegra234 SoC, also known as Orin. Currently no silicon of this chip is available, so the support added here is for a simulation platform known as VDK. Note that this simulation platform is not available publicly. However the goal is to use the simulation platform as a way of upstreaming as much support as possible ahead of tapeout. Once actual silicon becomes available, the plan is to stop supporting the simulation platform and shift focus to real hardware. Thierry Sandipan Patra (1): soc/tegra: fuse: Add Tegra186 and Tegra194 SoC IDs Thierry Reding (8): dt-bindings: tegra: Add Tegra234 VDK compatible dt-bindings: fuse: tegra: Add missing compatible strings dt-bindings: fuse: tegra: Document Tegra234 compatible string soc/tegra: fuse: Extract tegra_get_platform() soc/tegra: fuse: Implement tegra_is_silicon() soc/tegra: fuse: Add Tegra234 support firmware: tegra: Enable BPMP support on Tegra234 arm64: tegra: Initial Tegra234 VDK support .../devicetree/bindings/arm/tegra.yaml | 4 + .../bindings/fuse/nvidia,tegra20-fuse.txt | 6 +- arch/arm64/boot/dts/nvidia/Makefile | 1 + .../boot/dts/nvidia/tegra234-sim-vdk.dts | 40 ++++ arch/arm64/boot/dts/nvidia/tegra234.dtsi | 191 ++++++++++++++++++ drivers/firmware/tegra/bpmp.c | 3 +- drivers/mailbox/tegra-hsp.c | 9 +- drivers/soc/tegra/Kconfig | 10 + drivers/soc/tegra/fuse/fuse-tegra.c | 8 +- drivers/soc/tegra/fuse/fuse-tegra30.c | 30 +++ drivers/soc/tegra/fuse/fuse.h | 10 +- drivers/soc/tegra/fuse/tegra-apbmisc.c | 19 ++ include/dt-bindings/clock/tegra234-clock.h | 14 ++ include/dt-bindings/reset/tegra234-reset.h | 10 + include/soc/tegra/fuse.h | 5 + 15 files changed, 353 insertions(+), 7 deletions(-) create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts create mode 100644 arch/arm64/boot/dts/nvidia/tegra234.dtsi create mode 100644 include/dt-bindings/clock/tegra234-clock.h create mode 100644 include/dt-bindings/reset/tegra234-reset.h