ARM: rockchip: add option to access the pmu via a phandle in smp_operations
authorHeiko Stuebner <heiko@sntech.de>
Wed, 15 Oct 2014 17:23:01 +0000 (10:23 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 5 Nov 2014 21:18:36 +0000 (22:18 +0100)
commit6de2d21adaf05b7a456077625b6e311feabd3718
tree2e49cd6325051c13dd43e21652f9a8362581c308
parentd003b58c8389d596e9fc6a131fc2901e3d039343
ARM: rockchip: add option to access the pmu via a phandle in smp_operations

Makes it possible to define a rockchip,pmu phandle in the cpus node directly
referencing the pmu syscon instead of searching for specific compatible.

The old way of finding the pmu stays of course available.

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>
Documentation/devicetree/bindings/arm/cpus.txt
arch/arm/mach-rockchip/platsmp.c