Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp13560pxb; Mon, 2 Nov 2020 12:36:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJzzsPOH399LQOD+c+dZ+wW9UIVlm+ZVwFMcMTZvTfggEaWywAs2Ah78Y2NLUEsliW2aGoD/ X-Received: by 2002:a17:906:32d7:: with SMTP id k23mr16693761ejk.294.1604349406887; Mon, 02 Nov 2020 12:36:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604349406; cv=none; d=google.com; s=arc-20160816; b=KjLyMsiJg5/fuo2RO1sCecKSNpkMVxeQ2iYJ+AjVP6B+vf51DFTfH4ZpbT+L84/3pw fPjPY5GikRItfg8AbNl5FDCWKJkUZW5Plv0ClfLCe5D5fqCxXRqDXkfRV3DquqkWmSsH URlE+UmUuqHDrhmgsYPr8eWCcdhtFn54wGAjdlBx+su4H1PA2QDIdbOG9Lmd6lA1yR0e DBer6VWWhtVM5XHGyC342pIFHLSpyNTvJH1OLueIv1bWf4mnrK6/ypeSGvGXfblV6z2J kiCEvD2/2zQ143V5fOTOM9K7Laqq+tMpGv5vSBwDOE/aJdWFynrS0tR9YXr7XP/upka/ dVBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=XAE6dQ05Z3i2V3Pn3BfBTIWRQoHqWj9SOVyf3NwqjqA=; b=Dy9MCKfBz0AVswuYvCAqgopAWanhzyQ4c2AltdXkaWRfYNM2e/Nl+cv9H+t6U2h7YF I5U7/Ty32ayDLvbntrbLaKWQFbmIU3z7GkfATrR+xSLJZeoV5ju8o+WT4iUfe71tEUFA k4D6V733ynK6Nt8UQSOCEpkeMLIHl1UkR4EQACFf2wi3y0WZuM4limIdP9LbsCYuJmmC bCaN3yDxtuPFvD6fpKIFmzhIYYx9z4Di1aCrrjawzIkr2HIuwfS6ajO1ohco01xTJHZ0 lZcRp9Pg/dTguXpwvmbg/Z7aOD8d0Y8iPbpoDOSux4dFxRo2S3nCIq348ecpZXLo0Bql wL5g== 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 w3si10769534ejo.13.2020.11.02.12.36.23; Mon, 02 Nov 2020 12:36:46 -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 S1726525AbgKBUfB (ORCPT + 99 others); Mon, 2 Nov 2020 15:35:01 -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 S1726070AbgKBUfB (ORCPT ); Mon, 2 Nov 2020 15:35:01 -0500 Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) 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 ironmsg-SD-alpha.qualcomm.com with ESMTP; 02 Nov 2020 12:35:00 -0800 Received: by gurus-linux.qualcomm.com (Postfix, from userid 383780) id 4C4F01948; 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 Subject: [PATCH v5 0/3] Add support for VBUS detection Date: Mon, 2 Nov 2020 12:34:56 -0800 Message-Id: X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support to enable VBUS detection in the pm8941 extcon driver. Changes from v4: - Drop addition of new compatible string in both bindings and driver. Changes from v3: - Split bindings into direct conversion of txt file, and addition of VBUS detection support. Changes from v2: - Fix YAML errors in dt binding document. Changes from v1: - Change bindings from txt to YAML. Anirudh Ghayal (1): extcon: qcom-spmi: Add support for VBUS detection Guru Das Srinagesh (2): bindings: pm8941-misc: Convert bindings to YAML bindings: pm8941-misc: Add support for VBUS detection .../bindings/extcon/qcom,pm8941-misc.txt | 41 --------- .../bindings/extcon/qcom,pm8941-misc.yaml | 62 ++++++++++++++ drivers/extcon/extcon-qcom-spmi-misc.c | 99 +++++++++++++++++----- 3 files changed, 142 insertions(+), 60 deletions(-) delete mode 100644 Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt create mode 100644 Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project