]> 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)
commit31c96b9795a24ce0bce9239614158569b5d00178
tree6cca1f05ac2e24f429aec098a265dfa51f8cdf8b
parenta879ac19f1d2d01f633b5d4d1e200c06a241114b
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