]> git.karo-electronics.de Git - karo-tx-linux.git/commit
power: supply: axp20x_usb_power: set min voltage and max current from sysfs
authorQuentin Schulz <quentin.schulz@free-electrons.com>
Fri, 9 Dec 2016 11:04:11 +0000 (12:04 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 4 Jan 2017 20:59:34 +0000 (21:59 +0100)
commit5c3ff59b4e7ab1375169dd131d41c317bae84b82
tree3656f619afba4c50dda1253ef52e8c9541655680
parent0dcc70ca8644083b610a831173b114cbc67db3ec
power: supply: axp20x_usb_power: set min voltage and max current from sysfs

AXP20X and AXP22X PMICs allow setting the min voltage and max current of
VBUS power supply. This adds entries in sysfs to allow to do so.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/axp20x_usb_power.c