Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0d7b451 authored by st-sw's avatar st-sw Committed by Ashay Jaiswal
Browse files

power: Add STC3117 Fuel Gauge driver

Linux driver for STC3117 battery monitoring IC from
STMicroelectronics.

Git-commit:	47b14a831a4e89b6ef62bffd95f26d7d8fbeea1d
Git-repo: https://github.com/st-sw/STGasGaugeLinuxDrivers


[aghayal@codeaurora.org: Fixed trivial merge conflicts,
compilation errors and updated the commit text]

Change-Id: I4fcbd2fb06f2869253bd5aa500d5fb6a42caf31b
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent a660e4d0
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -495,6 +495,16 @@ config QPNP_SMBCHARGER
	  The driver also offers relevant information to userspace via the
	  power supply framework.

config FUELGAUGE_STC3117
	tristate "STC3117 fuel gauge driver"
	default n
	depends on I2C
	help
	  Say Y to include support
	  for STC3117 fuel gauge driver for batteries.
	  This driver source code implemented
	  all functions for STC3117 fuel gauge.

config QPNP_FG
	tristate "QPNP fuel gauge driver"
	depends on SPMI || MSM_SPMI
+1 −0
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@ obj-$(CONFIG_CHARGER_MAX8998) += max8998_charger.o
obj-$(CONFIG_CHARGER_BQ2415X)	+= bq2415x_charger.o
obj-$(CONFIG_CHARGER_BQ24190)	+= bq24190_charger.o
obj-$(CONFIG_CHARGER_BQ24735)	+= bq24735-charger.o
obj-$(CONFIG_FUELGAUGE_STC3117)	+= stc3117_battery.o
obj-$(CONFIG_POWER_AVS)		+= avs/
obj-$(CONFIG_CHARGER_SMB347)	+= smb347-charger.o
obj-$(CONFIG_SMB349_USB_CHARGER)   += smb349-charger.o