From patchwork Fri Oct 5 16:58:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 10628497 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 C4D131731 for ; Fri, 5 Oct 2018 17:09:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABA54299E0 for ; Fri, 5 Oct 2018 17:09:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F42029A7F; Fri, 5 Oct 2018 17:09:01 +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 3EA18299E0 for ; Fri, 5 Oct 2018 17:09:01 +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=4ylO6yH9z8JeqXPdQkrh5ypa6itMCpSC9+WdW3MgV6Q=; b=GVd/6r4pZkPV0KzM60GBuFtTuj XnQHNIvbBR+5xCMUVnvJCEEg0t0EBFxOYwTIjYHRI8KiAUYHE6HZS+l7W3sS51CDM64pXSALM5Nto rzu1P4S/pofrmu/EXWxTu8eotIo3igrK2m2lajqIbXPxtQI4nsQafGjjkaWryJem7M6kWUhxldaLg i5Rk0SLUtW9X9hVbPN6+PYXDeCi/bYSHEj1S0xn4fGDjmV/cvfplAUnRUGQ498e7vgI8POJ8dnrdw AGdBdd/lYLvhwmiwee2lKjKllxtt26DhnOi/81XLi3WmWACNfSLcFAUnjdggCgCoqTTsQGCB5Hc2c dNjphx9w==; 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 1g8Tap-0005kE-RD; Fri, 05 Oct 2018 17:08:47 +0000 Received: from mail-oi1-f196.google.com ([209.85.167.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TRq-0007h1-Ac for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 17:01:15 +0000 Received: by mail-oi1-f196.google.com with SMTP id a203-v6so10982013oib.0 for ; Fri, 05 Oct 2018 09:59:19 -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=5MLkB6QDD+qMQPlNXzKBuD+GOXCxeFHPrO581g6RS5g=; b=IuwqbXpkSD2SCXJHrCaZXqyBK4r9Un9xW03bqiD/6kak6zZFiOqXz1eQIUIv81Tvuo K5wX7RkyWKSzqwnIwtJtuilouOmD8piAPB4/daJDVkgAIAta1U4RoAzzBCRYRTeaX1Yn ONTbx/LMOvvcpiy20osgIXIi3pNfHsxiU6PWh8U2fhqzCHCDjnewwAul9VwG1B4Uo9f5 Tz9JFoSv2mxhq5UVVINvzqEleaO0IzKovIHYl6r/KtdYBEgOebklDha07rfpShkXtKhg ih6d3fS0PgBuSmFkFomugTjN/HedX8LSWouCUR+8FFPEfG3xPDyQp4yuWxDpR30IQPIp GNgA== X-Gm-Message-State: ABuFfoiOPPkIax2Ezf7LSu2f2WRcasIBOn3KaLHjJ/qWxVsn027r0Sx7 tQlbKdMSjDsdpiHOEoQYSw== X-Google-Smtp-Source: ACcGV629LouluxdgNS1LuFqu8Y3xcImnmDk/ruWOeXsYCEKkGLnz6m3/CszIzQIdlqqh8Mdm9KdVYQ== X-Received: by 2002:aca:f4c2:: with SMTP id s185-v6mr5857040oih.245.1538758759126; Fri, 05 Oct 2018 09:59:19 -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.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:18 -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 20/36] dt-bindings: arm: Convert Calxeda board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:32 -0500 Message-Id: <20181005165848.3474-21-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_095930_404089_CC660E03 X-CRM114-Status: GOOD ( 13.80 ) 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 , Jonathan Cameron 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 Calxeda SoC bindings to DT schema format using json-schema. Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/calxeda.txt | 15 ------------- .../devicetree/bindings/arm/calxeda.yaml | 22 +++++++++++++++++++ 2 files changed, 22 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/calxeda.txt create mode 100644 Documentation/devicetree/bindings/arm/calxeda.yaml diff --git a/Documentation/devicetree/bindings/arm/calxeda.txt b/Documentation/devicetree/bindings/arm/calxeda.txt deleted file mode 100644 index 25fcf96795ca..000000000000 --- a/Documentation/devicetree/bindings/arm/calxeda.txt +++ /dev/null @@ -1,15 +0,0 @@ -Calxeda Platforms Device Tree Bindings ------------------------------------------------ - -Boards with Calxeda Cortex-A9 based ECX-1000 (Highbank) SOC shall have the -following properties. - -Required root node properties: - - compatible = "calxeda,highbank"; - - -Boards with Calxeda Cortex-A15 based ECX-2000 SOC shall have the following -properties. - -Required root node properties: - - compatible = "calxeda,ecx-2000"; diff --git a/Documentation/devicetree/bindings/arm/calxeda.yaml b/Documentation/devicetree/bindings/arm/calxeda.yaml new file mode 100644 index 000000000000..bc5c69926c6e --- /dev/null +++ b/Documentation/devicetree/bindings/arm/calxeda.yaml @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/calxeda.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Calxeda Platforms Device Tree Bindings + +maintainers: + - Rob Herring +description: |+ + Bindings for boards with Calxeda Cortex-A9 based ECX-1000 (Highbank) SOC + or Cortex-A15 based ECX-2000 SOCs + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - calxeda,highbank + - calxeda,ecx-2000