Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp13713pxb; Mon, 2 Nov 2020 12:37:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwpZHq3nHtfDhenMgnfVRbwoC4jfJyIi7lx1KrUX6MCxPuuY/4sx+1KaZH4Wc+CV26WWc3i X-Received: by 2002:a05:6402:c8d:: with SMTP id cm13mr15983587edb.340.1604349429219; Mon, 02 Nov 2020 12:37:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604349429; cv=none; d=google.com; s=arc-20160816; b=U/9183836+ZQXERyngAIZC2GRGEik2LfHVy5WMPxTjMeFtwTKp9D8UAK686Nxni/dt KddaC7rpwkrMbjcddNkJL98vzHmSxwi7j0EeJBJneiuQJWYzKZ2CE8EG0fvBk6uwSDJY dIMPP8bE/rc+sk832bTl+gRDEZALUJGqEcXlj4v3wLhlqQnHmZGTy65YtN1WLIsXsg5l e5q+5zkbMZSV6jfqb2Gph29BC85mtRTXD0mdK5oVeNRDQFC6H7G61RKcQELLItPs7m53 JCft0WwU9xdcy0BZhv+YsKnzI5lZuZC6XvyNqRKUDv/1Qbci3DvEIOZS6CI2h2hTjxlP iSLA== 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=UxFKpgsIVcI3KCkm+zXxN79h4WJVgM8jOivDF7rgEOM=; b=swOg3K7jGWBpOcq2EtYS5T5fJQPBEevdd1KMEIQdClhQXA0cLVzPb0FghUwoyoRAn9 eUcITE0+fyXQmA77+9rWJAbUlbAk8IxXeH7NaiKP10ffTSbaxT7wd7w3knAnwsVTwaHa YDuwLkhW7KhJPZuZKx2JvAQwaH+VTSWaDYDg0z0aJ0DHHI5XhrSOzeGctj/DNZIwoYjG R29axWBu5ciNs5c4Hhm5tO/RUhZnLb8BYioB0+6JsEV8G7gnxmZFky/Bcz8okE1+sx/a OWu8jWV8hp1otBr7Z2vl1EGkOmGuX5Waoyt0hAo3hIIn+eW5MbsdHBvEiGGKaPUPy5Cn /ZEQ== 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 u15si13346327edt.425.2020.11.02.12.36.46; Mon, 02 Nov 2020 12:37:09 -0800 (PST) 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 S1726903AbgKBUfI (ORCPT + 99 others); Mon, 2 Nov 2020 15:35:08 -0500 Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]:37757 "EHLO alexa-out-sd-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726104AbgKBUfB (ORCPT ); Mon, 2 Nov 2020 15:35:01 -0500 Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-01.qualcomm.com with ESMTP; 02 Nov 2020 12:35:00 -0800 X-QCInternal: smtphost Received: from gurus-linux.qualcomm.com ([10.46.162.81]) by ironmsg05-sd.qualcomm.com with ESMTP; 02 Nov 2020 12:35:00 -0800 Received: by gurus-linux.qualcomm.com (Postfix, from userid 383780) id 77B121874; Mon, 2 Nov 2020 12:35:00 -0800 (PST) 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 v5 2/3] bindings: pm8941-misc: Add support for VBUS detection Date: Mon, 2 Nov 2020 12:34:58 -0800 Message-Id: <09cc8600ccf884d00d8cfac6af2c5af6cc89e2d8.1604349076.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 interrupt 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 | 5 ++++- 1 file changed, 4 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..6a9c96f 100644 --- a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml +++ b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml @@ -22,11 +22,14 @@ properties: 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