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 X-Patchwork-Id: 148242 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp689133lji; Fri, 5 Oct 2018 09:59:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV6195DYPwLKlRWqwuCPZOAKE9jLDHG1hLGlyG9whUMr37neCXsYdksZOM46NWtX4QeucDJMZ X-Received: by 2002:a63:1566:: with SMTP id 38-v6mr10856579pgv.383.1538758758782; Fri, 05 Oct 2018 09:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758758; cv=none; d=google.com; s=arc-20160816; b=HhGm2BXUWycsPDmavm+XrlOBG+PiZxLcJJ+Gia+LkNxUGvc4l/hpuOJq2WubyXnf8L 19baRfkyHEPUVSq2mWfSSGEGcug7rG88GF4SrBKS4yOVaEOwuqMOvp5BGU41WyJ4fGVt oGQ68dI39lMDUYiYX4o2RcgmpD09IRuKjImpwbTM6wB/awMNK8rdAktcf2ZontpQUEx7 pLKC9h/Zb9guzFRtQhPntgH62Qq8YYBP1HpF4SoqGqzMEZstNLc550BfBye6DwI3ZR2N L8xukKJk8YNV35bV8fjSPGlxbXux75UMTjXfxenpQC6K6aGZrfe27F3dWsiMWCMOhPG6 K51Q== 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=O3XM1RBhY4v1WmTiSPBtIk0ka+l440+ODBKqqXu90pw=; b=fDePIumybFTuy4z28v+UKmN04CDhwuGt9QXIsSVqUvMyGQ+5RN5iILEQOouj+9IQaf 6llncxj3piL1KzjlVJ8e+KZA17/j/4buX0DyHpu/qLIcPyLRcShPKfjXrq6ucWWNYp02 zeISJub/fCrFD94EHXQqZj8xS6Yodx6J9/dkD1cIt2LUU90bXg7Xk+4JOk8IloZ6w622 4aXdMx77AOi7ZStw7AHiRiktvJoPOLsjxh2OQR8wnseOmvoXZ6wQfOWBMU0FzbCQ1Q+h Wylz+7wDMvP6psNdnhNmNQpwRGMVk9iq1NbfU6o8zY7uxLu4U4j63p4T/QqbAUlgy71I fCRg== 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 d128-v6si10146471pfc.211.2018.10.05.09.59.18; Fri, 05 Oct 2018 09:59:18 -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 S1729337AbeJEX6u (ORCPT + 32 others); Fri, 5 Oct 2018 19:58:50 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:42343 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728042AbeJEX6t (ORCPT ); Fri, 5 Oct 2018 19:58:49 -0400 Received: by mail-oi1-f194.google.com with SMTP id w81-v6so10931405oiw.9; 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=othPUBM2bK4dCM4/9X3WqfXoKFSqMo0rr706Rl0XvrKEXTb3WNVwystvGb8EuBA+fs 3qINTlxdjhpAI9fZ32bJiGGI+NAIQOOo4xFVhFg4JtqzV68iOa98HJX0xqrDuCfLo93c cRT4m9QtS7NBIKopRwIGZ+D2BdPRCDJ79Tcs++J8S26AXspWKmJw4bSJ46W7cN4irOYD UTG5UeIOm9s0noXg3+o4O/L9hvPbu0pQ4K5k6qX3mGPgOtI/PIyWxgW0IXx93bODzXaf TNM4OHKtNaDAHCYelgyCHpioZ077RMl0lwqome82EMFYMtiJ6n5ds/jPw7x3IVroakHb QBZw== X-Gm-Message-State: ABuFfoj8uuZSKh3jkIt2VXPqbPSG1EwNkhkKABxh6Ml5lgq0+LlAbIwp 5U1qf9tXxKpYjYUk4eVVs8R4APXpiA== 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 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 , Dinh Nguyen 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.1 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 +...