Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2730316pxj; Mon, 10 May 2021 09:27:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJohLDimo5ONnqwKHKPnWv7BhQCyX29I0oTqfNcoVR6S6yd5LFWSUZ16Gn04Hmej0S2Lqn X-Received: by 2002:a05:6602:27c2:: with SMTP id l2mr18660025ios.71.1620664025564; Mon, 10 May 2021 09:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620664025; cv=none; d=google.com; s=arc-20160816; b=KM+yG9vOsSTKe5sFuALsHVp6QBnnFwdtaHJFcBHth/ZPKp+fU+IwEYjhHrSQirMNSW OwDaMosqS2iaFN/HFMcIVu3lpFwqP1m7EDIDmBRWCIQ32bfB3XIkxRBLaDelNGEKjXfl cWkxNQRPIojEMoEonxaIv2jfT2OQmAlaE620mwYsmJduBjdt5oOuk7KtqZHwNiZEPn0x OmwSgnS+vF6mymc3r1Cty/W2k8hBqSNGt/A/IiCLtM2b/VxlFxtdTxPys5+V8uy+Hv59 4b6tLd2BNC4HpF491H2N59yOcKT8t9cqiKSosq5i0feVl4Bli90djwI5uxznmz4JQeDx wZig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=U2QmA0kT5KGKtEEfgKEA5hMeDW03KIt9H3QxMG9piFw=; b=Q1x/QUrqEhl9A1s8XUmV1RIuDDEqjqOtSH+vBHBK1YZcIgpOsfdeYx/WtnOeI79gpZ AQFITq6MN1IiGVOzJlvg/eKsisFY+9ogIt9hXL1+Ydy+U6Zub0X/wm0EbElYa5iOgXSO OBGdBLKLWzRW3WOo19Jyrcl8I/esxzO9v9GAEvbR2JbdFvklc5WH0VNCMvTzFt+bGMwC lIk7cz4qS/j2lWaRzB2D6/2ziErt5vZLHmJWBuFf7JGv6ybGR/UhLgvTVZPWXHEX9s3W Lfba/xhrgM+AuxS+D4Z7NuxEUT3FqRu4f17xBeRnbVqfMqpUeNjllR1NsExzgI7ecx2g YBXQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x10si16181501ilq.24.2021.05.10.09.26.52; Mon, 10 May 2021 09:27:05 -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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231256AbhEJQZz (ORCPT + 99 others); Mon, 10 May 2021 12:25:55 -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-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-kernel@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.