diff options
author | Jakob Hauser <jahau@rocketmail.com> | 2023-05-15 22:57:14 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-06-08 19:17:14 +0200 |
commit | b7653853d5b12637c16b5ca5c8bab39b486bfe99 (patch) | |
tree | 7c2409716ea0b8785d6085956090339b35a308bc /drivers/power/supply/Kconfig | |
parent | mfd: rt5033: Apply preparatory changes before adding rt5033-charger driver (diff) | |
download | linux-b7653853d5b12637c16b5ca5c8bab39b486bfe99.tar.xz linux-b7653853d5b12637c16b5ca5c8bab39b486bfe99.zip |
power: supply: rt5033_charger: Add RT5033 charger device driver
This patch adds device driver of Richtek RT5033 PMIC. The driver supports
switching charger. rt5033 charger provides three charging modes. The charging
modes are pre-charge mode, fast charge mode and constant voltage mode. They
vary in charge rate, the charge parameters can be controlled by i2c interface.
Tested-by: Raymond Hackley <raymondhackley@protonmail.com>
Signed-off-by: Jakob Hauser <jahau@rocketmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/9556d4ebb30fd321e37aa0eb343554122e4720c9.1684182964.git.jahau@rocketmail.com
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r-- | drivers/power/supply/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index c78be9f322e6..ea11797670ca 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -766,6 +766,14 @@ config BATTERY_RT5033 The fuelgauge calculates and determines the battery state of charge according to battery open circuit voltage. +config CHARGER_RT5033 + tristate "RT5033 battery charger support" + depends on MFD_RT5033 + help + This adds support for battery charger in Richtek RT5033 PMIC. + The device supports pre-charge mode, fast charge mode and + constant voltage mode. + config CHARGER_RT9455 tristate "Richtek RT9455 battery charger driver" depends on I2C |