devfreq: rockchip: dmc: support sharing regulator with other devices
authorFinley Xiao <finley.xiao@rock-chips.com>
Mon, 28 Nov 2016 11:44:36 +0000 (19:44 +0800)
committerFinley Xiao <finley.xiao@rock-chips.com>
Tue, 29 Nov 2016 06:18:28 +0000 (14:18 +0800)
commit55d7dcc796ab182555d4ad3b4eb91a611fb1400f
tree26719c6931d6433f70a7c434ee866f66daf28743
parent85b4e1dffa2e7a0bbd092d294043f19f82417d74
devfreq: rockchip: dmc: support sharing regulator with other devices

If the regulator is shared between several devices then the lowest
request voltage that meets the system constraints will be used.

Change-Id: I9645f3f81004c7203769a92367513d9d177504b2
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
drivers/devfreq/rk3399_dmc.c