]> git.sur5r.net Git - u-boot/commit
power: regulator: rk8xx: Allow input current/charger shutdown configuration
authorWadim Egorov <w.egorov@phytec.de>
Mon, 19 Jun 2017 10:36:39 +0000 (12:36 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 13:23:38 +0000 (15:23 +0200)
commitad98f882e86d3b7231b8c02bbdf8f7eee735aee6
tree46dec00657901fc02709e039af3d7b74c7d63585
parent8926c2f5841148ba0f1b67bb71314797e45229c2
power: regulator: rk8xx: Allow input current/charger shutdown configuration

The RK818 PMIC contains a charger. Add very basic charger functionality
to be able to regulate the USB input current and charger shutdown limits.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/power/regulator/rk8xx.c
include/power/rk8xx_pmic.h