Skip to content

Commit 4a1a5f6

Browse files
ChiYuan Huangsre
authored andcommitted
power: supply: rt9471: Add Richtek RT9471 charger driver
Add support for the RT9471 3A 1-Cell Li+ battery charger. The RT9471 is a highly-integrated 3A switch mode battery charger with low impedance power path to better optimize the charging efficiency. Co-developed-by: Alina Yu <[email protected]> Signed-off-by: Alina Yu <[email protected]> Signed-off-by: ChiYuan Huang <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 2bc68e5 commit 4a1a5f6

File tree

3 files changed

+948
-0
lines changed

3 files changed

+948
-0
lines changed

drivers/power/supply/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,22 @@ config CHARGER_RT9455
793793
help
794794
Say Y to enable support for Richtek RT9455 battery charger.
795795

796+
config CHARGER_RT9471
797+
tristate "Richtek RT9471 battery charger driver"
798+
depends on I2C && GPIOLIB && REGULATOR
799+
select REGMAP_I2C
800+
select REGMAP_IRQ
801+
select LINEAR_RANGES
802+
help
803+
This adds support for Richtek RT9471 battery charger. RT9471 is
804+
highly-integrated switch mode battery charger which is system power
805+
patch manageable device for single cell Li-Ion and Li-polymer battery.
806+
It can support BC12 detection on DPDM, and current and voltage
807+
regulation on both charging and boost mode.
808+
809+
This driver can also be built as a module. If so, the module will be
810+
called rt9471.
811+
796812
config CHARGER_CROS_USBPD
797813
tristate "ChromeOS EC based USBPD charger"
798814
depends on CROS_USBPD_NOTIFY

drivers/power/supply/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ obj-$(CONFIG_BATTERY_MAX1721X) += max1721x_battery.o
5757
obj-$(CONFIG_BATTERY_Z2) += z2_battery.o
5858
obj-$(CONFIG_BATTERY_RT5033) += rt5033_battery.o
5959
obj-$(CONFIG_CHARGER_RT9455) += rt9455_charger.o
60+
obj-$(CONFIG_CHARGER_RT9471) += rt9471.o
6061
obj-$(CONFIG_BATTERY_S3C_ADC) += s3c_adc_battery.o
6162
obj-$(CONFIG_BATTERY_TWL4030_MADC) += twl4030_madc_battery.o
6263
obj-$(CONFIG_CHARGER_88PM860X) += 88pm860x_charger.o

0 commit comments

Comments
 (0)