Changes in v3: * Remove regulator adi,max77658-regulator.yaml * Patch 1: "mfd: max77658: Add ADI MAX77643/54/58/59 MFD Support" * Use MAX77643/54/58/59 instead of listing every device * Move max77658_pmic_setup function body to probe function * Remove dev from max77658_dev struct * Fix error explanations * Drop chip structure, use only id * Fix the wrong indentations * Patch 2: "dt-bindings: mfd: max77658: Add ADI MAX77658" * Decrease the example count * Patch 3: "power: supply: max77658: Add ADI MAX77658 Battery Support" * Use default values to initialize SALRT min-max thresholds * Patch 4: "dt-bindings: power: supply: max77658: Add ADI MAX77658 Battery" * Fix syntax * Remove SALRT properties from the device tree * State monitored-battery as required * Remove reg * PATCH 5: "power: supply: max77658: Add ADI MAX77654/58/59 Charger Support" * Use MAX77643/54/58/59 instead of listing every device * Use sysfs entries for fast-charge-timer and topoff-timer * Patch 6: "dt-bindings: power: supply: max77658: Add ADI MAX77654/58/59 Charger" * Remove fast-charge-timer and topoff-timer properties from the device tree * PATCH 7: "regulator: max77658: Add ADI MAX77643/54/58/59 Regulator Support" * Use MAX77643/54/58/59 instead of listing every device * Use only one entry id id_table Changes in v2: * Add MAX77643, MAX77654, MAX77658 device support Zeynep Arslanbenzer (7): regulator: max77658: Add ADI MAX77643/54/58/59 Regulator Support dt-bindings: power: supply: max77658: Add ADI MAX77654/58/59 Charger power: supply: max77658: Add ADI MAX77654/58/59 Charger Support dt-bindings: power: supply: max77658: Add ADI MAX77658 Battery power: supply: max77658: Add ADI MAX77658 Battery Support dt-bindings: mfd: max77658: Add ADI MAX77658 mfd: max77658: Add ADI MAX77643/54/58/59 MFD Support .../devicetree/bindings/mfd/adi,max77658.yaml | 160 ++++ .../power/supply/adi,max77658-battery.yaml | 47 + .../power/supply/adi,max77658-charger.yaml | 53 ++ drivers/mfd/Kconfig | 13 + drivers/mfd/Makefile | 1 + drivers/mfd/max77658.c | 426 +++++++++ drivers/power/supply/Kconfig | 14 + drivers/power/supply/Makefile | 2 + drivers/power/supply/max77658-battery.c | 633 +++++++++++++ drivers/power/supply/max77658-charger.c | 844 ++++++++++++++++++ drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile | 1 + drivers/regulator/max77658-regulator.c | 170 ++++ include/linux/mfd/max77658.h | 80 ++ 14 files changed, 2452 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/adi,max77658.yaml create mode 100644 Documentation/devicetree/bindings/power/supply/adi,max77658-battery.yaml create mode 100644 Documentation/devicetree/bindings/power/supply/adi,max77658-charger.yaml create mode 100644 drivers/mfd/max77658.c create mode 100644 drivers/power/supply/max77658-battery.c create mode 100644 drivers/power/supply/max77658-charger.c create mode 100644 drivers/regulator/max77658-regulator.c create mode 100644 include/linux/mfd/max77658.h -- 2.25.1