cpuidle: Refactor and move out NVIDIA Tegra20 driver into drivers/cpuidle
authorDmitry Osipenko <digetx@gmail.com>
Mon, 24 Feb 2020 22:40:52 +0000 (01:40 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 13 Mar 2020 10:31:58 +0000 (11:31 +0100)
commit860fbde438dc88d2fedf75965963b96c9041a0d5
treee8ac73717e72a48c91ff7116686bb5698b8f527f
parente8c04e5014730e3f0bcced059cbebd04657b477a
cpuidle: Refactor and move out NVIDIA Tegra20 driver into drivers/cpuidle

The driver's code is refactored in a way that will make it easy to
support Tegra30/114/124 SoCs by this unified driver later on. The
current functionality is equal to the old Tegra20 driver, only the
code's structure changed a tad. This is also a proper platform driver
now.

Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/cpuidle-tegra20.c [deleted file]
arch/arm/mach-tegra/cpuidle.c
arch/arm/mach-tegra/cpuidle.h
drivers/cpuidle/Kconfig.arm
drivers/cpuidle/Makefile
drivers/cpuidle/cpuidle-tegra.c [new file with mode: 0644]
include/soc/tegra/cpuidle.h