diff options
author | Caleb Connolly <caleb.connolly@linaro.org> | 2023-05-26 23:44:15 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-06-09 01:20:14 +0200 |
commit | 8648aeb5d7b70e13264ff5f444f22081d37d4670 (patch) | |
tree | 4e47546f1873f03588dd9b01c55efd9559bc4a47 /lib | |
parent | dt-bindings: power: supply: qcom,pmi8998-charger: add bindings for smb2 driver (diff) | |
download | linux-8648aeb5d7b70e13264ff5f444f22081d37d4670.tar.xz linux-8648aeb5d7b70e13264ff5f444f22081d37d4670.zip |
power: supply: add Qualcomm PMI8998 SMB2 Charger driver
Add a driver for the SMB2 charger block found in the Qualcomm PMI8998
and PM660.
This driver is capable of utilising Qualcomm's Automatic Power Source
Detection (APSD) BC1.2 implementation, as well as Automatic Input
Current Limiting (AICL) to configure the maximum input current
limit of DCP (wall) chargers.
Quick Charge is not currently supported.
Most devices using the smb2 charger have a secondary dedicated charger
chip which is used in parallel to enable faster charger without
overheating. However, not all do, as a result to ensure safety until
these are supported, the maximum current is limited to ~1A via the
FAST_CHARGE_CURRENT_CFG register.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Tested-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions