Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp862900pxb; Thu, 12 Nov 2020 19:56:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/LA2XztHvLnfNg0t08zxCzXYa+cerPqxrZjzyt+yq9WCpBs6sDobH2p78MLXrbBiwDEcD X-Received: by 2002:a17:906:580e:: with SMTP id m14mr136916ejq.237.1605239801539; Thu, 12 Nov 2020 19:56:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605239801; cv=none; d=google.com; s=arc-20160816; b=zxKmSiFuAYm11icTE3sJxcyuYXGvcOyFTdz1f9My1HGHAuZK+3D5DuE9oWXqI2Eqgf OrUeiOHrWj6Mg9rvSDmSsWUE+/wBXV98tZIwwUiCDuBZnW52y1T/t2aWOWT4tR4f5Ouy yZKPZKyG2Dx68JmLFFZv4WudMPla1MynpW2udvg26YyPOTUViIHuxYx8V4+yxJN0EnLT w41W4cMUaVYMNIy/TUP1uYXz/YgpRPnAdVLn/scoVxWBHNmpcQtIrFSzTqHY7gWlx4iw UXEzi5Zlgi5OEk9mC4jCNpIyPLB1pFvGMHxZpsi0IOeKo6ijKTnM4vSzgjHaY2i5tZgp 31Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=y9M0Fcn36/SC16+7wkHJ4+Z0grI9AV23OMNrrku0Fw8=; b=U1m/UJyVLrthjAu8Fic1QTJ+ISELGaDVZwSCv8dkWqpQQENrB2fG8cq3n9zhfKnwaC B4Hnnhdo5zwUE1TGjrjigyZnGvLzK4NEzFxXpMrxxpNpeIM96y/9XIeJv3GFNM1+gpjx jDpX8Md7NSJs91P/w/uUlzU7HmpGalFCjmD577i1cUtnegiJZprqC8tdZqxDCh55sx0X E8/BQst7M1ZFZIhnaT3qsAh4d4ddCQcLR6qcX7nLgE/a6+VpdJja2y1qaWIbWDuJ5/F6 saN+gsWw8fYkdGmXS4kfhcP0owE/yfljbeFzKjbnvEdnwK0C53tll/oTQgl6ccMQPe0s uDmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=GZRQqzdO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz23si4589462ejb.221.2020.11.12.19.56.18; Thu, 12 Nov 2020 19:56:41 -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=@nvidia.com header.s=n1 header.b=GZRQqzdO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726134AbgKMDyj (ORCPT + 99 others); Thu, 12 Nov 2020 22:54:39 -0500 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:15624 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbgKMDyi (ORCPT ); Thu, 12 Nov 2020 22:54:38 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Thu, 12 Nov 2020 19:54:32 -0800 Received: from [10.2.50.194] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 13 Nov 2020 03:54:33 +0000 Subject: Re: [PATCH v1 1/4] dt-bindings: ata: tegra: Convert binding documentation to YAML From: Sowjanya Komatineni To: Rob Herring CC: , , , , , , References: <1604628968-1501-1-git-send-email-skomatineni@nvidia.com> <1604628968-1501-2-git-send-email-skomatineni@nvidia.com> <20201106161122.GB3289870@bogus> Message-ID: Date: Thu, 12 Nov 2020 19:54:39 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605239672; bh=y9M0Fcn36/SC16+7wkHJ4+Z0grI9AV23OMNrrku0Fw8=; h=Subject:From:To:CC:References:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding: Content-Language:X-Originating-IP:X-ClientProxiedBy; b=GZRQqzdO5zNyf7+zJteLqdzDboMjcnAztm+r9Mgi8ttmSj3i4UzwepmYd6H78e9cD FoRAV+V+Tx1SxrgeMOv1/1HohNwdTXR8BZuBnhgFjzl8YO4jcQVIArEUAVeOkNjPjr TklNtxKZa+ASn2JJdXaBTmDE0V2+alQVUqFqDHPh8DUHa0ivvBJ9vql7M2grwnzDWb 3Kt9wS5Kz9VpCZoM4cN8uq3yAGxOkbzmsnhL07RmLOOljOGxRwCGAsLjoDHolLM5vE 00xG3VPN1AFKGnl0eCsrOpPNZECxoFXlFOBSlkOLunSqKtd0Px1MiUE7bTV1j7M7Xe 1DiJrpK4JFUdg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Updated yamllint and dt-schema as well. When I do make dt_binding_check, I see it failed as=20 processed-schema-examples.json is not generated. Any idea of what I may be missing? Also it did not go thru bindings/ata path. Tried with DT_SCHEMA_FILES to=20 tegra-ahci.yaml as well and I see same. make dt_binding_check=20 DT_SCHEMA_FILES=3DDocumentation/devicetree/bindings/ata/nvidia,tegra-ahci.y= aml LINT=C2=A0=C2=A0=C2=A0 Documentation/devicetree/bindings ./Documentation/devicetree/bindings/mmc/mtk-sd.yaml:20:9: [warning]=20 wrong indentation: expected 10 but found 8 (indentation) ./Documentation/devicetree/bindings/mmc/mtk-sd.yaml:30:9: [warning]=20 wrong indentation: expected 10 but found 8 (indentation) ./Documentation/devicetree/bindings/mmc/mtk-sd.yaml:33:9: [warning]=20 wrong indentation: expected 10 but found 8 (indentation) ./Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml:3= 7:2:=20 [error] syntax error: expected , but found '' (syntax) ./Documentation/devicetree/bindings/soc/aspeed/xdma.yaml:10:2: [warning]=20 wrong indentation: expected 2 but found 1 (indentation) ./Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml:= 10:4:=20 [warning] wrong indentation: expected 2 but found 3 (indentation) ./Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml:= 18:7:=20 [warning] wrong indentation: expected 4 but found 6 (indentation) ./Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml:10:4:=20 [warning] wrong indentation: expected 2 but found 3 (indentation) ./Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml:15:7:=20 [warning] wrong indentation: expected 4 but found 6 (indentation) ./Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml:25:= 10:=20 [warning] wrong indentation: expected 10 but found 9 (indentation) ./Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml:52= :9:=20 [warning] wrong indentation: expected 6 but found 8 (indentation) ./Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml:32:13:=20 [warning] wrong indentation: expected 14 but found 12 (indentation) ./Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml:35:9:=20 [warning] wrong indentation: expected 10 but found 8 (indentation) Documentation/devicetree/bindings/Makefile:59: recipe for target=20 'Documentation/devicetree/bindings/processed-schema-examples.json' failed make[1]: ***=20 [Documentation/devicetree/bindings/processed-schema-examples.json] Error 12= 3 Makefile:1362: recipe for target 'dt_binding_check' failed make: *** [dt_binding_check] Error 2 When I do dtbs_check, I see=20 Documentation/devicetree/bindings/processed-schema.json generated and=20 also it passes for tegra-ahci.yaml make ARCH=3Darm64 dtbs_check=20 DT_SCHEMA_FILES=3DDocumentation/devicetree/bindings/ata/nvidia,tegra-ahci.y= aml Regards, Sowjanya On 11/6/20 9:18 AM, Sowjanya Komatineni wrote: > > On 11/6/20 8:41 AM, Sowjanya Komatineni wrote: >> >> On 11/6/20 8:11 AM, Rob Herring wrote: >>> On Thu, 05 Nov 2020 18:16:05 -0800, Sowjanya Komatineni wrote: >>>> This patch converts text based dt-binding document to YAML based >>>> dt-binding document. >>>> >>>> Signed-off-by: Sowjanya Komatineni >>>> --- >>>> =C2=A0 .../devicetree/bindings/ata/nvidia,tegra-ahci.yaml | 152=20 >>>> +++++++++++++++++++++ >>>> =C2=A0 .../bindings/ata/nvidia,tegra124-ahci.txt=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 44 ------ >>>> =C2=A0 2 files changed, 152 insertions(+), 44 deletions(-) >>>> =C2=A0 create mode 100644=20 >>>> Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml >>>> =C2=A0 delete mode 100644=20 >>>> Documentation/devicetree/bindings/ata/nvidia,tegra124-ahci.txt >>>> >>> >>> My bot found errors running 'make dt_binding_check' on your patch: >>> >>> yamllint warnings/errors: >>> >>> dtschema/dtc warnings/errors: >>> Error:=20 >>> Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.example.dts:27.= 31-32=20 >>> syntax error >>> FATAL ERROR: Unable to parse input tree >>> make[1]: *** [scripts/Makefile.lib:342:=20 >>> Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.example.dt.yaml= ]=20 >>> Error 1 >>> make[1]: *** Waiting for unfinished jobs.... >>> make: *** [Makefile:1364: dt_binding_check] Error 2 >>> >>> >>> See https://patchwork.ozlabs.org/patch/1395390 >>> >>> The base for the patch is generally the last rc1. Any dependencies >>> should be noted. >>> >>> If you already ran 'make dt_binding_check' and didn't see the above >>> error(s), then make sure 'yamllint' is installed and dt-schema is up to >>> date: >>> >>> pip3 install dtschema --upgrade >>> >>> Please check and re-submit. >> Thanks Rob. Will re-try after installing up-to-date. > > Somehow running 'make dt_binding_check' gives below error. > > I have yamllint newest version (1.2.1-1). Any specific version of=20 > yamllint is needed? > > =C2=A0LINT=C2=A0=C2=A0=C2=A0 Documentation/devicetree/bindings > invalid config: unknown option "max-spaces-inside-empty" for rule=20 > "braces" > xargs: /usr/bin/yamllint: exited with status 255; aborting > Documentation/devicetree/bindings/Makefile:59: recipe for target=20 > 'Documentation/devicetree/bindings/processed-schema-examples.json' failed > make[1]: ***=20 > [Documentation/devicetree/bindings/processed-schema-examples.json]=20 > Error 124 > Makefile:1362: recipe for target 'dt_binding_check' failed > make: *** [dt_binding_check] Error 2 >