From patchwork Mon Dec 3 21:32:01 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: 152774 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7320102ljp; Mon, 3 Dec 2018 13:35:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/UKujdNVjD9tF++asooxX/9aNAnsMP0XQznuFcadqrYaIhGxvYDhmVI8kK4bLcti1BJxA4/ X-Received: by 2002:a63:5c22:: with SMTP id q34mr14547751pgb.417.1543872904184; Mon, 03 Dec 2018 13:35:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872904; cv=none; d=google.com; s=arc-20160816; b=tRKuFe4xnmf92KhB6I/BO6dfjA9jtUr7S6Q0fsedmLBnL/HpiwMsQFgtg0sIxS9nsH 9VbHZJFdYTvhvvM20cRxAHS5jOLjA0tNDBf+TAfqTPKSK/BaHDpejijGnz4D36NH4kd3 LE+8icLM1y6IEqCjmu4wyNCEb4c7aUxx6q8wqltozndFJ6MVO9gJqmLSKgRidoE+zi62 r3fNTJFxH1dIGOUd77vLPHo6/hviLNJNG6+scPmCyqD6cx19sTVeV1c23rm9/kfj5AZE glIzjcOx0rHQBc3BRO5FXXcxmWFy5M45AWlKqUueEI/49mKu8j6BT+8C0ULstFbCenHc LgpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=crpmuMvjqBUzMweRcyITJf7puD+Tt8shjcgunnXtNSw=; b=id6IvPvZWuz0FkWtM4SKNNnuxgzb1uFgzGsXFf+w5UrxVoJ1kFrl7MwPbeaPbkb6l3 pF8Q4LkZbeEF/F2a/UcURLLPt9CPWSmQ423Ahf144DaRV8ernRtv66aqQKe6EcrPMlgV yyCrR+1Vtcnn2HSuXLM+sOSCAABNcxX4hu9OaKuDptNTL4z8aZc5Ni3GJNS1aU1/rimq QOqHQfFbQ0IsqwdgZuAwZQDyy2yFrL7/N5D0hlJi5PCWPf/5agEECQ0t2BdM/TCDt6m5 GH7FyKUphvs6Ija+r5FVF0jj+jSUVUbrQ1KIFhMsP/gy8RQ2PGWZ6GCd201Eez5Kd2ab Z19g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 p3si14404395plk.424.2018.12.03.13.35.03; Mon, 03 Dec 2018 13:35:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1726131AbeLCVfD (ORCPT + 6 others); Mon, 3 Dec 2018 16:35:03 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:41229 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726124AbeLCVcl (ORCPT ); Mon, 3 Dec 2018 16:32:41 -0500 Received: by mail-oi1-f196.google.com with SMTP id j21so12344059oii.8; Mon, 03 Dec 2018 13:32:40 -0800 (PST) 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:mime-version:content-transfer-encoding; bh=crpmuMvjqBUzMweRcyITJf7puD+Tt8shjcgunnXtNSw=; b=rbTqbfNAGn9O004h9BI3+2XCBA/E+egHBV5maQ9L6jalv2E3ZIAN8CuPufOHHpdUp/ dudAHou5PbX5NbZUGzRoWBkT5LPrHvtIJJ0VsbFqnfStFxIx3PHafx9fVSTYI96IEqQQ YiHishYM7j/zuTWwfGyBxXUaVsHYstDtdcrfrNEs6k9Jd0jumUvpS/pcyDPfaeA0FluX 7roum2CSPTnn0GYLxYRy+d9ob9SCLxltP/lbrzDwHRDMJ4VazpcqKNMnV6P5pzSIGPS7 X+0f5/ArNweIgEII+pfseCdg8kDpjNSmHjvMGM5DD40l64AZcf5otmfDrBCCE8Paj4On HjoQ== X-Gm-Message-State: AA+aEWZomPg+iNeM3nThG8vHLkY9drICMfZRN2rWJCOo/ItMFGD8x0r5 MXq5JEAiGfTTyVYvXquT+fuue6k= X-Received: by 2002:aca:dfc4:: with SMTP id w187mr11306228oig.35.1543872760042; Mon, 03 Dec 2018 13:32:40 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id c78sm8545501oig.30.2018.12.03.13.32.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:39 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sean Hudson , Frank Rowand , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , arm@kernel.org, Mark Rutland , Dinh Nguyen Subject: [PATCH v2 12/34] dt-bindings: arm: Convert Altera board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:01 -0600 Message-Id: <20181203213223.16986-13-robh@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203213223.16986-1-robh@kernel.org> References: <20181203213223.16986-1-robh@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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.19.1 Acked-by: Dinh Nguyen 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..49e0362ddc11 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/altera.yaml @@ -0,0 +1,20 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/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 +...