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

Commit 6721081b authored by Nithish Mahalingam's avatar Nithish Mahalingam Committed by Anton Vorontsov
Browse files

Intel MID platform battery driver



The PMIC Battery driver provides battery charging and battery gauge
functionality on Intel MID platforms. This provides the basic functions.
There are some USB drivers to merge before the selection of charging
between the different USB power levels can be enabled.

Moved to a platform device by Alek Du.

Signed-off-by: default avatarNithish Mahalingam <nithish.mahalingam@intel.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent eb9650d6
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -142,4 +142,11 @@ config CHARGER_PCF50633
	help
	 Say Y to include support for NXP PCF50633 Main Battery Charger.

config BATTERY_INTEL_MID
	tristate "Battery driver for Intel MID platforms"
	depends on INTEL_SCU_IPC && SPI
	help
	  Say Y here to enable the battery driver on Intel MID
	  platforms.

endif # POWER_SUPPLY
+1 −0
Original line number Diff line number Diff line
@@ -34,3 +34,4 @@ obj-$(CONFIG_BATTERY_DA9030) += da9030_battery.o
obj-$(CONFIG_BATTERY_MAX17040)	+= max17040_battery.o
obj-$(CONFIG_BATTERY_Z2)	+= z2_battery.o
obj-$(CONFIG_CHARGER_PCF50633)	+= pcf50633-charger.o
obj-$(CONFIG_BATTERY_INTEL_MID)	+= intel_mid_battery.o
+799 −0

File added.

Preview size limit exceeded, changes collapsed.