diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-05-03 10:00:41 -0700 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-05-03 22:16:08 +0200 |
commit | 9a2688e42638f2e057dbdfce82e221b38bfba0a7 (patch) | |
tree | 1c090b4db1d06f1427bf86b84b431079cebb61a2 /drivers/power/supply/Kconfig | |
parent | 7df8f2d00ddb54da995d552aa0f599b1daf7e662 (diff) | |
download | linux-9a2688e42638f2e057dbdfce82e221b38bfba0a7.tar.bz2 |
power: supply: Add driver for Microchip UCS1002
Add driver for Microchip UCS1002 Programmable USB Port Power
Controller with Charger Emulation. The driver exposed a power supply
device to control/monitor various parameter of the device as well as a
regulator to allow controlling VBUS line.
Signed-off-by: Enric Balletbo Serra <enric.balletbo@collabora.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-kernel@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r-- | drivers/power/supply/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index 4728a218656f..fb813b14d55d 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -671,4 +671,13 @@ config FUEL_GAUGE_SC27XX Say Y here to enable support for fuel gauge with SC27XX PMIC chips. +config CHARGER_UCS1002 + tristate "Microchip UCS1002 USB Port Power Controller" + depends on I2C + depends on OF + select REGMAP_I2C + help + Say Y to enable support for Microchip UCS1002 Programmable + USB Port Power Controller with Charger Emulation. + endif # POWER_SUPPLY |