]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: power: supply: axp20x: Add input-current-limit-microamp
authorChris Morgan <macromorgan@hotmail.com>
Wed, 21 Aug 2024 21:54:46 +0000 (16:54 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 27 Aug 2024 16:12:25 +0000 (18:12 +0200)
commit6f5cdb7ec8836bb5e5ab221c2f49e2b170d5a978
tree762adfbfd137eae70db97df2e8049340252935c7
parentae640fc690353f6181740b50a0d6761bc67ebaa9
dt-bindings: power: supply: axp20x: Add input-current-limit-microamp

Allow specifying a hard limit of the maximum input current. Some PMICs
such as the AXP717 can pull up to 3.25A, so allow a value to be
specified that clamps this in the event the hardware is not designed
for it.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240821215456.962564-6-macroalpha82@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml