]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: int3496: Add support for controlling Vbus through a regulator
authorHans de Goede <hdegoede@redhat.com>
Tue, 28 Dec 2021 17:01:41 +0000 (18:01 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 13 May 2022 08:03:40 +0000 (17:03 +0900)
commit99735e851a4e4a700725c58e6bdf509a0ef401bd
treefad46a0eb0992ff997294509c6b5a1ba8af9b325
parentfbd548cc9cdcd0ff20b8961905e271f4f3857786
extcon: int3496: Add support for controlling Vbus through a regulator

On some boards the 5V vboost-regulator for powering devices connected to
the micro USB connector is not controlled through a GPIO. This happens
for example when the 5V vboost-regulator is integrated into the charger IC
and controlled over I2C.

Add support for controlling the 5V vboost-regulator through the regulator
framework for such boards.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-intel-int3496.c