Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp299342pxx; Thu, 29 Oct 2020 03:00:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0seFqutzrlEp5RyE+AlkJyrKwJuSEjij2zNfQGfCx+9xfSUUPmkoEM5yBcYvMe0dNvo6a X-Received: by 2002:a17:906:b1c9:: with SMTP id bv9mr3244811ejb.495.1603965636523; Thu, 29 Oct 2020 03:00:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603965636; cv=none; d=google.com; s=arc-20160816; b=rY5WpKTd4x6JOKy/ZDOQs8iQgOePJnuSrBxyLYrpfNgUVrnEiBfX6EkeQCtgSxYLSn AFqjjgH1rhqFbVsc8w95UgB2GyvD7LVO9+rH1I8sgKHMkjf3TN3QQvNb/UCvtn8hRWHd x8EUYisX57D58T/oOEdoQMokl3+bwK5387LhryuT1wBJRotm/YSMfmyXm4FL+eMzuGCv mQY7xSXpJlLkjWcAiicnbO7jv6XK0vjgtIbN6VoXhXbRolG7U12nOYA2cMrFZwvgFFRB xy0QJfQrrzflVL5Nwi3mr7ZwnnefcpNieJWlb3G1LegADd9K2iGmRW4EXx9z3tWqsLQ/ vZYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:references:in-reply-to :message-id:date:subject:cc:to:from; bh=JVOcgKlr2EG7FK7ow84hiPipYRld8d4c9wivz/zltn0=; b=Ay70AffO72KdxFkfR48fdw4KmEkQ8uSpYn9dy73StntwGZ7YCdIF2nR9tH+kqcC/hy uIE0bF19NbLqc9B7eUpsxkSJSPFT2RWjAJANVz89sJRAkR+EznJSk0H36K7tqbsqqZBQ hUNMxxwG6LMg+sux8m9waFUJpNTbW2IF0lobVqGPitpZciV5AW+QScStHI6K1tGlOM3n o4d4fi7KtCiItKYNGYHh50KtvElj34KGZ8nEWxRkvEOGGm7wdpluKWN/Jtaz3d0SS0Mo AQcruE2t5MdmbtdsAhmNDG1wnuP50Nuhp+TccQRFJkWaWpwD05wIAvhzJULI95eP1iXg VvzA== 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 y19si1344689ejd.730.2020.10.29.03.00.14; Thu, 29 Oct 2020 03:00:36 -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 S2390382AbgJ1X0A (ORCPT + 99 others); Wed, 28 Oct 2020 19:26:00 -0400 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:53231 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390354AbgJ1XZR (ORCPT ); Wed, 28 Oct 2020 19:25:17 -0400 Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-02.qualcomm.com with ESMTP; 28 Oct 2020 00:18:57 -0700 X-QCInternal: smtphost Received: from gurus-linux.qualcomm.com ([10.46.162.81]) by ironmsg01-sd.qualcomm.com with ESMTP; 28 Oct 2020 00:18:56 -0700 Received: by gurus-linux.qualcomm.com (Postfix, from userid 383780) id 35CD61B4B; Wed, 28 Oct 2020 00:18:56 -0700 (PDT) From: Guru Das Srinagesh To: Andy Gross , Bjorn Andersson , linux-arm-msm@vger.kernel.org, Rob Herring Cc: Subbaraman Narayanamurthy , David Collins , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Boyd , Guru Das Srinagesh , Anirudh Ghayal Subject: [PATCH v4 2/3] bindings: pm8941-misc: Add support for VBUS detection Date: Wed, 28 Oct 2020 00:18:53 -0700 Message-Id: <6c6bd3601ec8f4c68f581452fca3ef96f2ae94f9.1603869292.git.gurus@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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