]> www.infradead.org Git - users/dwmw2/linux.git/commit
power: supply: axp20x_usb_power: Add support for AXP717
authorChris Morgan <macromorgan@hotmail.com>
Wed, 21 Aug 2024 21:54:54 +0000 (16:54 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 3 Sep 2024 21:53:34 +0000 (23:53 +0200)
commit75098176d17fab88c06120b453b4b0d1641e2a41
treee717ecdb2915c7fd788514c54cc9239ca820059a
parente44c5691822962dc6f50793029bef5e71f5b0a62
power: supply: axp20x_usb_power: Add support for AXP717

Add support for the AXP717 PMIC. The AXP717 PMIC allows for detection
of USB type like the AXP813, but has little in common otherwise with
the other AXP PMICs. The USB charger is able to provide between
100000uA and 3250000uA of power, and can measure the VBUS input in mV
with up to 14 bits of precision.

Tested-by: Philippe Simons <simons.philippe@gmail.com>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240821215456.962564-14-macroalpha82@gmail.com
[fix axp717_usb_power_desc.usb_types]
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/axp20x_usb_power.c