cpuidle: psci: Support hierarchical CPU idle states
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 10 Oct 2019 10:01:48 +0000 (12:01 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 2 Jan 2020 15:50:19 +0000 (16:50 +0100)
commitf08cfbfa4fb1b5cf15d9f3d3f8ef2280236f4a12
tree019c254dd79ee5a7fff8e3d0fdb4e727a2b5957e
parent1595e4b09b2e7f7fc83369ecc3066505b6c7359b
cpuidle: psci: Support hierarchical CPU idle states

Currently CPU's idle states are represented using the flattened model.
Let's add support for the hierarchical layout, via converting to use
of_get_cpu_state_node().

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
drivers/cpuidle/cpuidle-psci.c