summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2014-10-15 10:23:00 -0700
committerHeiko Stuebner <heiko@sntech.de>2014-11-05 22:18:33 +0100
commitd003b58c8389d596e9fc6a131fc2901e3d039343 (patch)
tree6d1d574d71b28f6a0d5a94a2c101c3c397dd53a4 /sound
parent9576d3e622f325e617b272172dd68e329e742f77 (diff)
ARM: rockchip: convert to regmap and use pmu syscon if available
The pmu register space is - like the GRF - shared by quite some peripherals. On the rk3188 and rk3288 even parts of the pinctrl are living there. Therefore we normally shouldn't map it a second time when the syscon does this already. Therefore convert the cpu power-domain handling to access the pmu via a regmap and at first try to get it via the syscon interface. Getting this syscon will only fail if the pmu node does not have the "syscon" compatible and thus does not get shared with other drivers. In this case we map it like before and create the necessary regmap on top of it. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Tested-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions