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=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 91159C43461 for ; Mon, 10 May 2021 16:24:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7BDF3611C9 for ; Mon, 10 May 2021 16:24:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230439AbhEJQZy (ORCPT ); Mon, 10 May 2021 12:25:54 -0400 Received: from mail-ot1-f43.google.com ([209.85.210.43]:44748 "EHLO mail-ot1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230145AbhEJQZx (ORCPT ); Mon, 10 May 2021 12:25:53 -0400 Received: by mail-ot1-f43.google.com with SMTP id r26-20020a056830121ab02902a5ff1c9b81so14931055otp.11; Mon, 10 May 2021 09:24:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=U2QmA0kT5KGKtEEfgKEA5hMeDW03KIt9H3QxMG9piFw=; b=mfI5MIfJitrBkxc2cE9N5WB2KyOsb2BogBytsga57U2I1uCwGihoQBd++pgC2NWQWB osX6ANNbeo9cWISIiM3pNyga/HW31PCQFZNW9Pe/qDCprF8tWf3OKz2JQJemwL3iE0jy Fw46bHU0zW8mVGnUQtFmhPQ8rPV6Yw+qcgDODIoyi0WL8fPCAf1+HFMzXPz6JCXjjEE7 hIMjAX3wCnWU6VQqAWxgYG8B+PRAs8oxozeji9jHqOUJAnEuGVdyZKPmAneI15gt4+QT XoHBr33cwa5IS5gNdYfbczRZlK1DG4V2AuWpe3DU2u5GIoA2AH8tpKW7LSEQpOFiKp5L B9mA== X-Gm-Message-State: AOAM53205l92AVEXKRVWp+y29+OeW7+/nXd+E5QMB0qBiFq2yGzJi8cw 6TvPUJjG+RstMzXhW/i8vA== X-Google-Smtp-Source: ABdhPJxcwWkV87qLFbePQOlAS7VuwdvHmnrsQjgiZIUEHijHWQCrqZrYHZKJAdgrHzjfGbvABhkWwg== X-Received: by 2002:a9d:2271:: with SMTP id o104mr21591456ota.201.1620663887279; Mon, 10 May 2021 09:24:47 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id b8sm736481ooo.42.2021.05.10.09.24.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 09:24:46 -0700 (PDT) Received: (nullmailer pid 233712 invoked by uid 1000); Mon, 10 May 2021 16:24:45 -0000 Date: Mon, 10 May 2021 11:24:45 -0500 From: Rob Herring To: satya priya Cc: Bjorn Andersson , kgunda@codeaurora.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Courtney Cavin , Vinod Koul , Sebastian Reichel , Dmitry Torokhov , David Collins , Andy Yan , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, Andy Gross Subject: Re: [PATCH V3 4/5] dt-bindings: input: pm8941-pwrkey: Convert pm8941 power key binding to yaml Message-ID: <20210510162445.GA230005@robh.at.kernel.org> References: <1620630064-16354-1-git-send-email-skakit@codeaurora.org> <1620630064-16354-5-git-send-email-skakit@codeaurora.org> <1620655299.793818.41438.nullmailer@robh.at.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1620655299.793818.41438.nullmailer@robh.at.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Mon, May 10, 2021 at 09:01:39AM -0500, Rob Herring wrote: > On Mon, 10 May 2021 12:31:03 +0530, satya priya wrote: > > Convert qcom pm8941 power key binding from .txt to .yaml format. > > > > Signed-off-by: satya priya > > --- > > Changes in V2: > > - Fixed bot errors, took reference from input.yaml for "linux,code" > > - Added one complete example for powerkey and resin, and referenced it > > in main PON binding. > > - Moved this patch to the end of the series. > > > > Changes in V3: > > - Moved this patch before PON binding patch. > > - As per Rob's comments, added allOf at the beginning of binding. > > Added maxItems for interrupts. > > - Added 'unevaluatedProperties' instead of 'additionalProperties' as > > we are using allOf. > > > > .../bindings/input/qcom,pm8941-pwrkey.txt | 55 -------------- > > .../bindings/input/qcom,pm8941-pwrkey.yaml | 87 ++++++++++++++++++++++ > > 2 files changed, 87 insertions(+), 55 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt > > create mode 100644 Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.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/input/qcom,pm8941-pwrkey.example.dt.yaml:0:0: /example-0/spmi@c440000/pmic@0/pon_hlos@1300: failed to match any schema with compatible: ['qcom,pm8998-pon'] You have the same example in patch 5, so drop the example here. That will fix this circular dependency.