Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3279195ybp; Sun, 6 Oct 2019 08:30:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyaDVGDrgXs6VPuhMUbdc4R+/QIUsEIAFVfopSTqHnUORdOr4aGKH8NLqb7t5wHgfy0KlS5 X-Received: by 2002:a50:ac0a:: with SMTP id v10mr24916365edc.83.1570375801821; Sun, 06 Oct 2019 08:30:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570375801; cv=none; d=google.com; s=arc-20160816; b=RgGK/sMIeQdvrrAr9K68wBVGpDmuNLeS1MXsVP2Gdozj5Kx9IRgQp1rou1MuLRrimf kt00vr4OFkxdQY6PfsZR+oZMO9lWAXbkzGtPX20HfaMP6SgGUvQUuUfpu+YfbrdipYdV i/hR59y4Y2k3R7Cahfzpfzwq9HyetSWciBilXIJLrgYDuvqYwLLOfMfcMz0p5bl/bG1y BfcvXwIGIQ3Az8IBWaBIwJ/ClpttKsYRMLW8eJhnjU2+YgpvPvH3U6AE8wb9fvaL9h/h dgQjUGAxUOYvBiI3Fh7I51FjUiim/4rS5ch9KKnchjdA4Ox6cOMhtClNMUEx0UMToOUh f+hw== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=9RT+ILot/x9uEDkFkE6bk2VEbT74q68rdxQ283mbrXA=; b=EY6FzRefBeU4k4BqCrqp+usHmTyuW5dXiYNHCUKWMurKnM1d5FGqAxaOi14+Ol3mDp uHR/UOAb2niDbrBglBChSfzxG/bS53gWKM2JTP86T08ELuVgdeFc0t42f6Jh3ohPJV4Z L4dQfBlVJKU5/SV892BvX/e2OIwcXEPuITQgtABfblxA0uRnBgMaqnP7+usikFj4fGTn hGmLC6yMu90Kbx8eme2UokMqoiYTSQmRHD6UcNC0C58M+629CpzrakSKhi0YpHvFcOYy IzA7ao3wdqiVwsVpPmPBl2jAIj6yu8d03w0bSxouqSlBa9/hmlKpnVnSD/oRojiMd7y/ cnOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=V5Apv0Zn; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si4484136eju.406.2019.10.06.08.29.22; Sun, 06 Oct 2019 08:30:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=V5Apv0Zn; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726490AbfJFP3Q (ORCPT + 99 others); Sun, 6 Oct 2019 11:29:16 -0400 Received: from mout.gmx.net ([212.227.17.22]:59103 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726289AbfJFP3P (ORCPT ); Sun, 6 Oct 2019 11:29:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570375739; bh=+Ntvzuy36h2lYmk3C1RzynnKi0efDfFW+hXy3gSJNSU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=V5Apv0ZnVeB+Z0U62pHHjUH0/QBc8NjkVjwqXAA3oP7rk/6xcZSFgNqrj1vedMT4x tjuGaUuVxED1ELO8a3X5eg3rX5Q/TtmLPrCqTKAYNEDrV6hfbFTdJHW4D5ZPo7Ees1 U+M0SEr6uN+Bj/JlGEGvKh8pKbPUKvzs0g6d67+0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([37.4.249.116]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MqJqN-1hmFsf41aN-00nSlR; Sun, 06 Oct 2019 17:28:59 +0200 From: Stefan Wahren To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden Cc: Catalin Marinas , Will Deacon , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-bluetooth@vger.kernel.org, Stefan Wahren Subject: [PATCH V4 05/10] dt-bindings: arm: Convert BCM2835 board/soc bindings to json-schema Date: Sun, 6 Oct 2019 17:28:23 +0200 Message-Id: <1570375708-26965-6-git-send-email-wahrenst@gmx.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> References: <1570375708-26965-1-git-send-email-wahrenst@gmx.net> X-Provags-ID: V03:K1:YtuTyqhExdNFIyIWtVu7QQoaNm/leC/Kp3ybCICd0REnOs2Fdq4 Sth3OQYqsSySzS0lhEiuIDbiCS2hm4Avy2AqfyTeIB4GZdS5AaHD9LLfwnyKbMfwUjjkQ5n OsTShr9FlhbLyzRPMAYvCX/ZqT8n7HJeC6nd3wcugImFENoko90NBzTN1hEE12o4uBfS3vV jaYO+FG4aWx3ye7AM/vKQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:YzL94UnfrVs=:9XH3OE9kOQvnndYTT1NWxV 9PVv6VqPNc7cbAvi/qXtKMIUQ5G6X9+L5aNY51myG6b20osLy66zaN0z5j67qZZgfhYZGSp+A rDaVBzqSsYSn5coGfEuWq11GJqXnsGneDAlUaKBQj4k5UxAV8/jGYStExPAXdr3M225lIBU45 VPCJnSvOLPhyD5+a9YLuJBLoUGSxDG4VgmlF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pmf6iYtXytcfADqFg== Content-Transfer-Encoding: quoted-printable Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.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 Reviewed-by: Rob Herring =2D-- .../devicetree/bindings/arm/bcm/bcm2835.yaml | 48 ++++++++++++++++ .../devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 67 -----------------= ----- 2 files changed, 48 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/Docu= mentation/devicetree/bindings/arm/bcm/bcm2835.yaml new file mode 100644 index 0000000..67bf9e2 =2D-- /dev/null +++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml @@ -0,0 +1,48 @@ +# 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 + - const: brcm,bcm2836 + + - 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 + - const: brcm,bcm2837 + +... 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 =2D-- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt +++ /dev/null @@ -1,67 +0,0 @@ -Broadcom BCM2835 device tree bindings =2D------------------------------------------- - -Raspberry Pi Model A -Required root node properties: -compatible =3D "raspberrypi,model-a", "brcm,bcm2835"; - -Raspberry Pi Model A+ -Required root node properties: -compatible =3D "raspberrypi,model-a-plus", "brcm,bcm2835"; - -Raspberry Pi Model B -Required root node properties: -compatible =3D "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 =3D "raspberrypi,model-b-i2c0", "brcm,bcm2835"; - -Raspberry Pi Model B rev2 -Required root node properties: -compatible =3D "raspberrypi,model-b-rev2", "brcm,bcm2835"; - -Raspberry Pi Model B+ -Required root node properties: -compatible =3D "raspberrypi,model-b-plus", "brcm,bcm2835"; - -Raspberry Pi 2 Model B -Required root node properties: -compatible =3D "raspberrypi,2-model-b", "brcm,bcm2836"; - -Raspberry Pi 3 Model A+ -Required root node properties: -compatible =3D "raspberrypi,3-model-a-plus", "brcm,bcm2837"; - -Raspberry Pi 3 Model B -Required root node properties: -compatible =3D "raspberrypi,3-model-b", "brcm,bcm2837"; - -Raspberry Pi 3 Model B+ -Required root node properties: -compatible =3D "raspberrypi,3-model-b-plus", "brcm,bcm2837"; - -Raspberry Pi Compute Module -Required root node properties: -compatible =3D "raspberrypi,compute-module", "brcm,bcm2835"; - -Raspberry Pi Compute Module 3 -Required root node properties: -compatible =3D "raspberrypi,3-compute-module", "brcm,bcm2837"; - -Raspberry Pi Compute Module 3 Lite -Required root node properties: -compatible =3D "raspberrypi,3-compute-module-lite", "brcm,bcm2837"; - -Raspberry Pi Zero -Required root node properties: -compatible =3D "raspberrypi,model-zero", "brcm,bcm2835"; - -Raspberry Pi Zero W -Required root node properties: -compatible =3D "raspberrypi,model-zero-w", "brcm,bcm2835"; - -Generic BCM2835 board -Required root node properties: -compatible =3D "brcm,bcm2835"; =2D- 2.7.4