Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1164254pxb; Fri, 13 Nov 2020 06:02:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWc4sBc8ho+I6edb3XWWc8CfqyOvJjO+aUXTgEc+4ITevuWtNNWOUlGlv7XVPxAjVhpEvG X-Received: by 2002:aa7:ccd2:: with SMTP id y18mr2619499edt.11.1605276123341; Fri, 13 Nov 2020 06:02:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605276123; cv=none; d=google.com; s=arc-20160816; b=VHSGw3BLzfz1I8jWz3ejdXp9B3A3wO2UvqP35/T7YpgzK/MDM1j39JMqEZO9AuriNv ZDmKQK2e6Xjkpso8FuIjP43No8+4ZSChpDEmUaThW/4F9vUAjqv41ocDf8N4W1/teumf gNkzOnjVtPqJvgwqfxNUNXwR0zU41aSgvvrqIHeBQWyCSB4pmtiuGv4e56Gf/TJeN3+O LjahAZUkI8BfOrD9mzfvEnnSzvmz5+k088qBejvhdXrEBgk22pe/MUnhcEKr1Vs41Q1v c5ppybYxy/TF910CY981Yas0tsz971S0E+vnzYj8cnrcmoMfH0CF8Wvq5kSyv+jYiQj3 +PLg== 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=6Imt+tCM1DbLOUM6aWOmpFOfTmlY0h/PnOnbfa3pY/k=; b=ScSSyC3qf7OMZxEwUl38BNIR2D42AWgPAlNEjg3SqR0ya33nhV2XoQswvKDdOzCMl5 tcIxnmyPfFeNdk3I2Ts6f8RqOvHYBnPUhmDtjhHFPd5jeT6r+0m4abE6GqNjeMKlvVUF Yv3s53t0PLutptxfNQHKHHc2buy7w3NFvvoxrre5oD/Ytlz/K8GJWTD0BGL27phcMn7A GIW1+/9OVQbQuOeJWAn6iN3oG0bJxRfryKWNrrs6LbPR0uJX4e8VrzFI1tJqZXfEWGBp tRc4pzJOSIRewoL9LTeASuTer2Yhwb5ajo7mBOLVJmJi3NLcGSLo1XrKxk30CxPY+l0z Iu8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AuM3bbMr; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si6591440edo.178.2020.11.13.06.01.38; Fri, 13 Nov 2020 06:02:03 -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=@kernel.org header.s=default header.b=AuM3bbMr; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726841AbgKMN7n (ORCPT + 99 others); Fri, 13 Nov 2020 08:59:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:58868 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726594AbgKMN7n (ORCPT ); Fri, 13 Nov 2020 08:59:43 -0500 Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) (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 6DD3420797; Fri, 13 Nov 2020 13:59:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605275982; bh=5zh5U6QQTfrb1zJ1Qx6ri3/VJb6vcNkANMos1Y8u4Yk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=AuM3bbMr1Y8rDFBUhaaWssTCj0V8b0g406jdEEsSbegNHXbcomzAKdFvFtY9pE+Jm asDr3mJLRtlQM52OXAe9BuYUrtqVd75lkT7xtn2oY9hZyKRQtAOIfYc+C3eYCOFGHV 0wLy4TAWYo162p9Ev7CCTe0GcIXi8/GDKbSXsVK4= Received: by mail-ot1-f52.google.com with SMTP id g19so8940647otp.13; Fri, 13 Nov 2020 05:59:42 -0800 (PST) X-Gm-Message-State: AOAM530PDLXA8cXJx83/jsJVnCDnhGl4whnPMHm07Uni9BG8CxYIaL2e ywURLtIr4kLgl1QUZRi6cqMgxlG/J32LdJU8fQ== X-Received: by 2002:a05:6830:2259:: with SMTP id t25mr1630402otd.192.1605275981804; Fri, 13 Nov 2020 05:59:41 -0800 (PST) MIME-Version: 1.0 References: <1604628968-1501-1-git-send-email-skomatineni@nvidia.com> <1604628968-1501-2-git-send-email-skomatineni@nvidia.com> <20201106161122.GB3289870@bogus> In-Reply-To: From: Rob Herring Date: Fri, 13 Nov 2020 07:59:30 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 1/4] dt-bindings: ata: tegra: Convert binding documentation to YAML To: Sowjanya Komatineni Cc: Thierry Reding , "linux-kernel@vger.kernel.org" , linux-tegra , "open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)" , devicetree@vger.kernel.org, Jon Hunter Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 12, 2020 at 9:54 PM Sowjanya Komatineni wrote: > > Hi Rob, > > Updated yamllint and dt-schema as well. > > When I do make dt_binding_check, I see it failed as > 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 > tegra-ahci.yaml as well and I see same. > make dt_binding_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml > > LINT Documentation/devicetree/bindings > ./Documentation/devicetree/bindings/mmc/mtk-sd.yaml:20:9: [warning] > wrong indentation: expected 10 but found 8 (indentation) > ./Documentation/devicetree/bindings/mmc/mtk-sd.yaml:30:9: [warning] > wrong indentation: expected 10 but found 8 (indentation) > ./Documentation/devicetree/bindings/mmc/mtk-sd.yaml:33:9: [warning] > wrong indentation: expected 10 but found 8 (indentation) > ./Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml:37:2: > [error] syntax error: expected , but found '' (syntax) I believe this error only occurred on linux-next. linux-next is not a base you should develop on (usually). rc2 is good. Unfortunately someone broke rc3. > ./Documentation/devicetree/bindings/soc/aspeed/xdma.yaml:10:2: [warning] > wrong indentation: expected 2 but found 1 (indentation) > ./Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml:10:4: > [warning] wrong indentation: expected 2 but found 3 (indentation) > ./Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml:18:7: > [warning] wrong indentation: expected 4 but found 6 (indentation) > ./Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml:10:4: > [warning] wrong indentation: expected 2 but found 3 (indentation) > ./Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml:15:7: > [warning] wrong indentation: expected 4 but found 6 (indentation) > ./Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml:25:10: > [warning] wrong indentation: expected 10 but found 9 (indentation) > ./Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml:52:9: > [warning] wrong indentation: expected 6 but found 8 (indentation) > ./Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml:32:13: > [warning] wrong indentation: expected 14 but found 12 (indentation) > ./Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml:35:9: > [warning] wrong indentation: expected 10 but found 8 (indentation) > Documentation/devicetree/bindings/Makefile:59: recipe for target > 'Documentation/devicetree/bindings/processed-schema-examples.json' failed > make[1]: *** > [Documentation/devicetree/bindings/processed-schema-examples.json] Error 123 > Makefile:1362: recipe for target 'dt_binding_check' failed > make: *** [dt_binding_check] Error 2 Use 'make -k' if there are unrelated errors. > > When I do dtbs_check, I see > Documentation/devicetree/bindings/processed-schema.json generated and > also it passes for tegra-ahci.yaml Then it should be good. Rob > > make ARCH=arm64 dtbs_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml > > 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 > >>>> --- > >>>> .../devicetree/bindings/ata/nvidia,tegra-ahci.yaml | 152 > >>>> +++++++++++++++++++++ > >>>> .../bindings/ata/nvidia,tegra124-ahci.txt | 44 ------ > >>>> 2 files changed, 152 insertions(+), 44 deletions(-) > >>>> create mode 100644 > >>>> Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml > >>>> delete mode 100644 > >>>> 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: > >>> Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.example.dts:27.31-32 > >>> syntax error > >>> FATAL ERROR: Unable to parse input tree > >>> make[1]: *** [scripts/Makefile.lib:342: > >>> Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.example.dt.yaml] > >>> 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 > > yamllint is needed? > > > > LINT Documentation/devicetree/bindings > > invalid config: unknown option "max-spaces-inside-empty" for rule > > "braces" > > xargs: /usr/bin/yamllint: exited with status 255; aborting > > Documentation/devicetree/bindings/Makefile:59: recipe for target > > 'Documentation/devicetree/bindings/processed-schema-examples.json' failed > > make[1]: *** > > [Documentation/devicetree/bindings/processed-schema-examples.json] > > Error 124 > > Makefile:1362: recipe for target 'dt_binding_check' failed > > make: *** [dt_binding_check] Error 2 > >