[PATCH 0/4] Maxim Semiconductor MAX1721x power_supply driver

From: Alex A. Mihaylov
Date: Thu May 25 2017 - 13:46:49 EST


Maxim Semiconductor MAX1721x series chip is standalone fuel gauge
for singlecell (MAX17211) or multicell (MAX17215) batteries.
This device use OneWire (W1) interface with W1-Family code 0x26

PATCHES:
1. Introduce regmap infrastructure over Maxim/Dalas OneWire (W1) bus
2. Introduce new OneWire (W1) family 0x26 with slave device Maxim
Semconductor MAX17211/MAX17215 Fuel Gauge IC
3.Introduce Maxim Semiconductor MAX17211/MAX17215 Standalone Fuel Gauge
IC support for power_supply class driver
4. Fix W1 slave exchange with second device on probe step

drivers/base/regmap/Kconfig | 6 +-
drivers/base/regmap/Makefile | 1 +
drivers/base/regmap/regmap-w1.c | 241 +++++++++++++++++++++
drivers/power/supply/Kconfig | 14 ++
drivers/power/supply/Makefile | 1 +
drivers/power/supply/max1721x_battery.c | 357 ++++++++++++++++++++++++++++++++
drivers/w1/slaves/Kconfig | 12 ++
drivers/w1/slaves/Makefile | 1 +
drivers/w1/slaves/w1_max1721x.c | 73 +++++++
drivers/w1/slaves/w1_max1721x.h | 102 +++++++++
drivers/w1/w1.c | 4 +-
drivers/w1/w1_family.h | 1 +
include/linux/regmap.h | 34 +++
13 files changed, 844 insertions(+), 3 deletions(-)
create mode 100644 drivers/base/regmap/regmap-w1.c
create mode 100644 drivers/power/supply/max1721x_battery.c
create mode 100644 drivers/w1/slaves/w1_max1721x.c
create mode 100644 drivers/w1/slaves/w1_max1721x.h

--
2.8.4 (Apple Git-73)