Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4719594pxu; Wed, 21 Oct 2020 03:43:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfolfSzQ/XocxRzwrYjJwWuC+DnexK77rnLTzCdVZqbNzme8zMNTh72JyU2qMydsdeWIVu X-Received: by 2002:aa7:dd01:: with SMTP id i1mr2472217edv.84.1603276999190; Wed, 21 Oct 2020 03:43:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603276999; cv=none; d=google.com; s=arc-20160816; b=trZI68/0Axn/Ovh4BgMBv5N9HFr9UtbLhGulShD6ty/4O0+XFoF9dtvQ36W82BSZKj o9PWbiq41OqPsrnyy05ZZwv8LbzIm4xgxbe8jl4zpeDx2gm9K9yZ8Itj1o2PT2KydE1j dDbJ1Oo5AAmZNTLoV8o1uXLGJM6GQwK4SN7R1/eSxlq4uRpMV9EAlNtgB3s+pZ0Ip1PD nhDVp91Tjk26M/bWr6Ellyl5MvZfPZ7XK5MvqdUEsr4YL2bTpJhBnUB2WEEJ13JKN1Mm P/zwtZokk4dn1LvXce2/+qtH4qVLsLXfN/0Enpxi2zWnzMm/d8toJxBy8JJRWLe5oXzl s3oA== 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=3W+L7udaBreYWMBidU4ke8MOUBFywNJGIjjjBF80B14=; b=VJs9+afgW17CwklW++PsR+OZ8rw5vRN2vNqeB5ZROmBzz/vOAgR/XwzA+x4m9q9sEz DuOnZ8N3ZkGPyKPat3676wTHNNwLe8UQqy0/9tvQLDwtrX9a4fc9bwlY+QxQbXCF9cPH wki7EYd6N8r+nVCL4+7J8aLXxviO6Lr4bpRIZ2/VhyM0T2O/9snXwcXExOAep75yM5sV ahPsWunOvBn4/LKSDXV1MYwj8f0ETGQlYQ2TJnH1O/ZSxFh1CL66pGgfNMRy44TXKMtp /OiaRaO0i+Jz97qaf0fpCaBqz1RRT83qvX8DRUuk0hF3EIJ1TqLAJM3uAC1OwjClXUF2 8utA== 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 y8si501661ejq.159.2020.10.21.03.42.56; Wed, 21 Oct 2020 03:43:19 -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 S2388242AbgJTWRg (ORCPT + 99 others); Tue, 20 Oct 2020 18:17:36 -0400 Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]:18931 "EHLO alexa-out-sd-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727155AbgJTWRg (ORCPT ); Tue, 20 Oct 2020 18:17:36 -0400 Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-01.qualcomm.com with ESMTP; 20 Oct 2020 15:17:35 -0700 X-QCInternal: smtphost Received: from gurus-linux.qualcomm.com ([10.46.162.81]) by ironmsg05-sd.qualcomm.com with ESMTP; 20 Oct 2020 15:17:35 -0700 Received: by gurus-linux.qualcomm.com (Postfix, from userid 383780) id 10C5B194C; Tue, 20 Oct 2020 15:17:35 -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 Subject: [RESEND PATCH v2 0/2] Add support for VBUS detection Date: Tue, 20 Oct 2020 15:17:23 -0700 Message-Id: X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (Re-sending to add devicetree mailing list) 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