Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp682861imm; Fri, 5 Oct 2018 10:00:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV60LvQnZxhmI8NIduxK876l1Xn3yxfCOIa9f4VeU1x1339hORf6no9CPMcjt8UB0qLgdmjzt X-Received: by 2002:a62:d582:: with SMTP id d124-v6mr12861587pfg.31.1538758830655; Fri, 05 Oct 2018 10:00:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758830; cv=none; d=google.com; s=arc-20160816; b=IzosYen6xGtFML1AnsdCpib7GNy1L+YiQRlgQ2cSweMqQ9oINcY2rQ63wgrWelSDnJ zpsl6eoJHgMJphiLTMc9DNcu7IkLSNSwHUWwZaPh/LCxz8NNLSNN0BueMRRL6HYXCffp tHI2Mot9EP9W4ggmM673hytpA3uEPiVDCc/I3bKEpkIBJakQhzuMP6n054uHdV4F2Lrx W7qCBSaS0sjTofr3YijdRoCChyiy0epGp5xFpBky47AopkD22pHJOIo/TWn+uSclidjb eJeN1OSafvAjt+w2Cxaihfr50Ta6bz2abqUCNERf3Buv4dGkVCZyj63FqaRu/0WPy6sQ WWXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Pw0v9K8eQLjlmD9GNG38KcZSA/yO1NRAOL0GIrmfslI=; b=O7Ri1lvN+hLHB1/SUq39h86ipnK8OeYx1yeXXBY+xpWGx9wmpZa0nmaW1xjlcUzsTY VRab1LddHj/PgRenWEBLvLvDyXx5WgPCevr0SoZL6en7GL+GFGvEHuUo6vbQVBBreVLh 1rOcuw6RoTJuAG1ZCHTniR8vmgcMLQ5MWCKOKaqI94Zxjlz22p/41SeV3aDp/A7iaYtQ 8CEbv3xjxlko10bpbe3UnSPDRRqM/V/ee2uHcNOxu898RGIHnjDkJtLjYfYvfKYQNk/m KHOezpNa8Yxt1B/g+A1WE9uFNQMe4lq++udc1u1vFBL0jWXR6gjGec7tgyJU461mc566 wz3A== 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 d38-v6si9121163pla.422.2018.10.05.10.00.15; Fri, 05 Oct 2018 10:00:30 -0700 (PDT) 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 S1729614AbeJEX7M (ORCPT + 99 others); Fri, 5 Oct 2018 19:59:12 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:34097 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729541AbeJEX7L (ORCPT ); Fri, 5 Oct 2018 19:59:11 -0400 Received: by mail-ot1-f67.google.com with SMTP id i12-v6so13401761otl.1; Fri, 05 Oct 2018 09:59:37 -0700 (PDT) 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; bh=Pw0v9K8eQLjlmD9GNG38KcZSA/yO1NRAOL0GIrmfslI=; b=eyi2KGBxrO/e1p3kbJs1R/aI0p2DXLrtmqbKs5TUJO+1G9WwXdkBmDhozg7KgyMPE1 BwmYfWK/uqvZX+LUMmmQkd1yINI99MN3T761QeB4Gp074z2ow+CbGROAPWNsrMlK0G+M iw7Z8q5VCYl2agwoFXQz5VAFiU++9BZP7O0JTGen1EMGXN4r1QjdcQR/+j54Tep7ANPI 87skJZqyMDTrVYLoUetgptgZGGWB9eTnPK2enj/5Be1ktYWIo376HlhHbfaQddleXga+ 3S2IcMlro30xiKnmL76iuYh8KbgCkgKYHEc6CaCwkuifx4XkQdCA2BYyW4uj2jLfjVwa BJIA== X-Gm-Message-State: ABuFfojcYRw6ao2uBq/G2bmezUGjmI5ktGn642hMVoLVSCA7qGCVP6Yz AWFQ3o4s0w+jox4Vwa4BS57T5f2uzg== X-Received: by 2002:a9d:1723:: with SMTP id i35mr7449054ota.223.1538758776434; Fri, 05 Oct 2018 09:59:36 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id u63-v6sm2904328ota.75.2018.10.05.09.59.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:35 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Cc: Grant Likely , Kumar Gala , Frank Rowand , Mark Rutland , Linus Walleij , Olof Johansson , Arnd Bergmann , Mark Brown , Tom Rini , Pantelis Antoniou , Geert Uytterhoeven , Jonathan Cameron , Bjorn Andersson , Thierry Reding , Jonathan Hunter , linux-tegra@vger.kernel.org Subject: [PATCH 33/36] dt-bindings: arm: Convert Tegra board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:45 -0500 Message-Id: <20181005165848.3474-34-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005165848.3474-1-robh@kernel.org> References: <20181005165848.3474-1-robh@kernel.org> 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 | 60 ------------- .../devicetree/bindings/arm/tegra.yaml | 88 +++++++++++++++++++ 2 files changed, 88 insertions(+), 60 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/tegra.txt create mode 100644 Documentation/devicetree/bindings/arm/tegra.yaml diff --git a/Documentation/devicetree/bindings/arm/tegra.txt b/Documentation/devicetree/bindings/arm/tegra.txt deleted file mode 100644 index 32f62bb7006d..000000000000 --- a/Documentation/devicetree/bindings/arm/tegra.txt +++ /dev/null @@ -1,60 +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-tk1 - toradex,apalis-tk1-eval - toradex,colibri_t20-512 - toradex,colibri_t30 - toradex,colibri_t30-eval-v3 - toradex,iris - -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..9cebcfaaad1e --- /dev/null +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -0,0 +1,88 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/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: + - const: toradex,iris + - const: toradex,colibri_t20-512 + - 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: + - enum: + - toradex,apalis_t30-eval + - 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: + - 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 -- 2.17.1