cpuidle: tegra: Squash Tegra30 driver into the common driver
authorDmitry Osipenko <digetx@gmail.com>
Mon, 24 Feb 2020 22:40:53 +0000 (01:40 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 13 Mar 2020 10:32:01 +0000 (11:32 +0100)
commit19461a499c9e47d38f29e1ec4f0f614197cd67f2
tree28e32966b8e723008b99f541f60a1003af39cf0b
parent860fbde438dc88d2fedf75965963b96c9041a0d5
cpuidle: tegra: Squash Tegra30 driver into the common driver

Tegra20 and Terga30 SoCs have common C1 and CC6 idling states and thus
share the same code paths, there is no point in having separate drivers
for a similar hardware. This patch merely moves functionality of the old
driver into the new, although the CC6 state is kept disabled for now since
old driver had a rudimentary support for this state (allowing to enter
into CC6 only when secondary CPUs are put offline), while new driver can
provide a full-featured support. The new feature will be enabled by
another patch.

Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Jasper Korten <jja2000@gmail.com>
Tested-by: David Heidelberg <david@ixit.cz>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/cpuidle-tegra30.c [deleted file]
arch/arm/mach-tegra/cpuidle.c
arch/arm/mach-tegra/cpuidle.h
drivers/cpuidle/cpuidle-tegra.c