From patchwork Fri Oct 5 16:58:29 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: 10628495 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 E764515E8 for ; Fri, 5 Oct 2018 17:08:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE7F42988D for ; Fri, 5 Oct 2018 17:08:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE36A2988E; Fri, 5 Oct 2018 17:08:07 +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 5B5CC29AC5 for ; Fri, 5 Oct 2018 17:08:04 +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=PoUvXxZXMzTbktDFcnv4f09XWwneRF5HK22HG2id8Tw=; b=BR41njdSsjf/24gWRcb57vViNr 8MfJsC1R5KaWPzx87T4nJz6WpXL2SHvcUS88p8T/fGuq5k+Ge0Jfl6KxoNv29TFVKJ20wMnuPvYb0 yjf+iqJzqXiX3V76jDWnoUVF8XmobxR5dBwUSDCpXXJg7w+0RmoN1fia6t50PALI5hPTfdSdGxBK5 3S0rXO4oNjwTuWHq08gvWauzil+DeTDBznGPsA6w8pbmShpcf5CNCcNZdlk88yx+jPmnk4yyB4wFr b0MDYBS+A8MyYRqcs+3ucbyEzMxExN26majf3t2bRSMA2DneEPzMOkuyLZN60e6HYWALstDYPa6xy zHKaQl8w==; 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 1g8Ta2-0005PR-Ug; Fri, 05 Oct 2018 17:07:59 +0000 Received: from mail-oi1-f193.google.com ([209.85.167.193]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8TRl-0007gZ-JV for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 17:01:08 +0000 Received: by mail-oi1-f193.google.com with SMTP id u197-v6so10959308oif.5 for ; Fri, 05 Oct 2018 09:59:15 -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=O3XM1RBhY4v1WmTiSPBtIk0ka+l440+ODBKqqXu90pw=; b=rG/zBreNhqvmVhX9AqRjfAaWJaoDavcaaIwKnT5ifz8JB1jucP1yeJmrSYW2BvICIz lB5+X7CSsdmNtxK+Deg+VuPgyPlXVAMO0UYyGXZaXptydvVBUh/sJsflKIqJqxBFJlQO aPJ0zUAVSXANgUY6z+UbcaQnDu3YXFw8+3KGaI0vBweasHSrEeTgLA0nQFRo7lqcqyjW 0DdKrTf7BT2AtexfZ0CMO9RqhTWyOHAYgx3C9IjBkemjM22Mn/4sg5+8tPqIQBO493lU 8lSMSkMZfSZiCRTC/Vh6xDVgzijVR8mHTZeKCXzyWNtwTWqjoZc8sR6uQ1PRcIyM1IGE PTJg== X-Gm-Message-State: ABuFfohHCVO9b4PM2XjPAqh20ctLOdHubhdlenzcdJLAZk5QdnxMmXLq 1BPfuxq9Yx00i4N3Ser4pA== X-Google-Smtp-Source: ACcGV60AgRw3R5LJgV1x9+oI865q5N6/ndRU9D+ZWO2QIsss0NXUboNGgrxCF+DjBK6gh3Q57fTXXg== X-Received: by 2002:aca:490b:: with SMTP id w11-v6mr5885174oia.126.1538758754465; Fri, 05 Oct 2018 09:59:14 -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.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Oct 2018 09:59:13 -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 17/36] dt-bindings: arm: Convert Altera board/soc bindings to json-schema Date: Fri, 5 Oct 2018 11:58:29 -0500 Message-Id: <20181005165848.3474-18-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_095925_724073_708928E6 X-CRM114-Status: GOOD ( 14.01 ) 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 , Dinh Nguyen , 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 Altera SoC bindings to DT schema format using json-schema. Cc: Mark Rutland Cc: Dinh Nguyen Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/arm/altera.txt | 14 ------------- .../devicetree/bindings/arm/altera.yaml | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/altera.txt create mode 100644 Documentation/devicetree/bindings/arm/altera.yaml diff --git a/Documentation/devicetree/bindings/arm/altera.txt b/Documentation/devicetree/bindings/arm/altera.txt deleted file mode 100644 index 558735aacca8..000000000000 --- a/Documentation/devicetree/bindings/arm/altera.txt +++ /dev/null @@ -1,14 +0,0 @@ -Altera's SoCFPGA platform device tree bindings ---------------------------------------------- - -Boards with Cyclone 5 SoC: -Required root node properties: -compatible = "altr,socfpga-cyclone5", "altr,socfpga"; - -Boards with Arria 5 SoC: -Required root node properties: -compatible = "altr,socfpga-arria5", "altr,socfpga"; - -Boards with Arria 10 SoC: -Required root node properties: -compatible = "altr,socfpga-arria10", "altr,socfpga"; diff --git a/Documentation/devicetree/bindings/arm/altera.yaml b/Documentation/devicetree/bindings/arm/altera.yaml new file mode 100644 index 000000000000..0fc6564badc3 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/altera.yaml @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: None +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/arm/altera.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera's SoCFPGA platform device tree bindings + +maintainers: + - Dinh Nguyen + +properties: + compatible: + items: + - enum: + - altr,socfpga-cyclone5 + - altr,socfpga-arria5 + - altr,socfpga-arria10 + - const: altr,socfpga +...