diff options
author | Sameer Nanda <snanda@chromium.org> | 2018-05-02 18:44:17 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2018-07-05 18:12:52 +0300 |
commit | f68b883e8fad23ed0ac4756d91594809d78678ed (patch) | |
tree | b4ecfafd890b17db360f57d893755aead233bc1f /drivers/power/supply/Kconfig | |
parent | 0d08901ba8765134dd1e78b933a79a52b8561f04 (diff) | |
download | linux-f68b883e8fad23ed0ac4756d91594809d78678ed.tar.xz |
power: supply: add cros-ec USBPD charger driver.
This driver gets various bits of information about what is connected to
USB PD ports from the EC and converts that into power_supply properties.
Signed-off-by: Sameer Nanda <snanda@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r-- | drivers/power/supply/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index 428b426842f4..046eb23ba6f0 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -624,4 +624,14 @@ config CHARGER_RT9455 help Say Y to enable support for Richtek RT9455 battery charger. +config CHARGER_CROS_USBPD + tristate "ChromeOS EC based USBPD charger" + depends on MFD_CROS_EC + default n + help + Say Y here to enable ChromeOS EC based USBPD charger + driver. This driver gets various bits of information about + what is connected to USB PD ports from the EC and converts + that into power_supply properties. + endif # POWER_SUPPLY |