Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1680497pxx; Fri, 30 Oct 2020 16:39:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpcH147KQ1lLiomYrsZ1Dt0yGTeY52LRLVeSC+TrkfsI+R0kzXkbWB18a+Z+wKwNr4f4U7 X-Received: by 2002:a50:8d48:: with SMTP id t8mr5190854edt.228.1604101170959; Fri, 30 Oct 2020 16:39:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604101170; cv=none; d=google.com; s=arc-20160816; b=VijIBk9hKiS21pP3DAEXJzSk3D2BEedUGGQRkJpBqifLVdxr4JI6nZE6K5f2a3vzHd qIr7OQ4xXDmbvIa+B6y8+7ZoTjI1i5z204V2H8f8RVBBqv+LtocMgtClx8IMCkjnex3M uwKeUrVVy8pnkEPf5M75R4xFHMNJRoCdyjyJ+MSbV1e7Pp8uOLd8GaisSF6CD/yaqCtV mKfNhFdcvbIa+2jRXfV+CkA+QzmnCz3XGotISmTCgpUMzguWQZQR7Ifve2xwVQU63Qyr 0NftHnasLicVFqZbREPx1yMNCKtL97Gv7omZWcl4SZE3pZjrJQCa8bv2zP31J4daF8Wv iHvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=OKjcdt9Lak5IydUC5nXKNyy4HKH0L9tMD++TzQ8sod0=; b=uT1dGcaL5dF8FrLJ52+KQh1j+oyWe/myK+ZiznrIClGedJ1XVRY3an2EXFQKDouXiI lv4XCWgogpzqbFDNBIOywAQkqrvDQEsITi1TXY78735u0Be559txWwUfzIBI1qr9nBlC Ik7aSgTsjt4NcE0gtttB4mCR6HqwVsKMAp5YGuoTCDTPGe5eHZg6YZDm76d9TWNGQo1X e+tAvkjH7mVCno6Sw99p8Z0fY4tq1u3EJ4GhtluzpMMcrfXhJiPrCDN4jOlxcTQmxyNv uW9Z+H+SGvF7h8AdFB4EmNeo5vFQmUvBBwu0oOg/W2BzzMk3bsp7nb1ZFY1MEdpZr+zt BTlg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay17si5723851ejb.281.2020.10.30.16.39.08; Fri, 30 Oct 2020 16:39:30 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725875AbgJ3Xho (ORCPT + 99 others); Fri, 30 Oct 2020 19:37:44 -0400 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:28683 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725446AbgJ3Xho (ORCPT ); Fri, 30 Oct 2020 19:37:44 -0400 Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 30 Oct 2020 16:37:43 -0700 X-QCInternal: smtphost Received: from gurus-linux.qualcomm.com ([10.46.162.81]) by ironmsg-SD-alpha.qualcomm.com with ESMTP; 30 Oct 2020 16:37:43 -0700 Received: by gurus-linux.qualcomm.com (Postfix, from userid 383780) id C20C5199F; Fri, 30 Oct 2020 16:37:42 -0700 (PDT) Date: Fri, 30 Oct 2020 16:37:42 -0700 From: Guru Das Srinagesh To: Rob Herring Cc: Andy Gross , Bjorn Andersson , linux-arm-msm@vger.kernel.org, Subbaraman Narayanamurthy , David Collins , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Boyd , Anirudh Ghayal Subject: Re: [PATCH v4 2/3] bindings: pm8941-misc: Add support for VBUS detection Message-ID: <20201030233742.GA29492@codeaurora.org> References: <6c6bd3601ec8f4c68f581452fca3ef96f2ae94f9.1603869292.git.gurus@codeaurora.org> <20201030133612.GB3721479@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201030133612.GB3721479@bogus> User-Agent: Mutt/1.5.24 (2015-08-30) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 30, 2020 at 08:36:12AM -0500, Rob Herring wrote: > On Wed, Oct 28, 2020 at 12:18:53AM -0700, Guru Das Srinagesh wrote: > > Add compatible string that adds support for reporting VBUS detection > > status that can be detected via a dedicated PMIC pin. > > > > Signed-off-by: Anirudh Ghayal > > Signed-off-by: Guru Das Srinagesh > > --- > > Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml | 7 ++++++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml > > index e8eea83..15e3749 100644 > > --- a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml > > +++ b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml > > @@ -15,18 +15,23 @@ description: | > > > > properties: > > compatible: > > + minItems: 1 > > items: > > - const: qcom,pm8941-misc > > + - const: qcom,pmd-vbus-det > > Do you really need another compatible here? Just detect this by having a > 2nd interrupt. Agreed; will drop this bit in the next patchset. > > > > > reg: > > maxItems: 1 > > > > interrupts: > > - maxItems: 1 > > + minItems: 1 > > + maxItems: 2 > > > > interrupt-names: > > + minItems: 1 > > items: > > - const: usb_id > > + - const: usb_vbus > > > > required: > > - compatible > > -- > > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > > a Linux Foundation Collaborative Project > >