[PATCH v1 0/3] Enable LP2 CPUIDLE state on NVIDIA Tegra30

From: Dmitry Osipenko
Date: Tue Mar 24 2020 - 18:45:50 EST


Hello,

This series enables LP2 CPU idling state on Tegra30. Previously,
MichaÅ MirosÅaw reported that this wasn't working on ASUS Transformer
device and we found that replicating the Transformer's downstream kernel
behavior (in regards to the firmware) helps. Later on MichaÅ told that
LP2 works without the firmware changes using a different kernel version /
config, we don't know for sure what was the cause of the original problem.

This series makes the TF firmware changes that are known to work well
in regards to LP2 idling on all devices and then the LP2 idling state
is enabled.

Please review and apply, thanks in advance.

Dmitry Osipenko (3):
ARM: tegra: Initialize r0 register for firmware wake-up
firmware: trusted_foundations: Different way of L2 cache enabling
after LP2 suspend
cpuidle: tegra: Support CPU cluster power-down state on Tegra30

arch/arm/mach-tegra/pm.c | 4 ++++
arch/arm/mach-tegra/reset-handler.S | 7 ++++++-
drivers/cpuidle/cpuidle-tegra.c | 1 -
drivers/firmware/trusted_foundations.c | 21 ++++++++++++++++++--
include/linux/firmware/trusted_foundations.h | 1 +
5 files changed, 30 insertions(+), 4 deletions(-)

--
2.25.1