Received: by 2002:ac0:a874:0:0:0:0:0 with SMTP id c49csp362378ima; Fri, 15 Mar 2019 04:38:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLZK4DcIjALmE1CG//tZrNA87IT63dTkuHDniLxTBqiC4OnXgkdVN8y2f9Jh8AILFxIW3P X-Received: by 2002:a63:e101:: with SMTP id z1mr3029020pgh.190.1552649926315; Fri, 15 Mar 2019 04:38:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552649926; cv=none; d=google.com; s=arc-20160816; b=t9QLUsO5I9/hle1IgRQTwaEHteXr500GyJph3cLyww4CH8rhyQVueExCUQFWxuPvHJ Qvg5uZ6UwwcbZsi6FFvd+Gf2vMPpEKtXHsYzkJdpGZ0t3SC18I3b43EKl4SmL0S2Hswj MKz4SO3Bex84ApgrxqDAJr93PnpOKtBIXmzFchjs/mQPpRDG1o2qsWpegdM3HmJqLzRM UJihVri0VChbj4GZgD0LJ2mA0VVAenWWOGRoZkGvBe7+Wz+kGAMdPC9LApXjXjO5+Dkn ITi8Ry8+0eDcucCp3yDjv5ufLQc3X7dPl/iFzVq2HdrXCbMVVxco+3qVbT//FwWPyUAM v6bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=SJz01f1N1PDrlfNq3foi7tphh/syM5Z8B6xx+8J23qE=; b=BsF8j9n7ymuWsjD7SCOcqLdCtObbacdCPaQoXkIvmpLrOjKXDjTZkFYKIkowb59DHS tru2IfDRA+WiRBT4bEmgJ+tPIiXzmsxJ9E9djEen1Ez3a56pr0supHKLiVpyA66uFXep UWYsJD6GWvcvowISJCGIK0IO1B7BLO/DEqIpvyv6yZWCK5tbtq4JqDF4f47C2QJcEQHV 2gLa855IFrIZmtUptziLw0QoHhx/SAJudDikymylrwzlY9Y9hFcfZ2GlRFrhJ6Fh17O5 Itmjn8T8F3Pvqs4ztaRQ/dc0AzpRtQ2h7cu8nENar3Jz+iRtB7xyDprpzbnXWxxioAHy vTVg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si1728099pfb.193.2019.03.15.04.38.30; Fri, 15 Mar 2019 04:38:46 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728143AbfCOLhy (ORCPT + 99 others); Fri, 15 Mar 2019 07:37:54 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:36523 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727390AbfCOLhy (ORCPT ); Fri, 15 Mar 2019 07:37:54 -0400 Received: by mail-ed1-f67.google.com with SMTP id e4so7339355edi.3; Fri, 15 Mar 2019 04:37:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SJz01f1N1PDrlfNq3foi7tphh/syM5Z8B6xx+8J23qE=; b=cACaL3I4GJktiGLH+njrQm1wNDew3ztv2b/bT7nmADJD7I6U+30xErnhSMYG39fF4w nOZZ9YKdAJGthcKeA2MRa+w/RWC4p+8cMhVoVE8KykRSl6KT1EAQVRueT2qgKzc8AtRN wjihamEhh8pb+yzSBxGfq0VjxJPS1ODLNflXmZQqStWHqhFh4eVfk4aZwQAEr9A22D8E y7/KgexdL6rXPXID0ONCUifToLv6sPMS/13IJxX6Aymj6CEqPVmN2vnUIfG8HaoPworN L/mpm1S4PKMuNDKPnfPvjp0HJWPocA6DTHv23jHmgce5PSbbv4RISwgFctLhcBTAAGuv 6grg== X-Gm-Message-State: APjAAAVjXfURS/RQVbfO0uXfy+vmmXp3n/pB5RUP+Ckm6cblv4PbRh95 xqVZQRk/Ph1gSl4l6yvMKOiZ9Eap0iI= X-Received: by 2002:a50:95f2:: with SMTP id x47mr2487086eda.270.1552649872231; Fri, 15 Mar 2019 04:37:52 -0700 (PDT) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com. [209.85.221.52]) by smtp.gmail.com with ESMTPSA id s9sm561724edb.94.2019.03.15.04.37.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Mar 2019 04:37:51 -0700 (PDT) Received: by mail-wr1-f52.google.com with SMTP id p8so9226530wrq.6; Fri, 15 Mar 2019 04:37:51 -0700 (PDT) X-Received: by 2002:a5d:4741:: with SMTP id o1mr2189720wrs.188.1552649871360; Fri, 15 Mar 2019 04:37:51 -0700 (PDT) MIME-Version: 1.0 References: <20190315093651.24978-1-maxime.ripard@bootlin.com> In-Reply-To: <20190315093651.24978-1-maxime.ripard@bootlin.com> From: Chen-Yu Tsai Date: Fri, 15 Mar 2019 19:37:41 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: Add YAML description for Allwinner boards To: Maxime Ripard Cc: Rob Herring , Frank Rowand , devicetree , linux-kernel , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 15, 2019 at 5:37 PM Maxime Ripard wrote: > > We've never had a board compatibles documentation for the Allwinner boards > so far. > > Let's create a json-schema for them. > > Signed-off-by: Maxime Ripard > --- > .../devicetree/bindings/arm/sunxi.yaml | 792 ++++++++++++++++++ > 1 file changed, 792 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/sunxi.yaml > > diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml > new file mode 100644 > index 000000000000..b34d9c5b7fd8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml > @@ -0,0 +1,792 @@ > +# SPDX-License-Identifier: (GPL-2.0+ OR X11) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/sunxi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Allwinner platforms device tree bindings > + > +maintainers: > + - Chen-Yu Tsai > + - Maxime Ripard > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + [...] > + - description: Sinovoip BananaPi M1 Plus > + items: > + - const: sinovoip,bpi-m1-plus > + - const: allwinner,sun7i-a20 > + > + - description: Sinovoip BananaPi M2 > + items: > + - const: sinovoip,bpi-m2 > + - const: allwinner,sun6i-a31s > + > + - description: Sinovoip BananaPi M2 Berry > + items: > + - const: sinovoip,bpi-m2-berry > + - const: allwinner,sun8i-r40 > + > + - description: Sinovoip BananaPi M2 Plus > + items: > + - const: sinovoip,bpi-m2-plus > + - const: allwinner,sun8i-h3 > + > + - description: Sinovoip BananaPi M2 Plus > + items: > + - const: sinovoip,bpi-m2-plus > + - const: allwinner,sun50i-h5 > + > + - description: Sinovoip BananaPi M2 Plus v1.2 > + items: > + - const: bananapi,bpi-m2-plus-v1.2 > + - const: allwinner,sun8i-h3 > + > + - description: Sinovoip BananaPi M2 Plus v1.2 > + items: > + - const: bananapi,bpi-m2-plus-v1.2 > + - const: allwinner,sun50i-h5 > + > + - description: Sinovoip BananaPi M2 Magic > + items: > + - const: sinovoip,bananapi-m2m > + - const: allwinner,sun8i-a33 > + > + - description: Sinovoip BananaPi M2 Ultra > + items: > + - const: sinovoip,bpi-m2-ultra > + - const: allwinner,sun8i-r40 > + > + - description: Sinovoip BananaPi M2 Zero > + items: > + - const: sinovoip,bpi-m2-zero > + - const: allwinner,sun8i-h2-plus > + > + - description: Sinovoip BananaPi M3 > + items: > + - const: sinovoip,bpi-m3 > + - const: allwinner,sun8i-a83t > + > + - description: Sinovoip BananaPi M64 > + items: > + - const: sinovoip,bananapi-m64 > + - const: allwinner,sun50i-a64 Any chance we could rename and list them as just BananaPi xxx? When the BananaPi-R2 was mainlined, I asked the submitter to ask them whether the vendor was Sinovoip or Bananapi, and they (Bananapi team) said it was Bananapi. We managed to convert a few (the BPI-M2+), but most still carry the Sinovoip name. ChenYu