[PATCH v5 1/7] Add support for XO 1.75 to OLPC battery driver

From: Lubomir Rintel
Date: Thu Jan 10 2019 - 12:43:09 EST


Hello!

This patch set modifies the OLPC battery driver so that it could eventually
be used on an Arm-based OLPC XO 1.75 machine once the Embedded Controlled
driver gets merged.

It has been split off from the EC driver patch set after four re-spins.

Tested on an OLPC XO 1. I don't have a XO 1.5, but it's similar enough.

[1/7] dt-bindings: olpc_battery: Add XO-1.5 battery
[2/7] x86, olpc: Use a correct version when making up a battery node
[3/7] power: supply: olpc_battery: Use DT to get battery version
[4/7] power: supply: olpc_battery: Move priv data to a struct
[5/7] power: supply: olpc_battery: Use devm_power_supply_register()
[6/7] power: supply: olpc_battery: Avoid using platform_info
[7/7] power: supply: olpc_battery: Add OLPC XO 1.75 support

Appart from the dt-bindings patch, the patches need to be applied in order.

Lubo