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=ham 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 A34ECC6377A for ; Thu, 22 Jul 2021 02:13:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 86CB961287 for ; Thu, 22 Jul 2021 02:13:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230098AbhGVBcy (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: linux-gpio@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 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=ham 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 ABFF9C6377A for ; Thu, 22 Jul 2021 02:16:11 +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 73B4761264 for ; Thu, 22 Jul 2021 02:16:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73B4761264 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P/SkwtZI1owFU40lBh6s514sSekUGqXwVXMxiVStpWU=; b=sdjzMaa9LXzcEr NRwqpBVNRdzenEzbvRzct9qwnvyiZKOHFJuMYD9qyVGS5iLLk0IboKHHsDRCwWn8LFBv6i4bP3ZTA unJfEE/lqGarfSmwCOAd3bPXEX/jJCH33xiiI0qUNrBgn0ktjsA7A+vkoVkeU9TzjR3VBm5Uf74A/ +MYoEIN/Z7rXdPe2bl+OwkyIbpEh/0zwdMU9jAJ8hFPN5nMVmHeNXB3/mV9UwT6TQ0HyTzDbAPiU1 Yb7XgFelkD2RHzCyhlvCEHLY3H07umqnTTVwP62FLpd9nNKasHa1SK9XKk8C2HMr6DDIwWeeZiJBu IbKa0lyot5fxDcFMH9Zg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6ODP-00HZpa-5L; Thu, 22 Jul 2021 02:13:35 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6ODI-00HZoI-Iv for linux-arm-kernel@lists.infradead.org; Thu, 22 Jul 2021 02:13:29 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1CD446135A for ; 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-f54.google.com with SMTP id gb6so6156620ejc.5 for ; Wed, 21 Jul 2021 19:13:28 -0700 (PDT) X-Gm-Message-State: AOAM530U5r+hcKuIK3wERnOtRSaAeurJ2Bl+sgAG6dkUH5tE/MPBGvjK rfu9cVWo10CAmmH9eBcq6udAwgXcG5jIR1fP9w== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210721_191328_665659_5423790B X-CRM114-Status: GOOD ( 18.66 ) 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: , 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, 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel