[PATCH v2 0/3] LEGO MINDSTORMS EV3 Battery

From: David Lechner
Date: Tue Apr 11 2017 - 17:06:18 EST


This series adds support for the LEGO MINDSTORMS EV3 battery.

v2 changes:
* use devm_power_supply_register()

David Lechner (3):
dt-bindings: power: supply: New bindings for LEGO MINDSTORMS EV3
battery
power: supply: New driver for LEGO MINDSTORMS EV3 battery
ARM: dts: da850: Add node for LEGO MINDSTORMS EV3 Battery

.../bindings/power/supply/lego_ev3_battery.txt | 21 ++
arch/arm/boot/dts/da850-lego-ev3.dts | 28 +++
drivers/power/supply/Kconfig | 6 +
drivers/power/supply/Makefile | 1 +
drivers/power/supply/lego_ev3_battery.c | 228 +++++++++++++++++++++
5 files changed, 284 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/supply/lego_ev3_battery.txt
create mode 100644 drivers/power/supply/lego_ev3_battery.c

--
2.7.4