From a27e47e13b77397c1e9b41f6b91c1ed771f7fa5b Mon Sep 17 00:00:00 2001 From: Will McVicker Date: Tue, 4 Feb 2020 12:05:26 -0800 Subject: [PATCH] ANDROID: GKI: enable PM_GENERIC_DOMAINS by default This is needed to support the QCOM clk drivers as modules without building them in. We need to fix this properly upstream. Signed-off-by: Will McVicker Bug: 150638698 Bug: 147895101 Change-Id: I69b59455e4e2d8ef3a183ee52a835ddb97360420 --- init/Kconfig.gki | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init/Kconfig.gki b/init/Kconfig.gki index 19d9470d41ea..e4e6de184d74 100644 --- a/init/Kconfig.gki +++ b/init/Kconfig.gki @@ -81,6 +81,13 @@ config GKI_LEGACY_WEXT_ALLCONFIG If you are not building a kernel to be used for a variety of out-of-kernel built wireless modules, say N here. +config GKI_HIDDEN_SOC_PM_CONFIGS + bool "Hidden SOC Power Management configs for GKI" + select PM_GENERIC_DOMAINS if PM + help + Dummy config option used to enable all the hidden SOC specific power + management add-in modules. + # Atrocities needed for # a) building GKI modules in separate tree, or # b) building drivers that are not modularizable @@ -98,6 +105,7 @@ config GKI_HACKS_TO_FIX select GKI_HIDDEN_GPIO_CONFIGS select GKI_LEGACY_WEXT_ALLCONFIG select GKI_HIDDEN_VIRTUAL_CONFIGS + select GKI_HIDDEN_SOC_PM_CONFIGS help Dummy config option used to enable core functionality used by modules that may not be selectable in this config.