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