Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp752017imm; Fri, 5 Oct 2018 11:07:49 -0700 (PDT) X-Google-Smtp-Source: ACcGV60FCmpXOkmHgqJwMrVDbUHRCJrAlzpZ24QlqoYPuai8qiUipotmgC/DFmHdVqikNCDLXMxC X-Received: by 2002:a62:475c:: with SMTP id u89-v6mr1141822pfa.212.1538762869064; Fri, 05 Oct 2018 11:07:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538762869; cv=none; d=google.com; s=arc-20160816; b=p6V3IkSs7RtjyPnsZuDbMoUdZA+Qr+YZu2jmdNBcjAH8/ChcMdhYKl21F8yz8sI746 1v708FQiNlP3Jw6b6UkEDFSmACH11VBf41ovLrpGYb5qGZJK6g4PFepFHrDFx7sIsjcl 9Swl3R9VgVTSsSOeFi2QU7z8MSGsMKBym8GVmI5OrR3FOQOoZeJqsAcUYHF7SiJtMTkr s+BYp5i656JQYKOdi/Weh72FRT0b3XQlNegymSYwptVLzzeRXCQgTryMthNN6JVBN3VO p7WAXdAQANd8lcqfhNJhnZnyfHfL4TFZFnbKUkQDi7p3CfwK1w2zlWC2sqxrUJpH9wuw bmSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vIkOgxBJBRZ5HfDklCCk+O7Wjc0kzxNX4CEQ5/qVhYM=; b=f52+mLPdNoCtXdxUxMjfW25MnBFtUQD87iBdPZPB/eFZD0hW2u49cqXLerkJxztKzR mgcYCuzRUbD/hPXUIpL6GVPJciqYe0G/sd7hIvvWTap6f+kOD6/SyoC30tPlDOFmz/Lk I3erEdF4D6pcwiMrqjA9CfY5VOT7atNWIvMVxowT93GGt+gIKmQKsZSGI64bIEKXQqpV YYGd7jr92aF7UEeeDrg7dYobZewK0z/FTomFQansZBC2CHOdHQ+FQr2RtcZIjTeYJ9L1 QVel8NW6ihuO2dRb8H8djR4hCQvLEESVTO9ECFh1/7xxzXGoKYLFSmAJ5Nu0/44SHcSo Jhdg== 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 16-v6si11407576pfc.21.2018.10.05.11.07.33; Fri, 05 Oct 2018 11:07:49 -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 S1728314AbeJFBHR (ORCPT + 99 others); Fri, 5 Oct 2018 21:07:17 -0400 Received: from mail.bootlin.com ([62.4.15.54]:57480 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727941AbeJFBHR (ORCPT ); Fri, 5 Oct 2018 21:07:17 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id D3BD120731; Fri, 5 Oct 2018 20:07:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [88.191.26.124]) by mail.bootlin.com (Postfix) with ESMTPSA id A05F820719; Fri, 5 Oct 2018 20:07:24 +0200 (CEST) Date: Fri, 5 Oct 2018 20:07:25 +0200 From: Alexandre Belloni To: Rob Herring Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, 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 , Nicolas Ferre Subject: Re: [PATCH 19/36] dt-bindings: arm: Convert Atmel board/soc bindings to json-schema Message-ID: <20181005180725.GH5626@piout.net> References: <20181005165848.3474-1-robh@kernel.org> <20181005165848.3474-20-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181005165848.3474-20-robh@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On 05/10/2018 11:58:31-0500, Rob Herring wrote: > diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Documentation/devicetree/bindings/arm/atmel-at91.yaml > new file mode 100644 > index 000000000000..f788315b94fa > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/atmel-at91.yaml > @@ -0,0 +1,132 @@ > +# SPDX-License-Identifier: None > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/bindings/arm/atmel-at91.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atmel AT91 device tree bindings. > + > +maintainers: > + - Alexandre Belloni > + - Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe has not been active for years, I'd mention Ludovic instead. > +description: | > + Boards with a SoC of the Atmel AT91 or SMART family shall have the following > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + - items: > + - const: atmel,at91rm9200 > + - items: > + - enum: > + - olimex,sam9-l9260 > + - enum: > + - atmel,at91sam9260 > + - atmel,at91sam9261 > + - atmel,at91sam9263 > + - atmel,at91sam9g20 > + - atmel,at91sam9g45 > + - atmel,at91sam9n12 > + - atmel,at91sam9rl > + - atmel,at91sam9xe > + - const: atmel,at91sam9 > + > + - items: > + - enum: > + - atmel,at91sam9g15 > + - atmel,at91sam9g25 > + - atmel,at91sam9g35 > + - atmel,at91sam9x25 > + - atmel,at91sam9x35 > + - const: atmel,at91sam9x5 > + - const: atmel,at91sam9 > + > + - items: > + - const: atmel,sama5d27 > + - const: atmel,sama5d2 > + - const: atmel,sama5 > + > + - description: Nattis v2 board with Natte v2 power board > + items: > + - const: axentia,nattis-2 > + - const: axentia,natte-2 > + - const: axentia,linea Shouldn't we have the board specific compatibles in a separate file to avoid mixing everything with the SoC compatibles? -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com