Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3845486pxu; Tue, 20 Oct 2020 01:50:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3HGbCVpDDaLmphsoH0ii3ofrogUHGLshU599ICg7kRU/jbmjKwjlvnzpubpQ5AC2DUWh5 X-Received: by 2002:aa7:de95:: with SMTP id j21mr1700405edv.199.1603183841781; Tue, 20 Oct 2020 01:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603183841; cv=none; d=google.com; s=arc-20160816; b=IwfGI5ChOi9wQ6QNvnNa5YnLq2LRQcI+voC+NMskfLvkI21BqnYnIfFXR9z9ZQGhEH RHEZaPrPfX/LHL1OQE4T17QTXTWeA1gqlB52/BBcmf7Nc0fDkaVFxOscQ0jwW0e8f4V5 qj4fNcg8DS1df3vr8PvxToBvxLI5BdDT/PfxuSzpqlBGKkBWWXJp3+Lrgg83iuo9VdEc V+Pf3VYeXYEBQM9cbiOMngrbJRgyJqR5/qvO/gOnaqJBFvSuW5Oom8NeoleZpFvX0Pol fHy0kh6H4MwwQvaTdmlveWqLgN0NriZL9BZk/ruM2nNTBZalV8u6jqByCsYNaFQF7bpf +CpA== 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=eUJSDsejFoCPoHY1P5NvNIKU1yrM1r6n9IQxeJi91Kg=; b=sfQU9fMryzHueqRHxO6a3jgA3JqccKSm30PnA/CbEObC5r2BErHBsHhGQkKIj4+BVB trMm/46APRSk1zQ5GmU5mE9nVTNlcyp7bMC0gxIN0gCS8nh1KxoQ6NAm8yf31GsxaCqf iHaJDhJCnxlc4kiDogoxVKdE8K4P9jA4M52zmMctf/7K12l+uQxj/H1tFtzNMow5HBlB K+pdTeeO6ku3xy/l1l9RWUIOOATSOE6Kj4eTCEdr/l1gHS1GC7FF5EhHQnmOI0s5LkPt Zt1eEn9ZdvuAZlkF0NtaupeBhbFoFIMZHgKynR+KofNR2QuJcImZoexDhyR9RzV7bcIr kRzQ== 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 v1si990590ejd.624.2020.10.20.01.50.19; Tue, 20 Oct 2020 01:50:41 -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 S2389514AbgJTAm2 (ORCPT + 99 others); Mon, 19 Oct 2020 20:42:28 -0400 Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]:39859 "EHLO alexa-out-sd-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389496AbgJTAm1 (ORCPT ); Mon, 19 Oct 2020 20:42:27 -0400 Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-01.qualcomm.com with ESMTP; 19 Oct 2020 17:42:26 -0700 X-QCInternal: smtphost Received: from gurus-linux.qualcomm.com ([10.46.162.81]) by ironmsg04-sd.qualcomm.com with ESMTP; 19 Oct 2020 17:42:25 -0700 Received: by gurus-linux.qualcomm.com (Postfix, from userid 383780) id C4229196D; Mon, 19 Oct 2020 17:42:25 -0700 (PDT) From: Guru Das Srinagesh To: Andy Gross , Bjorn Andersson , linux-arm-msm@vger.kernel.org, Stephen Boyd Cc: Subbaraman Narayanamurthy , David Collins , linux-kernel@vger.kernel.org, Guru Das Srinagesh Subject: [PATCH v2 0/2] Add support for VBUS detection Date: Mon, 19 Oct 2020 17:42:23 -0700 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 v1: - Change bindings from txt to YAML. Anirudh Ghayal (2): bindings: pm8941-misc: Convert to YAML and add support for VBUS detection extcon: qcom-spmi: Add support for VBUS detection .../bindings/extcon/qcom,pm8941-misc.txt | 41 --------- .../bindings/extcon/qcom,pm8941-misc.yaml | 56 ++++++++++++ drivers/extcon/extcon-qcom-spmi-misc.c | 100 +++++++++++++++++---- 3 files changed, 137 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