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: 148245 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp689231lji; Fri, 5 Oct 2018 09:59:24 -0700 (PDT) X-Google-Smtp-Source: ACcGV603UeSmxPvU3p52XD2sCjtArkuq9dNLt1A1GnrfUxYxjtWtdOrfw67bM2TQGl9udffIwYQu X-Received: by 2002:a62:99cd:: with SMTP id t74-v6mr12627210pfk.179.1538758764163; Fri, 05 Oct 2018 09:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758764; cv=none; d=google.com; s=arc-20160816; b=pG07NCLXnNZCT7cFzSg9Z8yL/jVoidjC15gyzujwnM+yZQC25op+eA1qlG5yenQ4iX 6HymSVGtWCrr5Bs6w99XUrvtrGTJnciPPiULD2+DPVzJW26Cqwx98w/Q7/gYzCuCisKz /SIzvtL3EJTFIoZ6s5QK+LxO8D1CsRhL8bf6bQ/bda3aWoeePkqZ2Zl48yVPiMT6fLfn efaeY2oH0QXLl9/BOLSPicekKLBIqwG5q9xgjPBjYVX8UO0lxw9nxn+E+eActhTKnRDm ihQkA3cOZaaXtAntfZlUIXcruNRHTRdSxCmGjdIAqiiI7agy+1UexZIrR1cf9/ASNH8X EFsg== 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=5MLkB6QDD+qMQPlNXzKBuD+GOXCxeFHPrO581g6RS5g=; b=dBriUW+NEYmUz28sK3dtl7mkLHP2y0CDSGGIMZsKAuIHiurock9Ggwbpw1EiyTK7x+ +8z6zxaltSEGkITmD5eT8ZCYV18WiY2VyeXnRqlnB3Z+2S9zro5ypa1Q5r6FEpMW8lqg 7xABMSPZGH4fOjVyg/WOqRPmHyyUB5ACkkAYGDXjdFTn3AqpJ9ZSTKZWuEd8FFk9U9Uh 6BG1NCoL1QXnWLug+mbFbO2uKhqL4xAmo66xNrpjcRnSon/mA+IEFuhq+/J/wgUhM9By lOLm7RUCGxqsVKvTYL0hsgDJqkW9tAU67uwNBoDCG1A5/t/gUb08yQmfhaSzwV6jkvff y5Og== 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 e7-v6si8961967pls.366.2018.10.05.09.59.23; Fri, 05 Oct 2018 09:59:24 -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 S1729422AbeJEX64 (ORCPT + 32 others); Fri, 5 Oct 2018 19:58:56 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:36877 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729395AbeJEX6y (ORCPT ); Fri, 5 Oct 2018 19:58:54 -0400 Received: by mail-oi1-f195.google.com with SMTP id e17-v6so10956810oib.4; 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=hg/8RSNTUjptVBqLxEYZSeGTQguZtWJXIaIV5sfzsDsthZjXwie73Cyrp0hKw7LgWq 6uzatBm55Hvx00NRX7h11q/8M9LZtnNhvZGlRzAXWisxhuSRMfYEljPEkHZTbreT+KV7 L3cU+PGh09BUkAs0joKSOhDaZDrmjt6Fu8jhEEJJoyQKJ5Zy9FjwmzTlDX9ycRhAG+mn 68x2RN35pcR48UHnoAi91zp5gBKrjUXPYr4r3nPxU2g6OuGzSEJvTS5FMtcFQfPpqbU4 TymVbAicoko2kmgd+zQg2IQy2VcP+37cU0cRREp8ijPagByfPx6esMHuFBpclHmWCtgX r5gA== X-Gm-Message-State: ABuFfoglJq5j5/NBcu9GQi4N8gv0FmwCFbJA9JpX64wF24s5GgqksX/z zGZRoZpbk7nS0GrTNjHpDWbAz0b35Q== 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 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 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.1 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