Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp685106imm; Fri, 5 Oct 2018 10:02:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV60ST0bCIpyDMIWnzQ8yxm/TnToN/1nOcIzcwJ9zo0ExlUV6bjXl7RGO25tLFfgcznNiTCBO X-Received: by 2002:a17:902:bd85:: with SMTP id q5-v6mr12101341pls.73.1538758935602; Fri, 05 Oct 2018 10:02:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758935; cv=none; d=google.com; s=arc-20160816; b=0+FCwh2mhRWl+P9D493rNmjkCBiVoG4suxd0MjhjtHZlcjunAgKmUknrGU5O75Z3Bt QxL/nXvgW8nPVEgzd00X0sOYEXeH3M99TsZUtppQs8fWcJDXzSuB5gFZfHKq0xSAOvOs drayb8+sp6PRTBr5JbdsqYAvMCXrSXAUfkwzGqZx/DS2kh66IQWHyWKt32vqSGf7Z3Os g7f4T+2MTeTpw04eIQgxyi8ELrrazJcrq/lG5BdJVY09UpfZ3OR4krsmZr/IuRzMZ9Zl 89/U0UaZz4yF4Lh18aVqZmoYDt04m7KfGfmWXpDztX/Kn1LVMyyZ046BOHACw3oCmiPg UcTg== 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 i6-v6si8399408pgl.50.2018.10.05.10.01.59; Fri, 05 Oct 2018 10:02:15 -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 S1729329AbeJEX6t (ORCPT + 99 others); Fri, 5 Oct 2018 19:58:49 -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 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 +... -- 2.17.1