summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.battery
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2021-09-23 18:07:47 +0800
committerCommit Bot <commit-bot@chromium.org>2022-02-11 14:13:11 +0000
commit39cd60d097908db09d737389b118fdecf54ef17c (patch)
treec24c821aeca0dce776bae3acf6cdcd6a3e632a39 /zephyr/Kconfig.battery
parenta2fbef244fbfd60c74a54bff6d4823294ab2f963 (diff)
downloadchrome-ec-39cd60d097908db09d737389b118fdecf54ef17c.tar.gz
driver: implement rt9490 driver
Implement the charger interface for RT9490 charger/bc1.2 detection chip. BC1.2 interface will be in another CL. BUG=b:194967754 TEST=Manually verified charger function on Krabby BRANCH=none Signed-off-by: Ting Shen <phoenixshen@google.com> Change-Id: If334aacafe8f23fdab4558b44fe6ac94a3c7a0be Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3178800 Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.battery')
-rw-r--r--zephyr/Kconfig.battery10
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/Kconfig.battery b/zephyr/Kconfig.battery
index e81fd64cb0..deaab091d9 100644
--- a/zephyr/Kconfig.battery
+++ b/zephyr/Kconfig.battery
@@ -255,6 +255,16 @@ config PLATFORM_EC_CHARGER_RAA489000
Enables the driver for the Renesas RAA489000 battery charger
with integrated USB-C TCPC.
+config PLATFORM_EC_CHARGER_RT9490
+ bool "Use the RT9490 charger"
+ depends on PLATFORM_EC_I2C
+ select PLATFORM_EC_CHARGER_OTG_SUPPORTED
+ help
+ Enables the driver for the Richtek RT9490 battery charger
+ controller. This is a highly-integrated 5A Buck-Boost switch mode
+ battery charge management and system power path management device for
+ 1-4 cell Li-Ion and Li-polymer battery.
+
config PLATFORM_EC_CHARGER_SM5803
bool "Use the SM5803 charger"
depends on PLATFORM_EC_I2C