From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64281C32750 for ; Tue, 13 Aug 2019 16:22:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3616220679 for ; Tue, 13 Aug 2019 16:22:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iGurF1uj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="Dc3iLjqj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3616220679 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=9eFsQbwc8JvyeoRjrt+qB4HnkdQmq74SYRSktKlSgBs=; b=iGurF1ujRhCqJtDmGCpZpAP3C4 Dw8c6sOyGQRb8iLvjKVg0QQS7WuqC9JJHwn+EyeO7SztMYslFzffMYPUa0EWwwDIgOP5qeimFk9QC tnFW5HjeeOSGEdDjvuK90/bZDTZhRJ5ZdagngLs6UIqQ1wwDEvWfwrzXHSs1vw5OiQyV+yRi/DyjA tIacHqq3f0zl/4SdovMfA6JfKAKKvwSpkQp8DOGt94QsGebBS//vvIAdEc2o4SoodUurP3aeslr7P xAckLMv8SMtA+FVqoJq6NLXfHoYusnXLv0FdFfynlTN1LXGjR5o/Ove+5X3WSa7t8JvAcni3cmPl4 lXmiaaAw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hxZYt-0000pL-1f; Tue, 13 Aug 2019 16:22:15 +0000 Received: from mout.gmx.net ([212.227.15.15]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxZXn-0008N0-KA; Tue, 13 Aug 2019 16:21:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1565713261; bh=N/1fGHykkkj2ii3MMCPsqwFDNryE+MvPA8vb391G4JQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Dc3iLjqjSS3CAc0DlTYVkmT1L1YWy30ZT0KPg2B9wvYsxbp4zbJOEEHIqFHm693LL /y+aaqOiU25z6vhQwSVRnwILCyLBYdmpuKPpj6M5BOpj98rxr8sWIxX7FJF5WtMlCZ y83SLpjoZOVTNTyMJ+bdhNPsXSqX44VgAQ6B5OOI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.106]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MNbp3-1hdS5v49t5-00P3kd; Tue, 13 Aug 2019 18:21:01 +0200 From: Stefan Wahren To: Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , Wolfram Sang , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd Subject: [PATCH V2 09/13] dt-bindings: arm: Convert BCM2835 board/soc bindings to json-schema Date: Tue, 13 Aug 2019 18:20:44 +0200 Message-Id: <1565713248-4906-10-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1565713248-4906-1-git-send-email-wahrenst@gmx.net> References: <1565713248-4906-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:9aQt5XHwmKTiYEkM5aG3tX0//bI6EK19R0s2CZt4Bu5hD+lDVVk tc6FzSARMk3ksT9HnAARreZXAug/jQiJYjAFWosz//m8bXOnNWsleuK8SguaQjXZMoHRGCy FnW2OG7tgcVpl4fsgksgtmbn7sgj28pdq0Ce2qg57xV6yX2hP+W8bjjhSAIYZlx51L1Zx0G g+JTqxieg1rIQNXLwPEPw== X-UI-Out-Filterresults: notjunk:1;V03:K0:FfTa5NEbgws=:y1zZ1PjuuewmfhVXv2TM3G Wymd2v5fnE2HCtVf09W+oBicBR1WmYk2qEoxMhtsc9IOx6EIYBhpFGXjHXdD34ZY0/kDmEmXz oOR5kfhT2ZLGRzMVOYKnbJDp8qVJGhyIICbA5+Tnh3sup4me1JC0C8ifLJJ5fkyqRWP93jfrA IP7ida6CNjEE+j1/5xr00WuH2fH27FNtVGixDpEbfKvd+1lal6Q4B6suB175BCbxq4Jj5fQC8 QDPVwIMxlDZ1vcuatlTYlZ80Oa64PM593sCYXYONbBy3DH4dFYDZfC6Fm8lSn5VWjJDBpB2m+ MaRZDECOod67MBcPiMhsOEl2DWGLM7vgm4DPX6gBXAs558XF6TgS/hgnRrXZNyYKnd/w6fr4x cXsHpHAy1qQXcHf52YNYRIlYT8N11+WB5Wr5w+HBQiguYTmn3qsYlE+h0uJqpjY9iDuOlcDDj mibyasOHTULMPGlpneLAOxYteVuHCNdn2ivfk/c7J//2FCBkUFl68a+D1fZ3iROk4fLi54UiQ yi0u+BL49gB2j4hdO2tVG73HbIXfZVy24UiJjYl/SVya/EOA0UeVOzuoD3Eo2LKCKkdpgw9iP UyaTu6sCAOf9+HZB6g6rRgdi3xsubkMB1TReo/ql2R+CwlxYy7S1/T2JfCSSi3+AD+lddvy8b 3gLSh7JkRB/rspLS1/uSUL3oyY43KKPTuyrbidxlLq2Viqd1uBwYv+WhCzPNhFJ/Bu7PQQvLw ke/j7C+jv4hN4OQZv6wEJF5fc+CiXzvtef6Rk8aP3Fw8gNqiY0xYAvUluKgiP/SWx6++HIhwC Er2ULdWN397USAdMvjrtQJh9By1y/Avpc4E6kjLxvPmQDYgGCjYH5jSJj+dqsVMWtnF8D4Ea5 SEQxtQFipIn+cy17doo7tYJfbJLR8HAZkqYzoHxGwCoidPQccaiAVpxdcKp17o2v0CrQReq7K RiqJIQnplWCa95dVWgfa08agkGOFxGR/mZ3cdXVW6Uf56Xuiy1vZAcDp5pnP1aGgnVJd7w/Np SJS2oJbTYqmCIyPH+U1zHE6xgYCXW0LyP6cQt14HJM4VylS5CjrzHT3dunKkXZtzDYxX64EZ1 fLs97R/qzOIrwRXjhW39Z//+rhjBi1W2hdc/0McxqDA386dNcsuCagX6w== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190813_092107_955624_CF13A0B9 X-CRM114-Status: GOOD ( 14.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Stefan Wahren , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert the BCM2835/6/7 SoC bindings to DT schema format using json-schema. All the other Broadcom boards are maintained by Florian Fainelli. Signed-off-by: Stefan Wahren Acked-by: Eric Anholt --- .../devicetree/bindings/arm/bcm/bcm2835.yaml | 46 +++++++++++++++ .../devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 67 ---------------------- 2 files changed, 46 insertions(+), 67 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml new file mode 100644 index 0000000..1a4be26 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/bcm2835.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2711/BCM2835 Platforms Device Tree Bindings + +maintainers: + - Eric Anholt + - Stefan Wahren + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: BCM2835 based Boards + items: + - enum: + - raspberrypi,model-a + - raspberrypi,model-a-plus + - raspberrypi,model-b + - raspberrypi,model-b-i2c0 # Raspberry Pi Model B (no P5) + - raspberrypi,model-b-rev2 + - raspberrypi,model-b-plus + - raspberrypi,compute-module + - raspberrypi,model-zero + - raspberrypi,model-zero-w + - const: brcm,bcm2835 + + - description: BCM2836 based Boards + items: + - enum: + - raspberrypi,2-model-b + + - description: BCM2837 based Boards + items: + - enum: + - raspberrypi,3-model-a-plus + - raspberrypi,3-model-b + - raspberrypi,3-model-b-plus + - raspberrypi,3-compute-module + - raspberrypi,3-compute-module-lite + +... diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt deleted file mode 100644 index 245328f..0000000 --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt +++ /dev/null @@ -1,67 +0,0 @@ -Broadcom BCM2835 device tree bindings -------------------------------------------- - -Raspberry Pi Model A -Required root node properties: -compatible = "raspberrypi,model-a", "brcm,bcm2835"; - -Raspberry Pi Model A+ -Required root node properties: -compatible = "raspberrypi,model-a-plus", "brcm,bcm2835"; - -Raspberry Pi Model B -Required root node properties: -compatible = "raspberrypi,model-b", "brcm,bcm2835"; - -Raspberry Pi Model B (no P5) -early model B with I2C0 rather than I2C1 routed to the expansion header -Required root node properties: -compatible = "raspberrypi,model-b-i2c0", "brcm,bcm2835"; - -Raspberry Pi Model B rev2 -Required root node properties: -compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835"; - -Raspberry Pi Model B+ -Required root node properties: -compatible = "raspberrypi,model-b-plus", "brcm,bcm2835"; - -Raspberry Pi 2 Model B -Required root node properties: -compatible = "raspberrypi,2-model-b", "brcm,bcm2836"; - -Raspberry Pi 3 Model A+ -Required root node properties: -compatible = "raspberrypi,3-model-a-plus", "brcm,bcm2837"; - -Raspberry Pi 3 Model B -Required root node properties: -compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; - -Raspberry Pi 3 Model B+ -Required root node properties: -compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837"; - -Raspberry Pi Compute Module -Required root node properties: -compatible = "raspberrypi,compute-module", "brcm,bcm2835"; - -Raspberry Pi Compute Module 3 -Required root node properties: -compatible = "raspberrypi,3-compute-module", "brcm,bcm2837"; - -Raspberry Pi Compute Module 3 Lite -Required root node properties: -compatible = "raspberrypi,3-compute-module-lite", "brcm,bcm2837"; - -Raspberry Pi Zero -Required root node properties: -compatible = "raspberrypi,model-zero", "brcm,bcm2835"; - -Raspberry Pi Zero W -Required root node properties: -compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; - -Generic BCM2835 board -Required root node properties: -compatible = "brcm,bcm2835"; -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel