Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1282425pxx; Fri, 30 Oct 2020 06:38:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxyTKoIOX6h1J1XdiwxWguPksoA/+JN3VWU1oftHNvpDWz/UvUG1e2xKXHeK4X/2CIIOL6 X-Received: by 2002:a17:907:411b:: with SMTP id nw19mr2428741ejb.150.1604065091506; Fri, 30 Oct 2020 06:38:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604065091; cv=none; d=google.com; s=arc-20160816; b=KKEf0gCoJ8CEmVE3l5w08En7iBRtmfiD4NDR8jOn/WlVoTgea45cJOac978W1f/50F rTx7qZ4sbQEcBcVhAJcTHpw2l2AcORd9u13IRSpG1N5gNo981ylEqxt4kcfW2JQFDff/ GAimIsxBBxyqi5TFZMqp81yZ7CxD8jPNd476HOYR4C5GHzobmzi2gxR0pfUYcWbxWVC7 qkEa/d2dVDkOeeEC2EPF+ehWvvDdG2EoPMl7e1m6tEkvNnaprqkMSD5HjwOyoTKhJdTi LGl9PYm6LwKXIQHiHpafYypT9H/N90UwCi7m5zPaIEc0+Nj34IHr/ymKBJ8nmQhtn2Cx yuSg== 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=p9w7P/A2OBELZ1Bq0/ol6GtvG2PGvbv8sCU2FOhAfqU=; b=OBIhUJisuaxzrqeoSKxx8CCTsMJiQBpe/Ufp9jqD6w6gc6L/hpaCa9u+eEmS6tn6nl qntFqPuzbrm3SukV797MJU0ehTjXRUqajStlKUe7vwqb/8I30t6n1j3Y82RSkdWQpTIK L3h9xrk5Lnjg0yCH23vdhV7BcioStQ3CVjrYib8ZOmcpRkeVk86nLXYn4bQttO8IB3MQ nEEDmpOqGRYcugfuZTsFdC9V6NUuHFqV9JHPopB8wA12LrYf71qR/toXhAxuPRLP/DQ2 U1qD/cEi+6WWbrBvzeJNIU8alrCdP2FeitPBZRpVcZ4z852vYG4WtUZk7LjSxD6ogIJW e6Gw== 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 o6si6566711edi.562.2020.10.30.06.37.48; Fri, 30 Oct 2020 06:38:11 -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 S1726642AbgJ3NgQ (ORCPT + 99 others); Fri, 30 Oct 2020 09:36:16 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:41025 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725939AbgJ3NgP (ORCPT ); Fri, 30 Oct 2020 09:36:15 -0400 Received: by mail-ot1-f68.google.com with SMTP id n15so5530713otl.8; Fri, 30 Oct 2020 06:36:14 -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=p9w7P/A2OBELZ1Bq0/ol6GtvG2PGvbv8sCU2FOhAfqU=; b=NzLpWHsAvYNTolBxXQtrSWMwPVeQ/wP544OChmtkBqrHfdCFRlpFyWrElvirjPgc6u b5mFkF7991En9d2o+Fl19m5174MdvzhXQUdtQq4fx5Dn4YxXEcpvIvfTIzQCu1u3bgP8 UZl/cpk4hrSKB1/aFrQBjRwa9O25fhafpYir2+T1mC/glc0NSPCulAFCSr97qr4vfRyO gGXI2fV09UizMpz2QsXsSthmEctJzI5cc7T1YvP1xtTLS/DEP5lcGTtDwKhckC+Ga9jt F/leoHKQRv4Me3mdUTGEwpJ+9ZKYqyyUN4uNcztv7JMBtn3BCdHowpZ3s5HwAnUi26By ByaA== X-Gm-Message-State: AOAM533EPK+s/d0bdqEgbFC7gYmBcvgIrj3LrrQ8IcY6L+r/EW/fCjqG SaCr3Q5HuLQYPjLOdLSD/w== X-Received: by 2002:a9d:12ab:: with SMTP id g40mr1787031otg.369.1604064974636; Fri, 30 Oct 2020 06:36:14 -0700 (PDT) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id i14sm1351759ota.59.2020.10.30.06.36.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 06:36:13 -0700 (PDT) Received: (nullmailer pid 3724590 invoked by uid 1000); Fri, 30 Oct 2020 13:36:12 -0000 Date: Fri, 30 Oct 2020 08:36:12 -0500 From: Rob Herring To: Guru Das Srinagesh 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: <20201030133612.GB3721479@bogus> References: <6c6bd3601ec8f4c68f581452fca3ef96f2ae94f9.1603869292.git.gurus@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6c6bd3601ec8f4c68f581452fca3ef96f2ae94f9.1603869292.git.gurus@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > 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 >