Skip to content

Commit e86d69d

Browse files
andanicolaesre
authored andcommitted
power_supply: Add support for Richtek RT9455 battery charger
Based on the datasheet found here: http://www.richtek.com/download_ds.jsp?p=RT9455 Signed-off-by: Anda-Maria Nicolae <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 21472a5 commit e86d69d

File tree

3 files changed

+1759
-0
lines changed

3 files changed

+1759
-0
lines changed

drivers/power/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,13 @@ config BATTERY_RT5033
460460
The fuelgauge calculates and determines the battery state of charge
461461
according to battery open circuit voltage.
462462

463+
config CHARGER_RT9455
464+
tristate "Richtek RT9455 battery charger driver"
465+
depends on I2C && GPIOLIB
466+
select REGMAP_I2C
467+
help
468+
Say Y to enable support for Richtek RT9455 battery charger.
469+
463470
source "drivers/power/reset/Kconfig"
464471

465472
endif # POWER_SUPPLY

drivers/power/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o
3737
obj-$(CONFIG_BATTERY_MAX17042) += max17042_battery.o
3838
obj-$(CONFIG_BATTERY_Z2) += z2_battery.o
3939
obj-$(CONFIG_BATTERY_RT5033) += rt5033_battery.o
40+
obj-$(CONFIG_CHARGER_RT9455) += rt9455_charger.o
4041
obj-$(CONFIG_BATTERY_S3C_ADC) += s3c_adc_battery.o
4142
obj-$(CONFIG_BATTERY_TWL4030_MADC) += twl4030_madc_battery.o
4243
obj-$(CONFIG_CHARGER_88PM860X) += 88pm860x_charger.o

0 commit comments

Comments
 (0)