From patchwork Mon Dec 3 21:32:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 152771 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7319801ljp; Mon, 3 Dec 2018 13:34:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/UlRNnJXpHtl2xQrvRg/SkYHLeo5mJe71a2aHGKWYsXcHNM4i9YvW4YX00HuPm53GxB0rQC X-Received: by 2002:a62:ab0d:: with SMTP id p13mr17457586pff.211.1543872883026; Mon, 03 Dec 2018 13:34:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543872883; cv=none; d=google.com; s=arc-20160816; b=Hp+5IrFlnbFdJaVpRGRDAiK/Ffu0LK9oicoSzduaJAwoZNnT5F3JxWgBEI2w+Tf6UM FCnOF85Oy1AAQ+0QpazUQ2hgW3ii1FlmCqztQTjCZM8kQ1UOykEc3VSRPy5ZYVfw8pUn KDiIUHXNvOiKOympQ+ZzMcdoxT0JFZMmfWgs4DjdE3PMtNkOlmpwqypco6nm8nEFn3KJ yglcBO/7/IC5g1PSm1QTzz9/7UYlPCy1zNoHzRs/wVn+VjykLNv94DOJLWs1z8ghCbE7 fcxi9NUYcRHW+plMj3Ypr4AhbYjSAnnHwJJX1SJQr20bH65jTYSp7MgTZqT6ZZTGXZ9Y RMXQ== 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=TWELqPwXjCqkhQiWQTIVxmpoPf+1qSnx8/GOPVWjztw=; b=OvJB6a2ux5ZM/bURzl1XHgGddfaaFASloOjEw66ccEeKFhU5YNfqie85ZWXYgZ2Pwe zlWAfR7E/6PLpQUyDPlY7UDAcNuFhRlEP2cYEKde/FeYkxDqxqH0aCEUP6cbHeB3txsM uXL2HLLoHmJFl9DSoR7tnduV4NFgKHaIjiXk+7m+nL1Wh6eFvG9t/CsS0Ul1HIEZk5y0 4FZ3OFYUfdSExG7XxQTaEmPDyLfNBP8CrozJEDarYJhtJ+XRCNfGBys2eFu+wsIpGr90 Ildln9BcV5NI6GRojhW+TeP9BD+mEPnibE+2W7Vk2GyF0xFrVq6OEcnVUok5vm0Q573j TIPQ== 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 v6si15754505pfb.178.2018.12.03.13.34.42; Mon, 03 Dec 2018 13:34:43 -0800 (PST) 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 S1726202AbeLCVct (ORCPT + 32 others); Mon, 3 Dec 2018 16:32:49 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:37571 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726180AbeLCVcq (ORCPT ); Mon, 3 Dec 2018 16:32:46 -0500 Received: by mail-oi1-f194.google.com with SMTP id y23so12373326oia.4; Mon, 03 Dec 2018 13:32:45 -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=TWELqPwXjCqkhQiWQTIVxmpoPf+1qSnx8/GOPVWjztw=; b=TtzjmSo2A5cjNon1r0g+lmBFv7fAYKmyX3I9e4iPT7KEUMwWtqQ6z4VhNXKHbUbTyx X2HSaJfxriqbdlwf3aV4nr2wPVhyEUrErXWio2HDkwUK67RHiYDkPUivjlkXPblLCLbK ICqGY+ah+uJWUKayhPPPuRIkwxL0Diu83BsD4tj2OO1b8mFLivDwzvnRRzWePCxK9eQM /i8FeGQ9tONpkUZkQMVh1ySJYcxeiLMnb0eTV+wHdyvK9xoj7B0+5AmDh0s3LtA/LBFs QrIkz/Z0yaz9uhc6EVAY063q/vdRFrw+A6rjHCpfyOFG25FG0zv5qeqbP9H4C4HiGTyl l8dQ== X-Gm-Message-State: AA+aEWZou+Er9oCYmGwR9k+u2kphpncXqZFuMESdxhEqTB/J0ohWOwTl 2qQCo96XJD6opHdwEn+/1ap+qhs= X-Received: by 2002:a05:6808:287:: with SMTP id z7mr8197663oic.233.1543872765086; Mon, 03 Dec 2018 13:32:45 -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.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 13:32:44 -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 Subject: [PATCH v2 16/34] dt-bindings: arm: Convert Calxeda board/soc bindings to json-schema Date: Mon, 3 Dec 2018 15:32:05 -0600 Message-Id: <20181203213223.16986-17-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: 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.19.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..aa5571d23c39 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/calxeda.yaml @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/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