summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorSameer Nanda2018-05-02 17:44:17 +0200
committerSebastian Reichel2018-07-05 17:12:52 +0200
commitf68b883e8fad23ed0ac4756d91594809d78678ed (patch)
treeb4ecfafd890b17db360f57d893755aead233bc1f /drivers/power/supply/Kconfig
parentMerge tag 'ib-mfd-v4.19' into psy-next (diff)
downloadkernel-qcow2-linux-f68b883e8fad23ed0ac4756d91594809d78678ed.tar.gz
kernel-qcow2-linux-f68b883e8fad23ed0ac4756d91594809d78678ed.tar.xz
kernel-qcow2-linux-f68b883e8fad23ed0ac4756d91594809d78678ed.zip
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/Kconfig10
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