extcon: qcom-spmi: Add support for VBUS detection
authorAnirudh Ghayal <aghayal@codeaurora.org>
Tue, 26 Jan 2021 00:38:32 +0000 (16:38 -0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 8 Apr 2021 04:10:16 +0000 (13:10 +0900)
commit7b1222b224aff41739319ae81cd266825464ad8f
tree6cca1f05ac2e24f429aec098a265dfa51f8cdf8b
parent4fcdd677c4ea0f57eda1be6fcd965ddd7d9551d6
extcon: qcom-spmi: Add support for VBUS detection

VBUS can be detected via a dedicated PMIC pin. Add support
for reporting the VBUS status.

Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-qcom-spmi-misc.c