diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index 73d03e9ba76e..190369180f16 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -371,7 +371,6 @@ CONFIG_DEVFREQ_GOV_PERFORMANCE=y CONFIG_DEVFREQ_GOV_POWERSAVE=y CONFIG_DEVFREQ_GOV_USERSPACE=y CONFIG_DEVFREQ_GOV_PASSIVE=y -CONFIG_EXTCON=y CONFIG_IIO=y CONFIG_PWM=y CONFIG_QCOM_PDC=y diff --git a/init/Kconfig.gki b/init/Kconfig.gki index daaf89fe295f..22a008f2d55f 100644 --- a/init/Kconfig.gki +++ b/init/Kconfig.gki @@ -97,6 +97,17 @@ config GKI_HIDDEN_VIDEOBUF2_CONFIGS help Dummy config option used to enable all the hidden v4l2 media module. +config GKI_HIDDEN_USB_CONFIGS + bool "Hiddel USB configurations needed for GKI" + select USB_PHY + help + Dummy config option used to enable all USB related hidden configs. + These configurations are usually only selected by another config + option or a combination of them. + + If you are not building a kernel to be used for a variety of + out-of-kernel build USB drivers, say N here. + # Atrocities needed for # a) building GKI modules in separate tree, or # b) building drivers that are not modularizable @@ -116,6 +127,7 @@ config GKI_HACKS_TO_FIX select GKI_HIDDEN_VIRTUAL_CONFIGS select GKI_HIDDEN_SOC_PM_CONFIGS select GKI_HIDDEN_VIDEOBUF2_CONFIGS + select GKI_HIDDEN_USB_CONFIGS help Dummy config option used to enable core functionality used by modules that may not be selectable in this config.