Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4530472ybl; Tue, 20 Aug 2019 13:29:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTFqEGlfCenfFkgjIbdX+0vN9yuokO/+g4OdluMruuUaITG1OvkPCAiHVY5dlMj1n5MM6v X-Received: by 2002:a63:2a08:: with SMTP id q8mr26042678pgq.415.1566332942850; Tue, 20 Aug 2019 13:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566332942; cv=none; d=google.com; s=arc-20160816; b=E7jeNAcD7Lc23Odx0MnxNi7fvlObXRwM0HHNWZcEmaLuM+iEIMTj0/AiGaHplRnZgz 06/F5wEDngHi8a32SzMvMleXgyEMLGHlgHbRXkMwE5RE7sdpE4QdrxHKG85lMHpZC8tK CiZNJ0H7W40fjGsVVAXRJ/fJG3OT96Ceqy3OA8abMlp7JBcDwEl7Wh/aJ7hfcziCyP7F rBVktRzKAlEo6+BdZOm27NPMhIh1d1OdscSiK4tT4hAEyHz9KpYTGd0Jv2w2CpporavS 0dDO/kLHGxDxu45/UqBMQByeI7SUCt6wG9ZOKAaoJE/vUMahMz1aUVJvEeo5s2ujbE9Y RHoA== 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=NyJPUBDpQ7quNsNooxiWLQ5U5jFyessmFjOTfTAwOxA=; b=TXS9SL0SkbdfnFLeWPyxoIsbOTTuWcvUaw7wNdt+FfZ7blpblorDJ4i4zr9a6/fAfm 83okcl4+alYGwVaKFw+dYjxStNwP7Qecu/OU8maKiHgdCkPMLwtqfMZKuNAgN4OMPqCm CYuKGb/LpTiEVY3YzhCJVib5Z+VlKBs4WfLDQadvcJy8Sb12GyaZwrzXg1OOyIws+xqj iarrVrEBGFoeQXSUlMs5e4uMGwNBl+6yqkcTAkx2ytdt/kKgTgFc4C2uKBnLnwV0riGL YSYfZyJgRUKGOvszYfpT4sbxMaRfMySsVBxXDW/Dvrnp4KAIUKU7h0NcKM2XgNWIFL6C KIlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P+XAYW3N; 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 r17si12767870pgr.277.2019.08.20.13.28.46; Tue, 20 Aug 2019 13:29:02 -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; dkim=pass header.i=@kernel.org header.s=default header.b=P+XAYW3N; 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 S1730704AbfHTU1x (ORCPT + 99 others); Tue, 20 Aug 2019 16:27:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:34128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727358AbfHTU1w (ORCPT ); Tue, 20 Aug 2019 16:27:52 -0400 Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (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 416CE20656; Tue, 20 Aug 2019 20:27:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566332871; bh=qJwFcNlR0CORyxzVUsDm0Ci04TIVsVpNhIrFLVzEDcM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=P+XAYW3Ntbk5srVJo06mwylxmGXmWveNUNPtEHiFu52vNanqZ2IcVzzhCn4Cx653m n/A5u9trXaP1jitd/8BCrObxjTIVjHF41lKkbBl0ynNccFx01gc3ff8Q4NMu402KJM u2Toi0UAyI6qHsK/gISdKkjtxnTsYs9mpH+aB5I8= Received: by mail-qt1-f174.google.com with SMTP id v38so295074qtb.0; Tue, 20 Aug 2019 13:27:51 -0700 (PDT) X-Gm-Message-State: APjAAAWFKySHV1cwGnxbil2K55vrd89wHGUsL6LB2Q7fhrJfNaw2SQ7G ct90yd9VeQFAIEpRWM7CS0rGOlP7wQbgIzK0Nw== X-Received: by 2002:ac8:44c4:: with SMTP id b4mr27733762qto.224.1566332870459; Tue, 20 Aug 2019 13:27:50 -0700 (PDT) MIME-Version: 1.0 References: <1566315318-30320-1-git-send-email-krzk@kernel.org> <1566315318-30320-3-git-send-email-krzk@kernel.org> <20190820202142.GA15866@kozik-lap> In-Reply-To: <20190820202142.GA15866@kozik-lap> From: Rob Herring Date: Tue, 20 Aug 2019 15:27:39 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 3/4] dt-bindings: arm: fsl: Add Kontron i.MX6UL N6310 compatibles To: Krzysztof Kozlowski Cc: Schrempf Frieder , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "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 Tue, Aug 20, 2019 at 3:21 PM Krzysztof Kozlowski wrote: > > On Tue, Aug 20, 2019 at 03:04:57PM -0500, Rob Herring wrote: > > On Tue, Aug 20, 2019 at 1:36 PM Krzysztof Kozlowski wrote: > > > > > > On Tue, 20 Aug 2019 at 18:59, Rob Herring wrote: > > > > > > > > On Tue, Aug 20, 2019 at 10:35 AM Krzysztof Kozlowski wrote: > > > > > > > > > > Add the compatibles for Kontron i.MX6UL N6310 SoM and boards. > > > > > > > > > > Signed-off-by: Krzysztof Kozlowski > > > > > > > > > > --- > > > > > > > > > > Changes since v5: > > > > > New patch > > > > > --- > > > > > Documentation/devicetree/bindings/arm/fsl.yaml | 3 +++ > > > > > 1 file changed, 3 insertions(+) > > > > > > > > > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > > > > > index 7294ac36f4c0..d07b3c06d7cf 100644 > > > > > --- a/Documentation/devicetree/bindings/arm/fsl.yaml > > > > > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > > > > > @@ -161,6 +161,9 @@ properties: > > > > > items: > > > > > - enum: > > > > > - fsl,imx6ul-14x14-evk # i.MX6 UltraLite 14x14 EVK Board > > > > > + - kontron,imx6ul-n6310-som # Kontron N6310 SOM > > > > > + - kontron,imx6ul-n6310-s # Kontron N6310 S Board > > > > > + - kontron,imx6ul-n6310-s-43 # Kontron N6310 S 43 Board > > > > > > > > This doesn't match what is in your dts files. Run 'make dtbs_check' and see. > > > > > > You mean the name does not match? I thought that '#' is a comment in YAML... > > > > No, the number of compatible strings is the problem. > > I see. If I understand the schema correctly, this should look like: Looks correct, but a couple of comments. > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > index 7294ac36f4c0..eb263d1ccf13 100644 > --- a/Documentation/devicetree/bindings/arm/fsl.yaml > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > @@ -161,6 +161,22 @@ properties: > items: > - enum: > - fsl,imx6ul-14x14-evk # i.MX6 UltraLite 14x14 EVK Board > + - kontron,imx6ul-n6310-som # Kontron N6310 SOM Is the SOM ever used alone? If not, then no point in listing this here. > + - const: fsl,imx6ul > + > + - description: Kontron N6310 S Board > + items: > + - enum: > + - kontron,imx6ul-n6310-s This could be a 'const' instead. It depends if you think there will ever be more than one entry. > + - const: kontron,imx6ul-n6310-som > + - const: fsl,imx6ul > + > + - description: Kontron N6310 S 43 Board > + items: > + - enum: > + - kontron,imx6ul-n6310-s-43 > + - const: kontron,imx6ul-n6310-s > + - const: kontron,imx6ul-n6310-som > - const: fsl,imx6ul > > - description: i.MX6ULL based Boards > > > It passes the dtbs_check. Is it correct? > > Best regards, > Krzysztof >