From patchwork Mon Dec 3 21:32:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152765 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7318919ljp; Mon, 3 Dec 2018 13:33:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vrcnwd3wyBcrpsj0am9oXOFdosHAK+ylQvJsZnYZ5cAtwsoGdzowiKCaMUNSIBs3ZrAkBn X-Received: by 2002:a17:902:c85:: with SMTP id 5mr17768353plt.339.1543872825307; Mon, 03 Dec 2018 13:33:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872825; cv=none; d=google.com; s=arc-20160816; b=f47FEm3yk/z2Dde3XAvXh8CWb54s2XV/HesujVg1Rs8sJJGXuQs+pn3wekfpnui5s6 rzzxMHJ551y7IZ3Tr9lyjYQ7coo5yTLZL+KG7U54riZ6azQGT/cFxuRjBka7sXAw4yCO 94LLDJioK5rf2v6WEEgHsynfWg/AiBUpmjNJ32A8lVE2Irt45g9n1wP7lxLVuBnn7Ovq gub+p4YAiSlFAE6CMo6XuvkJ/wFl9UBEjL7MvZrwBzv55AmwcCciDfP05dhLl89UpI+X radw2mBYR/Dxrk5RCGQagd1t6V+G6d/towGD3Rvbzimb0Pa/rn/lMudoluvSFNZyPbaa Vf4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=aP/9dUo4g9hl89aQ4HR1/ZsNrOfnag/55wppWEa93Hs=; b=FRHTN+AZ0MZyUJAzKozH5diBuBdh6jGpQRQM/ky3MCkBGlWBe5PdoMYpH9LaB9z7r/ vVvzCgLJ62yu5pdE/pwfj71WE+HCqJdz6KxIYzguYU5xLMKVdpXGujvHoAaEvCcAeqjl Zj8kE3D2kdQAi+i6kNF4eyArBh9s0vYJCQvpI3Gg8Ig8EIWSCRICMIa2i8UgfwVc5oQL QxtLRnYHukhESMqz2i4YmPZWlua4V9HvlyLeTrkNuRpp46sy3TBJ6PJAhg4wkZjhdoTL vOoRP/AZdMs7xAsH8mYxvLkixikFMfE6ekMO9ANbNzkOqDNTKRg73cmR4zesI9Hc6Flt 17rA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si15503592pli.248.2018.12.03.13.33.45; Mon, 03 Dec 2018 13:33:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726421AbeLCVdn (ORCPT + 32 others); Mon, 3 Dec 2018 16:33:43 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:47059 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbeLCVdD (ORCPT ); Mon, 3 Dec 2018 16:33:03 -0500 Received: by mail-oi1-f194.google.com with SMTP id x202so12313592oif.13; Mon, 03 Dec 2018 13:33:02 -0800 (PST) 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=aP/9dUo4g9hl89aQ4HR1/ZsNrOfnag/55wppWEa93Hs=; b=cee/b7UCgHSxbPMU6w1R3newK/V8mnhcTeReO7YaK/VDYvrsLEds8a9u66winoWHmR lDur41iMDKf91Um2By/t05hasDN4Bv4jHdCDpBdOCZmKuK4QrCFqXTDB1b9qntw3RljN llsuw1pRFmGfHmlTOK3i2Vd7jxZ/KHeSc3U34+ek2ey4jLKdgGcFBag8dhs6V+bDi78a e1cUEi2SM16LaFG2uiYNW9gnh9uDsx931fglE6l7kWVhm5yPLX5yjgCaF0kRkq4ToHE0 nbi3BjNPxqIVRaApGFjlKhUT4JP70L7negdDqqQDkHNGH8yzbw7uTN9vNoQoQzQ++lY5 M3/w== X-Gm-Message-State: AA+aEWb00NzMorpUN7QEcwDQLy6tr1U0EVUkRNbAwq/SOMPCI6+BLYpu /rpPydGHOFb1ekDo4s4SAJKcqL8= X-Received: by 2002:aca:ad53:: with SMTP id w80mr10279520oie.148.1543872782048; Mon, 03 Dec 2018 13:33:02 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id c78sm8545501oig.30.2018.12.03.13.33.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:33:01 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sean Hudson , Frank Rowand , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , arm@kernel.org, Mark Rutland , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org Subject: [PATCH v2 30/34] dt-bindings: arm: Convert Tegra board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:19 -0600 Message-Id: <20181203213223.16986-31-robh@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203213223.16986-1-robh@kernel.org> References: <20181203213223.16986-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert Tegra SoC bindings to DT schema format using json-schema. Cc: Mark Rutland Cc: Thierry Reding Cc: Jonathan Hunter Cc: devicetree@vger.kernel.org Cc: linux-tegra@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/tegra.txt | 65 ----------- .../devicetree/bindings/arm/tegra.yaml | 101 ++++++++++++++++++ 2 files changed, 101 insertions(+), 65 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/tegra.txt create mode 100644 Documentation/devicetree/bindings/arm/tegra.yaml -- 2.19.1 Acked-by: Thierry Reding diff --git a/Documentation/devicetree/bindings/arm/tegra.txt b/Documentation/devicetree/bindings/arm/tegra.txt deleted file mode 100644 index c59b15f64346..000000000000 --- a/Documentation/devicetree/bindings/arm/tegra.txt +++ /dev/null @@ -1,65 +0,0 @@ -NVIDIA Tegra device tree bindings -------------------------------------------- - -SoCs -------------------------------------------- - -Each device tree must specify which Tegra SoC it uses, using one of the -following compatible values: - - nvidia,tegra20 - nvidia,tegra30 - nvidia,tegra114 - nvidia,tegra124 - nvidia,tegra132 - nvidia,tegra210 - nvidia,tegra186 - nvidia,tegra194 - -Boards -------------------------------------------- - -Each device tree must specify which one or more of the following -board-specific compatible values: - - ad,medcom-wide - ad,plutux - ad,tamonten - ad,tec - compal,paz00 - compulab,trimslice - nvidia,beaver - nvidia,cardhu - nvidia,cardhu-a02 - nvidia,cardhu-a04 - nvidia,dalmore - nvidia,harmony - nvidia,jetson-tk1 - nvidia,norrin - nvidia,p2371-0000 - nvidia,p2371-2180 - nvidia,p2571 - nvidia,p2771-0000 - nvidia,p2972-0000 - nvidia,roth - nvidia,seaboard - nvidia,tn7 - nvidia,ventana - toradex,apalis_t30 - toradex,apalis_t30-eval - toradex,apalis_t30-v1.1 - toradex,apalis_t30-v1.1-eval - toradex,apalis-tk1 - toradex,apalis-tk1-eval - toradex,apalis-tk1-v1.2 - toradex,apalis-tk1-v1.2-eval - toradex,colibri_t20 - toradex,colibri_t20-eval-v3 - toradex,colibri_t20-iris - toradex,colibri_t30 - toradex,colibri_t30-eval-v3 - -Trusted Foundations -------------------------------------------- -Tegra supports the Trusted Foundation secure monitor. See the -"tlm,trusted-foundations" binding's documentation for more details. diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml new file mode 100644 index 000000000000..66493892ffc1 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -0,0 +1,101 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/tegra.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra device tree bindings + +maintainers: + - Marcel Ziswiler + - Peter De Schrijver + +properties: + compatible: + oneOf: + - items: + - enum: + - compal,paz00 + - compulab,trimslice + - nvidia,harmony + - nvidia,seaboard + - nvidia,ventana + - const: nvidia,tegra20 + - items: + - enum: + - ad,medcom-wide + - ad,plutux + - ad,tec + - const: ad,tamonten + - const: nvidia,tegra20 + - items: + - enum: + - toradex,colibri_t20-eval-v3 + - toradex,colibri_t20-iris + - const: toradex,colibri_t20 + - const: nvidia,tegra20 + - items: + - enum: + - nvidia,beaver + - const: nvidia,tegra30 + - items: + - enum: + - nvidia,cardhu-a02 + - nvidia,cardhu-a04 + - const: nvidia,cardhu + - const: nvidia,tegra30 + - items: + - const: toradex,apalis_t30-eval + - const: toradex,apalis_t30 + - const: nvidia,tegra30 + - items: + - const: toradex,apalis_t30-eval-v1.1 + - const: toradex,apalis_t30-eval + - const: toradex,apalis_t30-v1.1 + - const: toradex,apalis_t30 + - const: nvidia,tegra30 + - items: + - enum: + - toradex,colibri_t30-eval-v3 + - const: toradex,colibri_t30 + - const: nvidia,tegra30 + - items: + - enum: + - nvidia,dalmore + - nvidia,roth + - nvidia,tn7 + - const: nvidia,tegra114 + - items: + - enum: + - nvidia,jetson-tk1 + - nvidia,venice2 + - const: nvidia,tegra124 + - items: + - const: toradex,apalis-tk1-eval + - const: toradex,apalis-tk1 + - const: nvidia,tegra124 + - items: + - const: toradex,apalis-tk1-v1.2-eval + - const: toradex,apalis-tk1-eval + - const: toradex,apalis-tk1-v1.2 + - const: toradex,apalis-tk1 + - const: nvidia,tegra124 + - items: + - enum: + - nvidia,norrin + - const: nvidia,tegra132 + - const: nvidia,tegra124 + - items: + - enum: + - nvidia,p2371-0000 + - nvidia,p2371-2180 + - nvidia,p2571 + - const: nvidia,tegra210 + - items: + - enum: + - nvidia,p2771-0000 + - const: nvidia,tegra186 + - items: + - enum: + - nvidia,p2972-0000 + - const: nvidia,tegra194