[PATCH 0/9] Summit SMB3xx driver & device-tree
From: David Heidelberg
Date: Sun Mar 29 2020 - 12:25:57 EST
We gathered existing patches, fixed and improved what we could and
final result is an working charging driver with device-tree support for
Nexus 7.
At this moment charging works with:
- Nexus 7 2012 (grouper and tilapia)
- Nexus 7 2013 (flo and deb)
- ... and there is more devices equiped with these chargers.
David Heidelberg (7):
power: supply: smb347-charger: Add delay before getting IRQSTAT
power: supply: smb347-charger: Use resource-managed API
dt-bindings: power: supply: Add device-tree binding for Summit SMB3xx
power: supply: smb347-charger: Implement device-tree support
power: supply: smb347-charger: Support SMB345 and SMB358
power: supply: smb347-charger: Remove virtual smb347-battery
arm: dts: qcom: apq8064-nexus7: Add smb345 charger node
Dmitry Osipenko (2):
power: supply: smb347-charger: IRQSTAT_D is volatile
power: supply: smb347-charger: Replace mutex with IRQ disable/enable
.../power/supply/summit,smb347-charger.yaml | 224 ++++++++
.../boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 22 +-
drivers/power/supply/Kconfig | 6 +-
drivers/power/supply/smb347-charger.c | 510 +++++++++---------
.../dt-bindings/power/summit,smb347-charger.h | 19 +
5 files changed, 526 insertions(+), 255 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml
create mode 100644 include/dt-bindings/power/summit,smb347-charger.h
--
2.25.0