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=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 8BED8C6377D for ; Thu, 22 Jul 2021 02:13:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 75D7661279 for ; Thu, 22 Jul 2021 02:13:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230084AbhGVBcy (ORCPT ); Wed, 21 Jul 2021 21:32:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:38708 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230017AbhGVBcw (ORCPT ); Wed, 21 Jul 2021 21:32:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0353861279; Thu, 22 Jul 2021 02:13:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626920008; bh=370stALHR0Ip623QlakYl1SiBljMLZjy+3f2TkFJyYQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=uveRBhnwfwA+rN/yTOrouJ1Wjn6iflOlW2Ky7/PkQcwMjn4Kbyo7ZLqZv8uIGGDk+ YysqPTvA7nDGxtIkRfizgbIMkOM06Z9ezo9T2OkKY1UtopyxKUVAbe/WcPhKX3mbIW ce7+jwET19JFfQNBNYWT6J0inCeCdcfbqRMmeIDv3gl8qXwy9pIaZRy2gQ8xRQRxyr AAnR1xKoPyt5seoPz98iHKCKBRaWXRedh3zALGS9gAlbsPMBUf2uNgvq//p13kNFXw 0WAEXzojCd3D4XP9LLflVNxmZwExAeoE8yyTCPYhDBWurOD/jkM+qdgVXQJwTUUqMg DYPIZNf10ArOA== Received: by mail-ej1-f52.google.com with SMTP id c17so6097947ejk.13; Wed, 21 Jul 2021 19:13:27 -0700 (PDT) X-Gm-Message-State: AOAM533iF9JODhySNMpHoI7HPVYyl7breh7otA/jycAlyAv5QMspXRHg rUYczqN580+RpbjgkM05VSPnR4QXPgS6Yus+sg== X-Google-Smtp-Source: ABdhPJwQoQZQ2l52Ur+LV4/CGbAsuwKxel9DQ5dk7268sFD3mqa9rcFkLuDlZneZI6MrqdHzuoFJjOtUMFces4nrf88= X-Received: by 2002:a17:906:5fc1:: with SMTP id k1mr40216933ejv.360.1626920006572; Wed, 21 Jul 2021 19:13:26 -0700 (PDT) MIME-Version: 1.0 References: <20210721140424.725744-1-maxime@cerno.tech> <20210721140424.725744-14-maxime@cerno.tech> <1626919796.964107.3145326.nullmailer@robh.at.kernel.org> In-Reply-To: <1626919796.964107.3145326.nullmailer@robh.at.kernel.org> From: Rob Herring Date: Wed, 21 Jul 2021 20:13:15 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 13/54] dt-bindings: gpio: Convert X-Powers AXP209 GPIO binding to a schema To: Maxime Ripard Cc: Linus Walleij , linux-arm-kernel , "open list:GPIO SUBSYSTEM" , devicetree@vger.kernel.org, Frank Rowand , Bartosz Golaszewski , linux-sunxi@googlegroups.com, Jernej Skrabec , Chen-Yu Tsai Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Jul 21, 2021 at 8:10 PM Rob Herring wrote: > > On Wed, 21 Jul 2021 16:03:43 +0200, Maxime Ripard wrote: > > The X-Powers AXP PMICs feature a GPIO Controller 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: Bartosz Golaszewski > > Cc: Chen-Yu Tsai > > Cc: Linus Walleij > > Cc: linux-gpio@vger.kernel.org > > Signed-off-by: Maxime Ripard > > --- > > .../devicetree/bindings/gpio/gpio-axp209.txt | 75 ----------------- > > .../bindings/gpio/x-powers,axp209-gpio.yaml | 84 +++++++++++++++++++ > > 2 files changed, 84 insertions(+), 75 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-axp209.txt > > create mode 100644 Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.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: > Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.example.dt.yaml:0:0: /example-0/i2c/pmic@34: failed to match any schema with compatible: ['x-powers,axp209'] Please make the mfd schema example complete if not already and drop the example here. Rob