power: rk818-charger: set otg5v by regulator framework
authorJianhong Chen <chenjh@rock-chips.com>
Thu, 15 Jun 2017 10:24:54 +0000 (18:24 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 22 Jun 2017 02:49:58 +0000 (10:49 +0800)
commite50385147117ff70cd05fc79e5f8521e2d18505e
tree312a06991e7ccf0876c4f15ac80ba11f14b3a81d
parentd222955baf6f9cd46ca949c6c377130485175c63
power: rk818-charger: set otg5v by regulator framework

because rk818 regulator driver registers all regulators into
system without checking whether they are defined in dts, so we
have to control it by regulator framework. Otherwise,
psci_system_suspend_finish() will disable it after system wakeup.

Change-Id: Ia9d9c0b7a8cf42ccee071ac0416c1ef2f711df2f
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
drivers/power/rk818_charger.c