[PATCH v5 0/2] power: supply: Add support for Maxim MAX8971 charger

Svyatoslav Ryhel posted 2 patches 9 months ago
There is a newer version of this series
Documentation/ABI/testing/sysfs-class-power   |  43 +
.../bindings/power/supply/maxim,max8971.yaml  |  68 ++
drivers/power/supply/Kconfig                  |  14 +
drivers/power/supply/Makefile                 |   1 +
drivers/power/supply/max8971_charger.c        | 750 ++++++++++++++++++
5 files changed, 876 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/supply/maxim,max8971.yaml
create mode 100644 drivers/power/supply/max8971_charger.c
[PATCH v5 0/2] power: supply: Add support for Maxim MAX8971 charger
Posted by Svyatoslav Ryhel 9 months ago
The MAX8971 is a compact, high-frequency, high-efficiency
switch-mode charger for a one-cell lithium-ion (Li+) battery.

---
Changes on switching from v4 to v5:
- revert schema to v3
- removed i2c_client from driver data
- removed max8971_supplied_to
- swapped power_supply_config filling .of_node with .fwnode
- attr group liked to power_supply_config
- added ABI properties description

Changes on switching from v3 to v4:
- swap graph with connector phandle

Changes on switching from v2 to v3:
- fast_charge_timer, top_off_threshold_current and top_off_timer converted to
  device attributes. Other vendor properties removed.
- removed max8971_config
- removed unneded functions and definitions along vendor props removal
- added __maybe_unused for resume function

Changes on switching from v1 to v2:
- swap phandle with graph for extcon
- added power-supply ref
---

Svyatoslav Ryhel (2):
  dt-bindings: power: supply: Document Maxim MAX8971 charger
  power: supply: Add support for Maxim MAX8971 charger

 Documentation/ABI/testing/sysfs-class-power   |  43 +
 .../bindings/power/supply/maxim,max8971.yaml  |  68 ++
 drivers/power/supply/Kconfig                  |  14 +
 drivers/power/supply/Makefile                 |   1 +
 drivers/power/supply/max8971_charger.c        | 750 ++++++++++++++++++
 5 files changed, 876 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/supply/maxim,max8971.yaml
 create mode 100644 drivers/power/supply/max8971_charger.c

-- 
2.43.0