Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp458639pxj; Wed, 2 Jun 2021 03:34:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTmAdE+ycinyWZW5lUHy/o0DHFBD12vv+e36JKCsCS8Q4L+rdXVAZ8fwrp3crCCcntqHzm X-Received: by 2002:a17:906:f6d7:: with SMTP id jo23mr14659232ejb.302.1622630040269; Wed, 02 Jun 2021 03:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622630040; cv=none; d=google.com; s=arc-20160816; b=QwB5NmtXHbrPSQX44w+kaRdDBGT35yY3ttiSOg1tnXxTsgI+9Fc+4CvPonphdcLATq eYiA0GMO5KalIVwjXNetieaU/ZKw2rL3WLtFTM3VxPdaTOe6sFBa3QkjtoOip5vpwHyO XU1ylWgCklgGO2pHlNtvQ22Ba17JvdB3igLFkqCSfsjRg26LFDlKE29kOsAYg4XIJ5GR vK3+cYnHh/IWeRN9CVmn6H/qqPUp/I+Xc+iQhziNDdDyZ7zrJa8PSW3lQpNWY8NI0lPP iogXFAq/9wgHby1g3KwT9LNtk8rdA2LurUStvgnwYHbHFKMfP8Wi4hiID5FbjApOc3r2 LBFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=dDtT9RKDST8Kb7cX/QWo/KyCGcfZAqjbXnH9sp+GoxM=; b=MElAO57rC3Tfxeh0KyVMr7lVO27govrPc0G5Qxu7d3ClythmRdxQ6eX44bF/Rui7h5 3kftmh8t3cfV3ZbFMO/xTLARfNPGvQOXilEsxcO3VF6rndYHF6X661vfjLJqtGH0in88 OpJtPf8VwDYek+9sKmEdkZyl/vxhFKfMJYeWvAVeunXm/FfzroPeOyonLTaUaY4XxkV9 dSzSLEw5sO8vTItyDcnWtwlYwQvW7foSJasy+PdO1C7hC71GNUTxc1f/SygTE0q2obIw fUDIG6vZg/EL9y/eW0Fe+Uaj0+KeDkVfU5xiiwFWVNd403b6D2NlScNr+BV7q5dYYkZl CPwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=CeGxE4pb; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j16si2000115edj.357.2021.06.02.03.33.37; Wed, 02 Jun 2021 03:34:00 -0700 (PDT) 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=@mg.codeaurora.org header.s=smtp header.b=CeGxE4pb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232658AbhFBKdh (ORCPT + 99 others); Wed, 2 Jun 2021 06:33:37 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:42776 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232441AbhFBKdg (ORCPT ); Wed, 2 Jun 2021 06:33:36 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1622629913; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=dDtT9RKDST8Kb7cX/QWo/KyCGcfZAqjbXnH9sp+GoxM=; b=CeGxE4pbH5DU/18fk6JwYY2GaFVJ0p3Iikn/sJCDNxT7LSfX0T9KwU6VQbaHwV1dld58mA7E p2zJCrh5WxYX/hPQftV/UbShcRz1rZy1wTLjQqm0ozdrr3AeHy6vMOimFr1+ukJh/pYQ3Avc a4IHtnVqqGh+7wqWv9hPMyCR/Nk= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 60b75e17e27c0cc77f24f3a8 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 02 Jun 2021 10:31:51 GMT Sender: skakit=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 83569C43148; Wed, 2 Jun 2021 10:31:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: skakit) by smtp.codeaurora.org (Postfix) with ESMTPSA id E114DC43144; Wed, 2 Jun 2021 10:31:47 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 02 Jun 2021 16:01:47 +0530 From: skakit@codeaurora.org To: Dmitry Torokhov Cc: Rob Herring , Bjorn Andersson , kgunda@codeaurora.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Courtney Cavin , Vinod Koul , Sebastian Reichel , 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 In-Reply-To: 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> <20210510162445.GA230005@robh.at.kernel.org> Message-ID: X-Sender: skakit@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-06-02 10:07, Dmitry Torokhov wrote: > On Wed, May 12, 2021 at 10:17:43AM +0530, skakit@codeaurora.org wrote: >> On 2021-05-10 21:54, Rob Herring wrote: >> > 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. >> >> Earlier I have dropped example from qcom-pon.yaml. Now, I will add the >> example there and drop here. > > It sounds to me you want to combine patches 4 and 5 since they depend > on > each other. > No, the idea was to have one complete example, instead of bits. So, initially I have removed the example part from qcom-pon.yaml and added full example here, but it was causing a circular dependency issue. Rob suggested to move it back to qcom-pon.yaml to fix issue. I have posted V4 making that change. https://lore.kernel.org/patchwork/patch/1425638/ Thanks, Satya Priya > Thanks.