MALI: midgard: support sharing regulator with other devices
authorFinley Xiao <finley.xiao@rock-chips.com>
Mon, 28 Nov 2016 11:40:09 +0000 (19:40 +0800)
committerFinley Xiao <finley.xiao@rock-chips.com>
Tue, 29 Nov 2016 06:18:22 +0000 (14:18 +0800)
commit85b4e1dffa2e7a0bbd092d294043f19f82417d74
treef51dad1b9df20dd6b361947e8ec864d91a8aa323
parentb8a2dcfd13b0a41e40f232b24eb7b1d7dae35df2
MALI: midgard: 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: I7dda43b24c7e19098db65b51ae0c4386b46ee0b7
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c