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)
commit4c018cc87e5592f5bb8160e6fd42059778e1b0dc
treefad46a0eb0992ff997294509c6b5a1ba8af9b325
parentc26aef6d396b015d89a10a3b433dc9d7f759bb9f
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