From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED53BC6377B for ; Thu, 22 Jul 2021 02:12:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BEFAE61264 for ; Thu, 22 Jul 2021 02:12:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BEFAE61264 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject: References:In-Reply-To:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hb5upw9nly4NI3ujo9SwQZ/mloLH+DpF5wrQYSpe9V0=; b=lkBQnz3IEYlrXp 9plgxXxjfqPWSYaDnkioSiioSkS3L9Lf+8pFDgkA9HECgMgF6swqZba1frmaW3+RsdH06MH7Qipp/ Q7fbg/6+LItfP+U5Qa6/1jEF9rw3lS1JqfF8Jq+yD4nIwldigxZuq0eUZM88yCrM8v6RnPbHtnP0l Ol3Yua2ZUoO73aBDcsQT3xWigtppRCBCKptiUpIHf6SKKitcJP9mwvYQeQUPlwNGcOyZCwmBBuJr2 qgD6MIuWs2hhfMobYyahopul4+ibg5vqudhyRfYTzdUnRPiCdUCPKQC8EKPHXjPCHwx9K5Fjbj4CD ebu0ULOj3QK+GqBEFeAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6OAr-00HYh1-Gk; Thu, 22 Jul 2021 02:10:57 +0000 Received: from mail-il1-f176.google.com ([209.85.166.176]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6OAC-00HYXs-Kh for linux-arm-kernel@lists.infradead.org; Thu, 22 Jul 2021 02:10:18 +0000 Received: by mail-il1-f176.google.com with SMTP id b14so4045701ilf.7 for ; Wed, 21 Jul 2021 19:10:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=Fbou3WhEPhFN0PVcEqddlTgEjen1pBXU/lqHkeYDrHQ=; b=EKVoQxkhuykTm7MUvt3OMPMMx4GeUs3JWAVJNrBnECtmq9xIWmqpbwrtDDqSvTgUlT ESiNIhoAW08zh+jswUsCt/WOje08pLvebZJqEbXuDBquHbM+U6UHG+1i1HO26V45g5FO y/tub4kPSkJdnNLbPiAyiAAufrDdLe5ZN03jH9m+bzTNcOaa4kMTKgZVitpialPsCj/O duCd6dk0V14Rt71Gn2W87OlXwloSkN/qkssSvgTfGKC18U465w+fl1tC94t+x15xPGh2 MZVtpSg8sZUQ2BCF0lE1BS+M05pwH2SoJl3mM3jE0V5elaJ/1gGM1ptaBlyX9CRpXtPp sxxg== X-Gm-Message-State: AOAM530Yy5ZLbr/wLxmOF5ez6nWy5zHcVVRYgjBzG3Igr8nLvQ4DwNlv aA7zjdDm6LGRUYTcgUGMcQ== X-Google-Smtp-Source: ABdhPJyOwdbv63xN6sedvJfnOHtUG7C4FC7exmgUxDhqTp20Io0JGzJAFb8PbH4TL2OoBttCxjAhGA== X-Received: by 2002:a92:c7d0:: with SMTP id g16mr25598385ilk.278.1626919815770; Wed, 21 Jul 2021 19:10:15 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id f7sm1247665ils.42.2021.07.21.19.10.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 19:10:15 -0700 (PDT) Received: (nullmailer pid 3145331 invoked by uid 1000); Thu, 22 Jul 2021 02:09:56 -0000 From: Rob Herring To: Maxime Ripard Cc: linux-sunxi@googlegroups.com, Frank Rowand , Rob Herring , Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, Lee Jones , devicetree@vger.kernel.org, Jernej Skrabec In-Reply-To: <20210721140424.725744-25-maxime@cerno.tech> References: <20210721140424.725744-1-maxime@cerno.tech> <20210721140424.725744-25-maxime@cerno.tech> Subject: Re: [PATCH 24/54] dt-bindings: mfd: Convert X-Powers AXP binding to a schema Date: Wed, 21 Jul 2021 20:09:56 -0600 Message-Id: <1626919796.977899.3145330.nullmailer@robh.at.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210721_191016_726063_63E8D58B X-CRM114-Status: GOOD ( 18.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 21 Jul 2021 16:03:54 +0200, Maxime Ripard wrote: > The X-Powers AXP PMICs are supported by Linux thanks to its device tree > binding. > > Now that we have the DT validation in place, let's convert the device > tree bindings for that driver over to a YAML schema. > > Cc: Chen-Yu Tsai > Cc: Lee Jones > Signed-off-by: Maxime Ripard > --- > .../devicetree/bindings/mfd/axp20x.txt | 272 ------------- > .../bindings/mfd/x-powers,axp152.yaml | 381 ++++++++++++++++++ > 2 files changed, 381 insertions(+), 272 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/mfd/axp20x.txt > create mode 100644 Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: Unknown file referenced: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/dtschema/schemas/gpio/x-powers,axp209-gpio.yaml' xargs: dt-doc-validate: exited with status 255; aborting /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/i2c/allwinner,sun6i-a31-p2wi.example.dt.yaml: pmic@68: '#interrupt-cells' is a required property From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/i2c/allwinner,sun6i-a31-p2wi.example.dt.yaml: pmic@68: 'interrupt-controller' is a required property From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/i2c/allwinner,sun6i-a31-p2wi.example.dt.yaml: pmic@68: 'oneOf' conditional failed, one must be fixed: 'interrupts' is a required property 'interrupts-extended' is a required property From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml make[1]: *** Deleting file 'Documentation/devicetree/bindings/mfd/x-powers,axp152.example.dt.yaml' Unknown file referenced: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/dtschema/schemas/gpio/x-powers,axp209-gpio.yaml' make[1]: *** [scripts/Makefile.lib:380: Documentation/devicetree/bindings/mfd/x-powers,axp152.example.dt.yaml] Error 255 make: *** [Makefile:1418: dt_binding_check] Error 2 \ndoc reference errors (make refcheckdocs): Documentation/devicetree/bindings/gpio/gpio-axp209.txt: Documentation/devicetree/bindings/mfd/axp20x.txt See https://patchwork.ozlabs.org/patch/1508269 This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel