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, 4 Feb 2022 02:13:30 +0000 (11:13 +0900)
commitc74078fcc8869f5240e586e6a67fab8394ffd08c
tree203044a8833c7f567af473a621a9cda047d55971
parentd5f260959eb007dfffc71535d4fe543b2b37dd0b
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