Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp265479pxu; Thu, 22 Oct 2020 23:15:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQWIi0u6iV0w55EccPrhxjnd+6XvT0HI/zEvSnSWSMJRf0HgGARcocZXx3oO/P/4C2Gbl1 X-Received: by 2002:a05:6402:1684:: with SMTP id a4mr743935edv.319.1603433717337; Thu, 22 Oct 2020 23:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603433717; cv=none; d=google.com; s=arc-20160816; b=fosruQ95h83bd7l2TYWWnHc9fv3zVYk5o+73rA1z0aHsXPJaN6/MWWwjy0CiX1Bksf x0Sd/FFPN1exFFkHjP1USPupr8wzuNYlVPpsGGCiL1/vx/my0QljVaBTzQgAAZLyqaXg qJd3wPoTkOGxDp34XzyyGbIsVyunqmc/ZL6vy8Pi1V8vCVrF5T6AxxTyHiFDCMpQGmtX XlOIQwIqLkhghUP03mMG5L+nkAkgrWSBnbPCXC/GsLaJ5RlKotyMdW7Wf857nIJ6Hlf9 UJ0gsqPaH1ooTfg7R19CPSLLxFtG+S80OwnKRnSQ9nMZV2rq2j5DHPZjkR3Zeyy1vMqe PTCA== 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=QlWDh5/BAJ3UTlXeP3Cejm8++x+gP15gvHRWVLm2qys=; b=uRkPWv/hGu0qjgAg1YbETfP2W93ykaVKS+BP8rAi7ibF0g0V88vbVu7tJmgzPur109 gbxVg73ASILkvSWCMdnejlvgbRKOCaQAQnIf/5jCTQiROuMA1PqbY0/JeaGq+HN8M2FI 997BUKJchOLQO+FPEZj4BR0tZ0Angf8m+AXTqNjO3ibHUQ3IM2Kq1YdbqEiIq/Vlur4o 8XCTB1ooYOWWfNBZ+MkT3jJ75JJ0KWYqhrpQ9dXsc369KtWx7SI2gxVevqsBM8bBZgdu MSjxX69/A5lJc+FCsC+I1AWHJVDUycCRCz5wW7PSo6ckC84GSO1Qeanbs+XfJ/P07YiJ bmtA== 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 j12si249403ejt.283.2020.10.22.23.14.54; Thu, 22 Oct 2020 23:15:17 -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 S372466AbgJVVrq (ORCPT + 99 others); Thu, 22 Oct 2020 17:47:46 -0400 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:49240 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S372459AbgJVVrq (ORCPT ); Thu, 22 Oct 2020 17:47:46 -0400 Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 22 Oct 2020 14:47:45 -0700 X-QCInternal: smtphost Received: from gurus-linux.qualcomm.com ([10.46.162.81]) by ironmsg-SD-alpha.qualcomm.com with ESMTP; 22 Oct 2020 14:47:45 -0700 Received: by gurus-linux.qualcomm.com (Postfix, from userid 383780) id DA866193C; Thu, 22 Oct 2020 14:47:44 -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: [PATCH v3 0/2] Add support for VBUS detection Date: Thu, 22 Oct 2020 14:47:42 -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 v2: - Fix YAML errors in dt binding document. 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 | 65 ++++++++++++++ drivers/extcon/extcon-qcom-spmi-misc.c | 100 +++++++++++++++++---- 3 files changed, 146 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