summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Makefile
diff options
context:
space:
mode:
authorDavid Lechner2017-04-11 23:05:22 +0200
committerSebastian Reichel2017-04-14 01:41:35 +0200
commit53db88586acd39400665d32914d1bb7b3da07276 (patch)
treee5effebc7ed2108bbabedb273098f4af1b476e08 /drivers/power/supply/Makefile
parentdt-bindings: power: supply: New bindings for LEGO MINDSTORMS EV3 battery (diff)
downloadkernel-qcow2-linux-53db88586acd39400665d32914d1bb7b3da07276.tar.gz
kernel-qcow2-linux-53db88586acd39400665d32914d1bb7b3da07276.tar.xz
kernel-qcow2-linux-53db88586acd39400665d32914d1bb7b3da07276.zip
power: supply: New driver for LEGO MINDSTORMS EV3 battery
This adds a new driver for the LEGO MINDSTORMS EV3 battery. The EV3 is an embedded ARM device that can use 6 AA batteries or a special rechargeable Li-ion battery pack. The rechargeable battery pack presses a special key switch in the battery compartment to indicate that it is present. The EV3 is only capable of monitoring battery voltage and current. The charging circuit is built into the rechargeable battery pack and there is no way to communicate with is, so we can't provide any information about charging status. When not using the rechargeable battery pack, it is most common to use alkaline batteries to power the device, but it is also common for people to use rechargeable NiMH batteries. Since there is not a way to automatically differentiate between these, the technology property is made writable. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/supply/Makefile')
-rw-r--r--drivers/power/supply/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/supply/Makefile b/drivers/power/supply/Makefile
index 957e099a05cd..39fc733e6cc4 100644
--- a/drivers/power/supply/Makefile
+++ b/drivers/power/supply/Makefile
@@ -25,6 +25,7 @@ obj-$(CONFIG_BATTERY_DS2781) += ds2781_battery.o
obj-$(CONFIG_BATTERY_DS2782) += ds2782_battery.o
obj-$(CONFIG_BATTERY_GAUGE_LTC2941) += ltc2941-battery-gauge.o
obj-$(CONFIG_BATTERY_GOLDFISH) += goldfish_battery.o
+obj-$(CONFIG_BATTERY_LEGO_EV3) += lego_ev3_battery.o
obj-$(CONFIG_BATTERY_PMU) += pmu_battery.o
obj-$(CONFIG_BATTERY_OLPC) += olpc_battery.o
obj-$(CONFIG_BATTERY_TOSA) += tosa_battery.o