[PATCH v3 0/3] power: supply: max8998-charger: Device Tree support

From: PaweÅ Chmiel
Date: Tue Jul 17 2018 - 12:05:23 EST


This patch series compose of 3 patches.

First patch, fixes platform data retrieval issue in max8998 charger
driver, which could cause NULL pointer dereference.

Second patch, updates max8998 charger driver, so it's possible to parse
devicetree for configuration.

Third patch, updates max8998 documentation, so it includes new node
and properties, needed for charger.

All patches has been tested on, Samsung Galaxy S (i9000) phone.

Changes from v2:
- Make charge-restart-level-microvolt and charge-timeout-hours
properties optional. If they're not present, assume they're disabled.

Changes from v1:
- Removed unneeded Fixes tag
- Correct description of all charger values
- Added missing property unit for charger properties
- Removed already applied patch

PaweÅ Chmiel (2):
power: supply: max8998-charger: Parse device tree for required data.
dt-bindings: mfd: max8998: Add charger subnode binding

Tomasz Figa (1):
power: supply: max8998-charger: Fix platform data retrieval

Documentation/devicetree/bindings/mfd/max8998.txt | 25 +++++++++
drivers/power/supply/max8998_charger.c | 62 ++++++++++++++++++++++-
2 files changed, 86 insertions(+), 1 deletion(-)

--
2.7.4