Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp414659ybl; Tue, 7 Jan 2020 08:18:52 -0800 (PST) X-Google-Smtp-Source: APXvYqza8Mf4p6DBCeb7cKfuRzdvjEyo5xWvlUwkcldNERtjNh+NwBAcI0bcDqY6XnRWkmqvQBX2 X-Received: by 2002:a9d:6f8c:: with SMTP id h12mr527091otq.185.1578413932577; Tue, 07 Jan 2020 08:18:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578413932; cv=none; d=google.com; s=arc-20160816; b=0wIsjZTHdefHNozABBjm1l/VS5g+akYDMpDmlzpHfcggc2lzYiKOkWxiwUOjIXMFBL GXIwSulcmPCAK/OTwKDXOcorMn3n1LTUF9Jca2fC27xZMQ7SZUQy2zjaLu/nNhQCRrxP Z6vPBJovrkMjDvouZ9JC2tHagE8JZ2mG3Sm/GIlZ5YQEkMNqPBFfxyG3Vu/7mdFVBIt+ PWetEhwPSJmEdO4TBJMmx2qdt8+fEckvWUGgd0pH2u4N2TYRLGS4dDNb14gD0KVvnx34 2qsaZLfzoYaEcjnFCz9TAPG3vUVaQMFZmrGxKj1assi7kv4urS7m4uclxWXh0trrEFQJ ReAA== 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:dkim-signature; bh=CBLkjn+5UWLJrDOfESpYOzJrxBfIAkQVsxB21Mxl2hI=; b=y6XOpZGm3QOskomW2MEqA5mmmOM/7EBQTG7a5JnX3G9OkQHXslyZlTRqKrjH+8fHyU 2Cwztqwwo1pZ6/OqbNzAqeLm8NmAVfg40JPur/47711EUy1ASfVA/VDWUs7C7z26EbPM 9Uu1gMci38/IXnuLGOLTAflBbD0xtq002tDTaRyQuzwXDCbq+osG0Omvl1gG6Sf4zpey aQcrDeDl7HNBjP44BQAQY1f6pSAY7pVU2xRabRa+y+MiFkZ/06aVDFvEDqgdlI98xlkH EzOhgNP6SYEs93z532wUPDSctF2DANaDmyKD38Cah2tRO/yHlserPrU/PdZwfoNNoj71 eghQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MtXDAItd; 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=pass (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 o4si83895otp.200.2020.01.07.08.18.38; Tue, 07 Jan 2020 08:18:52 -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; dkim=pass header.i=@kernel.org header.s=default header.b=MtXDAItd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728322AbgAGQRJ (ORCPT + 99 others); Tue, 7 Jan 2020 11:17:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:51238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728020AbgAGQRJ (ORCPT ); Tue, 7 Jan 2020 11:17:09 -0500 Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E49AE2087F; Tue, 7 Jan 2020 16:17:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578413828; bh=TcK/7aE4Lb5IQGTN4l832m41faNVf2PC5yZ/92fqI2A=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MtXDAItdlR0w7BtO9nkPqbz8JjRbHTxkmI6J3QHqdH99i8TS81f1ggDuImhedCVwQ cocox4EgDVcMOxxMWJ+aP83KffqYb2WhqpOFDst2PKEBTpojXcr/YtO8kSHpIx8VxK DIq8qyPOa8nqN9mHhbrwf7AeFOStpWTYU80Tkrms= Received: by mail-qt1-f180.google.com with SMTP id w47so232430qtk.4; Tue, 07 Jan 2020 08:17:07 -0800 (PST) X-Gm-Message-State: APjAAAViIElWJOAKvYIkupkmQfdQtnU3qzWguGry4R154Uwdr17BDuYx PJOKXg4BBxQuBOg4Vvm2KUFNsnBys5MaJzTNzA== X-Received: by 2002:ac8:1415:: with SMTP id k21mr65903534qtj.300.1578413827079; Tue, 07 Jan 2020 08:17:07 -0800 (PST) MIME-Version: 1.0 References: <20191230231953.29646-1-rjones@gateworks.com> <20191230231953.29646-2-rjones@gateworks.com> <20200103223225.GB654@bogus> In-Reply-To: From: Rob Herring Date: Tue, 7 Jan 2020 10:16:52 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 1/5] dt-bindings: arm: fsl: Add Gateworks Ventana i.MX6DL/Q compatibles To: Bobby Jones Cc: Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" 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 Mon, Jan 6, 2020 at 3:25 PM Bobby Jones wrote: > > On Fri, Jan 3, 2020 at 2:32 PM Rob Herring wrote: > > > > On Mon, Dec 30, 2019 at 03:19:49PM -0800, Robert Jones wrote: > > > Add the compatible enum entries for Gateworks Ventana boards. > > > > > > Signed-off-by: Robert Jones > > > --- > > > Documentation/devicetree/bindings/arm/fsl.yaml | 31 ++++++++++++++++++++++++++ > > > 1 file changed, 31 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > > > index f79683a..8ed4c85 100644 > > > --- a/Documentation/devicetree/bindings/arm/fsl.yaml > > > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > > > @@ -126,6 +126,22 @@ properties: > > > - toradex,apalis_imx6q-ixora # Apalis iMX6 Module on Ixora > > > - toradex,apalis_imx6q-ixora-v1.1 # Apalis iMX6 Module on Ixora V1.1 > > > - variscite,dt6customboard > > > + - gw,ventana # Gateworks i.MX6DL or i.MX6Q Ventana > > > + - gw,imx6q-gw51xx > > > > This doesn't match what you have in dts files. Please check with: > > > > make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/arm/fsl.yaml > > > > You'll need a separate entry with 3 compatibles and 'gw,ventana' or drop > > it. > > Hi Rob, > > Sorry, I'm still getting used to the whole schema format and a bit > confused. Can you be more specific in how it doesn't match? I looked > at the imx6q-gw51xx.dts file where I got the entry from and it has the > following line: > > compatible = "gw,imx6q-gw51xx", "gw,ventana", "fsl,imx6q"; As written, the schema would not allow this, but would allow one of these: "gw,imx6q-gw51xx", "fsl,imx6q" "gw,ventana", "fsl,imx6q" The 'items' schema allows for 2 entries. So if you want/need to support 3 entries for compatible, you need a new 'items' schema with 3 entries: items: - enum: - gw,imx6q-gw51xx - ... all the other boards listed below - const: gw,ventana - enum: - fsl,imx6dl - fsl,imx6q > Obviously I'm only submitting the gw59xx board device trees but a > previous version of this submission was asked to add all of the > compatible strings for the Gateworks boards. Are you asking me to only > post the gw59xx lines? That's an orthogonal issue which I'll leave to the i.MX maintainers. > > > > > + - gw,imx6q-gw52xx > > > + - gw,imx6q-gw53xx > > > + - gw,imx6q-gw5400-a > > > + - gw,imx6q-gw54xx > > > + - gw,imx6q-gw551x > > > + - gw,imx6q-gw552x > > > + - gw,imx6q-gw553x > > > + - gw,imx6q-gw560x > > > + - gw,imx6q-gw5903 > > > + - gw,imx6q-gw5904 > > > + - gw,imx6q-gw5907 > > > + - gw,imx6q-gw5910 > > > + - gw,imx6q-gw5912 > > > + - gw,imx6q-gw5913 > > > - const: fsl,imx6q > > > > > > - description: i.MX6QP based Boards > > > @@ -152,6 +168,21 @@ properties: > > > - ysoft,imx6dl-yapp4-draco # i.MX6 DualLite Y Soft IOTA Draco board > > > - ysoft,imx6dl-yapp4-hydra # i.MX6 DualLite Y Soft IOTA Hydra board > > > - ysoft,imx6dl-yapp4-ursa # i.MX6 Solo Y Soft IOTA Ursa board > > > + - gw,ventana # Gateworks i.MX6DL or i.MX6Q Ventana > > > + - gw,imx6dl-gw51xx > > > + - gw,imx6dl-gw52xx > > > + - gw,imx6dl-gw53xx > > > + - gw,imx6dl-gw54xx > > > + - gw,imx6dl-gw551x > > > + - gw,imx6dl-gw552x > > > + - gw,imx6dl-gw553x > > > + - gw,imx6dl-gw560x > > > + - gw,imx6dl-gw5903 > > > + - gw,imx6dl-gw5904 > > > + - gw,imx6dl-gw5907 > > > + - gw,imx6dl-gw5910 > > > + - gw,imx6dl-gw5912 > > > + - gw,imx6dl-gw5913 > > > - const: fsl,imx6dl > > > > > > - description: i.MX6SL based Boards > > > -- > > > 2.9.2 > > >