From patchwork Fri Oct 5 16:58:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 148241 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp689103lji; Fri, 5 Oct 2018 09:59:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV63xrFmwatjWMthFhT1uN5vdUXZmWmVFB5++feMXTdPuW3Rr4UipXRyIbOI1XAtRTsvMrKuM X-Received: by 2002:a63:d805:: with SMTP id b5-v6mr10836682pgh.174.1538758756895; Fri, 05 Oct 2018 09:59:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758756; cv=none; d=google.com; s=arc-20160816; b=hua57DUgAlhemdNriNqxxubdHAqjHLoesUBi96EFcHgSiTQk5POiV7uosjQmeLzroE qgvUiX01ezsKt9oaPjHIQOuqAiN3uY+Ypr9mmmovj58eLYmy1F1Sj5M1J2NKkDkEMNIH bwcVftoJM3ZBkjGLgOmt3E/kwTJMfgQXGxoViFUGm7KHkpfZyboXH7swctu/re2OSkZm xIkLxlI2ijYsCOpYJYJ9P+GZt/Uk3r6Wh5tzbpQQvCkyp4nJrxeHNMt4emB8BaRrIwid BQKOdIFX3e1AkHZByZavbWpFiX2fNFLzCRfdHwqE64LBkKSwuXK4YVZcaWC+g+lS8KNO OcQQ== 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=D7OkSebvuDu3GYBwaaAJvmjae/fS/q7Ybf2TAf/0foQ=; b=dcsGOiD6AAAeJIClA76D5J+2Jp+PGNOdc5clX+kx+hZl1sbUFXrJZrLztoLwNiglFf gGgEX8vvyxToZyODXhNcgFW8S8uS6UyAcODGe/Lp9fMZ+u7JbmhhEXYVbxLImcc0KTus OPHe9fOWhfctcApTKY8enoL4WVABStY6qnNSnwrKXzYmLz8DpThqWNp7ykeaEaaRhxZE H+k5K3icSg6ebkoR1bjrLl2SnYqmm3SehypfS1Cv+WNtmrdl4KI+W+VehHYSJqTYHiQl gMOHDjaV08zxnIHsA+V+MTqV/m657aYLd8TpfP8haxvYXSOnfBiDEXDANw7/HpFK1XR1 DU4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 i4-v6si7781833pgk.564.2018.10.05.09.59.16; Fri, 05 Oct 2018 09:59:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1729276AbeJEX6t (ORCPT + 6 others); Fri, 5 Oct 2018 19:58:49 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:45372 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729164AbeJEX6s (ORCPT ); Fri, 5 Oct 2018 19:58:48 -0400 Received: by mail-oi1-f196.google.com with SMTP id e17-v6so10927721oig.12; Fri, 05 Oct 2018 09:59:14 -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=D7OkSebvuDu3GYBwaaAJvmjae/fS/q7Ybf2TAf/0foQ=; b=GWuGDZygR9yg7YAkqsWsNPyvDCX9imsqibXW5ODmoZ+3jI6C1heEaRHPif+j/cmEE+ jhCbekJSNdIfSArOoqbIgpn6otyp56BoocsNwX6fHDiNBgHbGY9ckKJE2KS7VE3cM04+ 3w0LFgMivx7SL/6UM2/vyzt/f06p/03jSQBLLBDnQnsJXK0SxSuvd5KRQQdVcJdLPnFM 0HhLUiO2VZKrJg9UZi5ylW7Gsa9C+paj1T/8VNoHrfvOe7F39OFzkspdP13jy6k6BQ58 m8D38qt/7Eqp+8xdjFZLhRbsMvoETZwwmM4vIufJSnSn6WwaDHW9qyXQosJcGBo9p+iz jcMg== X-Gm-Message-State: ABuFfoiJm6vU6eVTccX7uOrxbXascF2JBUCgtLjx0aXyIIW1T8v4jWIW wD+ysT6wrTo1wS7pZcUwt9sdgayTLg== X-Received: by 2002:aca:b485:: with SMTP id d127-v6mr6011131oif.165.1538758753133; Fri, 05 Oct 2018 09:59:13 -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.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:12 -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 , Tsahee Zidenberg , Antoine Tenart Subject: [PATCH 16/36] dt-bindings: arm: Convert Alpine board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:28 -0500 Message-Id: <20181005165848.3474-17-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Convert Alpine SoC bindings to DT schema format using json-schema. Cc: Tsahee Zidenberg Cc: Antoine Tenart Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/al,alpine.txt | 16 -------------- .../devicetree/bindings/arm/al,alpine.yaml | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 16 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/al,alpine.txt create mode 100644 Documentation/devicetree/bindings/arm/al,alpine.yaml -- 2.17.1 diff --git a/Documentation/devicetree/bindings/arm/al,alpine.txt b/Documentation/devicetree/bindings/arm/al,alpine.txt deleted file mode 100644 index d00debe2e86f..000000000000 --- a/Documentation/devicetree/bindings/arm/al,alpine.txt +++ /dev/null @@ -1,16 +0,0 @@ -Annapurna Labs Alpine Platform Device Tree Bindings ---------------------------------------------------------------- - -Boards in the Alpine family shall have the following properties: - -* Required root node properties: -compatible: must contain "al,alpine" - -* Example: - -/ { - model = "Annapurna Labs Alpine Dev Board"; - compatible = "al,alpine"; - - ... -} diff --git a/Documentation/devicetree/bindings/arm/al,alpine.yaml b/Documentation/devicetree/bindings/arm/al,alpine.yaml new file mode 100644 index 000000000000..95f8629f7b0a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/al,alpine.yaml @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/al,alpine.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Annapurna Labs Alpine Platform Device Tree Bindings + +maintainers: + - Tsahee Zidenberg +description: test + +properties: + compatible: + items: + - const: al,alpine + model: + items: + - const: "Annapurna Labs Alpine Dev Board" + +...