From patchwork Mon Nov 2 20:34:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guru Das Srinagesh X-Patchwork-Id: 11875209 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 689FB139F for ; Mon, 2 Nov 2020 20:35:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4C3522240C for ; Mon, 2 Nov 2020 20:35:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726337AbgKBUfB (ORCPT ); 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-arm-msm@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