History

firmware: tf: Different way of L2 cache enabling after LP2 suspend

ASUS TF300T device may not work properly if firmware is asked to fully re-initialize L2 cache after resume from LP2 suspend. The downstream kernel of TF300T uses different opcode to enable cache after resuming from LP2, this opcode also works fine on Nexus 7 and Ouya devices. Supposedly, this may be needed by an older firmware versions.

Dmitry Osipenko committed 6 years ago

Commit b720aaa1 parent d70f5e52 files · +20 −2Browse files

Showing the changes to include/linux/firmware (1 of 2 files). Show all

Unified · Split

include/linux/firmware/trusted_foundations.h+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
32#define TF_PM_MODE_LP1_NO_MC_CLK 232#define TF_PM_MODE_LP1_NO_MC_CLK 2
33#define TF_PM_MODE_LP2 333#define TF_PM_MODE_LP2 3
34#define TF_PM_MODE_LP2_NOFLUSH_L2 434#define TF_PM_MODE_LP2_NOFLUSH_L2 4
35#define TF_PM_MODE_NONE 5
35 36
36struct trusted_foundations_platform_data {37struct trusted_foundations_platform_data {
37 unsigned int version_major;38 unsigned int version_major;