]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2670dfdd5c75b5e4707cb72b71766dc61861d04b
tree6cca1f05ac2e24f429aec098a265dfa51f8cdf8b
parent6ff23fa532f9976ad7a5af807773561a9c0e206b
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