Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5193853pxu; Tue, 22 Dec 2020 10:31:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCCVJNqGx3ff7b/nehze37YqmLiaWx+qkbeEoZbOTyAYuumzhZa/iVI16awA7kNlLV13hy X-Received: by 2002:a17:906:810:: with SMTP id e16mr15690854ejd.34.1608661886922; Tue, 22 Dec 2020 10:31:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608661886; cv=none; d=google.com; s=arc-20160816; b=zrhBdQybMMtc5ZA08xuWYQv/YDP6hKJSkL3EfLy0e2rP48cO843UAum3ENKv2ypWyB UEtz664nBwYpsLnvSOc8hb4dYMnfM0BXoWY6/J5VDL7Qb+7L+nRr6LWBwYHpnb3OZeyP 8ODmHCTPFwFCvfIMc7XS+ZUidRbCXcq1oRuSdubaNUCGBQEl063v3Sh/+SaTH7KFdOxR uw0HI2PwSIf2bNbZeQgCRWf1M0woOphoHVEdJJedVL9TvJC3bm0Daw456+o7yurpOf3Z RpN3nKLJUXgUCqLAQdTw6pz+BbLSDVHgYWo+W5mh/qYVr/F7XJDS1u0RqHwkYebdCTow aX7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=hESG9UKwjjD/S2wid9cDDihOcqi7xLn6ltJQh3ZQhIw=; b=Lu3u6QQusdm+AKZMhfqLJGr1XsvRqtHCa9C0owJ8NZI0zpQKLiLtZgcRzHWJb0y//C cdl4+lXSsG4u4YK7jTq/nn5J+8GoEN996/2QAPYWgT7E/Z6TIRXUkxWVotO2Yvz3bnQg ILNlGmiR0LDXqvQbwG9cfHJyL6tM4oaXyHefQGfsD4QJctB4cL3g4Jl30Q7ogkEz7CmY VgqVOtqrolhC4Ex86nJYU6MAnL2StOH9gdS0ToDBDB3STUzajI+1/q7yqRg9AQLGAYmM 8/4afd3ZBitCcU3VSJtAbJ3NJRhWosPB+6poS8oJbD0miV/+hd8ryNuutl0xctMkIQw+ 7/9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ao+v0fik; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v25si11026428ejx.201.2020.12.22.10.31.01; Tue, 22 Dec 2020 10:31:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Ao+v0fik; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726155AbgLVS3h (ORCPT + 99 others); Tue, 22 Dec 2020 13:29:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725961AbgLVS3g (ORCPT ); Tue, 22 Dec 2020 13:29:36 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59F2EC061793 for ; Tue, 22 Dec 2020 10:28:56 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id g20so19547541ejb.1 for ; Tue, 22 Dec 2020 10:28:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hESG9UKwjjD/S2wid9cDDihOcqi7xLn6ltJQh3ZQhIw=; b=Ao+v0fik8uwEpkyYsZtDsrfl2EVTaUXpPZ/9xymU/DDU+nYFvZPgJYUVmqVsSs77zf kKIDktED9PDTQ6wB4+SZ/Vg3YXM5xhqRVdXoeSCbP9XJHH5c6RawHiNO+xvvWq8c9Kgw 45zssytIlK2bL3CuBrbRcYiPdTwn9MeAcnjBc= 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=hESG9UKwjjD/S2wid9cDDihOcqi7xLn6ltJQh3ZQhIw=; b=f9YuG/t3FrlYqnmr1WDxayyzVQFizXzN3iy+hLTNGDlykDFuhx50G1HKtDU2/OwlUU xKEcu0diguy7l1xRFmZ2K64bWchhD3iWpaIrxBTmoFnGvFAmiYzUbOHnizU/Lku6XAJn 6o3W4uYbKO7ggHeMUxwb+Tm97oXzVH12R9hA5vzeTXRCKW2fjr+j+LGRys1xWEtda6mO hYQexlAfGr9lYh9AeG2fzmKYHd1epcrwDLwquy6ldjnxFFEP9NbvwZ245uDSRvIzbYsu Zj9hEnGt8kd9t/f+plTWz959ii3LZmu8jVSb/3R/GPWpEUpQ/ltfLoDDJVyfmELK5vtT IbZg== X-Gm-Message-State: AOAM53054LJZvhhJtxc+O5+YdfrW/0Hynomokyh/0vQB/SwW3CSv84+F jtFjH5P3Qex/3cULPMV2xxPT/8OkPbB6GHncP4LVMA== X-Received: by 2002:a17:906:2707:: with SMTP id z7mr21173163ejc.418.1608661734951; Tue, 22 Dec 2020 10:28:54 -0800 (PST) MIME-Version: 1.0 References: <20201221113151.94515-1-jagan@amarulasolutions.com> <20201221113151.94515-3-jagan@amarulasolutions.com> <20201221134625.GB31176@kozik-lap> <20201221140501.GE31176@kozik-lap> <20201221144206.GA36114@kozik-lap> In-Reply-To: From: Jagan Teki Date: Tue, 22 Dec 2020 23:58:43 +0530 Message-ID: Subject: Re: [PATCH v2 2/6] dt-bindings: arm: fsl: Add Engicam i.Core MX8M Mini C.TOUCH 2.0 To: Krzysztof Kozlowski Cc: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , devicetree , linux-kernel , linux-arm-kernel , NXP Linux Team , linux-amarula , Catalin Marinas , Will Deacon Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 21, 2020 at 8:17 PM Jagan Teki wrote: > > On Mon, Dec 21, 2020 at 8:12 PM Krzysztof Kozlowski wrote: > > > > On Mon, Dec 21, 2020 at 08:09:47PM +0530, Jagan Teki wrote: > > > On Mon, Dec 21, 2020 at 7:35 PM Krzysztof Kozlowski wrote: > > > > > > > > On Mon, Dec 21, 2020 at 07:29:22PM +0530, Jagan Teki wrote: > > > > > On Mon, Dec 21, 2020 at 7:16 PM Krzysztof Kozlowski wrote: > > > > > > > > > > > > On Mon, Dec 21, 2020 at 05:01:47PM +0530, Jagan Teki wrote: > > > > > > > i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. > > > > > > > > > > > > > > C.TOUCH 2.0 is a general purpose carrier board with capacitive > > > > > > > touch interface support. > > > > > > > > > > > > > > i.Core MX8M Mini needs to mount on top of this Carrier board for > > > > > > > creating complete i.Core MX8M Mini C.TOUCH 2.0 board. > > > > > > > > > > > > > > Add bindings for it. > > > > > > > > > > > > > > Signed-off-by: Jagan Teki > > > > > > > --- > > > > > > > Changes for v2: > > > > > > > - updated commit message > > > > > > > > > > > > > > Documentation/devicetree/bindings/arm/fsl.yaml | 2 ++ > > > > > > > 1 file changed, 2 insertions(+) > > > > > > > > > > > > > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > > > > > > > index 67980dcef66d..e653e0a43016 100644 > > > > > > > --- a/Documentation/devicetree/bindings/arm/fsl.yaml > > > > > > > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > > > > > > > @@ -667,6 +667,8 @@ properties: > > > > > > > items: > > > > > > > - enum: > > > > > > > - beacon,imx8mm-beacon-kit # i.MX8MM Beacon Development Kit > > > > > > > + - engicam,icore-mx8mm # i.MX8MM Engicam i.Core MX8M Mini SOM > > > > > > > + - engicam,icore-mx8mm-ctouch2 # i.MX8MM Engicam i.Core MX8M Mini C.TOUCH 2.0 > > > > > > > > > > > > Please test your DTS against new schema with dtbs_check. This won't > > > > > > match. > > > > > > > > > > Sorry, not sure I understand clearly here. > > > > > > > > > > This the dts file ie used matched compatible. > > > > > compatible = "engicam,icore-mx8mm-ctouch2", "engicam,icore-mx8mm", > > > > > "fsl,imx8mm"; > > > > > > > > > > I did build the dtbs_check without showing any issues like, > > > > > > > > > > $ make ARCH=arm64 dtbs_check > > > > > ... > > > > > > > > > > From schema: /w/dt-schema/dt-schema/dtschema/schemas/property-units.yaml > > > > > DTC arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dtb > > > > > DTC arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2-of10.dtb > > > > > DTC arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dtb > > > > > .. > > > > > > > > > > Can you let me know what I missed here? > > > > > > > > You pasted here output of validating with property-units.yaml (or > > > > something else), not the schema which you changed. If you want to limit > > > > the tests, use DT_SCHEMA_FILES. > > > > > > > > I mentioned about exactly the same problem in yout previous v1 > > > > at patch #5. No changes here stil. > > > > > > Yes, I usually did that check before posting. Please check the build > > > log below and fsl.yaml binding is fine to build. > > > > > > # make dt_binding_check DT_SCHEMA_FILES=arm/fsl.yaml > > > > 1. Wrong path to schema file, > > 2. Bindings pass, they are not a problem. You were running dtbs_check, > > right? > > But kbuild is building the fsl.yaml I did verify with by adding some > wrong character in the file, it is showing build issues. > > Please check the clean log. > > # make mrproper > CLEAN Documentation/devicetree/bindings > CLEAN scripts/basic > CLEAN scripts/dtc > # make dt_binding_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/arm/fsl.yaml > HOSTCC scripts/basic/fixdep > HOSTCC scripts/dtc/dtc.o > HOSTCC scripts/dtc/flattree.o > HOSTCC scripts/dtc/fstree.o > HOSTCC scripts/dtc/data.o > HOSTCC scripts/dtc/livetree.o > HOSTCC scripts/dtc/treesource.o > HOSTCC scripts/dtc/srcpos.o > HOSTCC scripts/dtc/checks.o > HOSTCC scripts/dtc/util.o > LEX scripts/dtc/dtc-lexer.lex.c > YACC scripts/dtc/dtc-parser.tab.[ch] > HOSTCC scripts/dtc/dtc-lexer.lex.o > HOSTCC scripts/dtc/dtc-parser.tab.o > HOSTCC scripts/dtc/yamltree.o > HOSTLD scripts/dtc/dtc > CHKDT Documentation/devicetree/bindings/processed-schema-examples.json > /w/linux/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml: > 'additionalProperties' is a required property > /w/linux/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml: > 'additionalProperties' is a required property > /w/linux/Documentation/devicetree/bindings/media/coda.yaml: > 'additionalProperties' is a required property > /w/linux/Documentation/devicetree/bindings/serial/litex,liteuart.yaml: > 'additionalProperties' is a required property > SCHEMA Documentation/devicetree/bindings/processed-schema-examples.json > /w/linux/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml: > ignoring, error in schema: > warning: no schema found in file: > ./Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml > /w/linux/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml: > ignoring, error in schema: > warning: no schema found in file: > ./Documentation/devicetree/bindings/soc/mediatek/devapc.yaml > /w/linux/Documentation/devicetree/bindings/media/coda.yaml: ignoring, > error in schema: > warning: no schema found in file: > ./Documentation/devicetree/bindings/media/coda.yaml > /w/linux/Documentation/devicetree/bindings/serial/litex,liteuart.yaml: > ignoring, error in schema: > warning: no schema found in file: > ./Documentation/devicetree/bindings/serial/litex,liteuart.yaml > DTEX Documentation/devicetree/bindings/arm/fsl.example.dts > DTC Documentation/devicetree/bindings/arm/fsl.example.dt.yaml > CHECK Documentation/devicetree/bindings/arm/fsl.example.dt.yaml Any further comments? I'm planning to send v3. Jagan.