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: 10628493 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6F88B1731 for ; Fri, 5 Oct 2018 17:07:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5826029AC5 for ; Fri, 5 Oct 2018 17:07:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AD0929AC8; Fri, 5 Oct 2018 17:07:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A1C2D29AC5 for ; Fri, 5 Oct 2018 17:07:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=7DOVistrXDNGvczA/N6Nj0QC1MxttrWQRHj8vX8xLNU=; b=ujIE442m9DNRGBi/MdcUapeWZm 2jqHFXqwxm299jMDVn44q4BdxM37B4rHl7cbLZs/g0PXnhK4GlPRkDpFpXf3czXTiN/rYHBk7VJJ7 ksg8puVHRbPk7a4OlukEkbxJ2/p+4qUGOfzhJEYWWub84LHvVApWywEViu5QHQqQ3ZnjKxshL9A2o RdDV5xxx5t71uWPEDjsZ6v8Y5fbhEgPIiNL71I8hjps+53cqOwu7faOckOFjOoVF7I0LqPAovyjPd I+y185tPHwGgNkitp18pumaO8GBmg7ldLo15I510ZCWApV0BnKuqvYNM3vSCuvQ3QRk4dVk85HVVd hGxVltGA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TZS-0005AA-9G; Fri, 05 Oct 2018 17:07:22 +0000 Received: from mail-oi1-f194.google.com ([209.85.167.194]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TRk-0007gW-5m for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 17:00:58 +0000 Received: by mail-oi1-f194.google.com with SMTP id j68-v6so10952462oib.7 for ; Fri, 05 Oct 2018 09:59:13 -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=N/RglgEhZN4B9U1CFnipW7n1BfgLDpSKi6I7rzvlDVOGshPHxxVBSpvPUPFcJ5OK4U APWzjNadETFpNg7/g6EuGtZmStjrS43NguKZTsBDI88GlN1p8KR6esqo4eiGMbakHYqA jF7UTBAnVQyqLN/IPWn1aB/oZX7pf28tqFXV3eOU5mtLisTFXq7VIqynbBFREoxm7p+M oOBMVL1OB6M4upIwoqlSeSj9xlPYAHbHleB0HhZKLNsLJpjqzqnIKXxqslj5+PU1y2Di ZZoNCb6JHe85tqmH22SWDpr3i5kSRC6pByyY24AG4aKB7FB8APlpaThawlAVfyyVSNGQ UDaQ== X-Gm-Message-State: ABuFfoikZZC7zRLktZGShIkHiSBG1em/w9qFgJ8mWsZrYmDQ9y1lVc8I WmP6TwVVyagKqijI72bZdw== X-Google-Smtp-Source: ACcGV603AZmYMM959ZiqeSNbPbCx6juZGnicL2LLW1xgg9bdM4NS/wyqNjo6TeDNGfZt8qWxvkdKFQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181005_095924_291738_AA3610C3 X-CRM114-Status: GOOD ( 14.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Tom Rini , Kumar Gala , Grant Likely , Arnd Bergmann , Linus Walleij , Pantelis Antoniou , Bjorn Andersson , Mark Brown , Geert Uytterhoeven , Olof Johansson , Frank Rowand , Antoine Tenart , Jonathan Cameron , Tsahee Zidenberg MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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" + +...