]> www.infradead.org Git - users/jedix/linux-maple.git/commit
power: supply: axp20x_usb_power: add input-current-limit-microamp
authorChris Morgan <macromorgan@hotmail.com>
Wed, 21 Aug 2024 21:54:47 +0000 (16:54 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 27 Aug 2024 16:12:25 +0000 (18:12 +0200)
commit6934da720aac7b0feb99d08ff27fd245a962d8d2
tree14fd719276c5d03b5ab7a90d9587334b9bbe00a6
parent6f5cdb7ec8836bb5e5ab221c2f49e2b170d5a978
power: supply: axp20x_usb_power: add input-current-limit-microamp

Allow users to specify a maximum input current for the device. Some
devices allow up to 3.25A of input current (such as the AXP717), which
may be too much for some implementations.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240821215456.962564-7-macroalpha82@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/axp20x_usb_power.c