diff --git a/arch/arm/configs/vendor/ext_config b/arch/arm/configs/vendor/ext_config new file mode 120000 index 000000000000..4b777332a1a3 --- /dev/null +++ b/arch/arm/configs/vendor/ext_config @@ -0,0 +1 @@ +../../../arm64/configs/vendor/ext_config \ No newline at end of file diff --git a/arch/arm64/configs/vendor/ext_config/debug-bengal-guam.config b/arch/arm64/configs/vendor/ext_config/debug-bengal-guam.config new file mode 100644 index 000000000000..830e8a22f610 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-bengal-guam.config @@ -0,0 +1,16 @@ +# +# Please avoid changing the Qualcomm defconfig files and use this file to +# add any Motorola-specific configuration changes that are applicable to +# userdebug, eng, and user builds. +# +# After building, a list of all of the config files that are used can be found +# at the top of: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig +# +# The actual output of the kernel configuration system can be found at: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config +# +# You can check the .config file to verify that your configuration option is +# being set as expected. +# + diff --git a/arch/arm64/configs/vendor/ext_config/debug-bengal-guamp.config b/arch/arm64/configs/vendor/ext_config/debug-bengal-guamp.config new file mode 100644 index 000000000000..830e8a22f610 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-bengal-guamp.config @@ -0,0 +1,16 @@ +# +# Please avoid changing the Qualcomm defconfig files and use this file to +# add any Motorola-specific configuration changes that are applicable to +# userdebug, eng, and user builds. +# +# After building, a list of all of the config files that are used can be found +# at the top of: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig +# +# The actual output of the kernel configuration system can be found at: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config +# +# You can check the .config file to verify that your configuration option is +# being set as expected. +# + diff --git a/arch/arm64/configs/vendor/ext_config/debug-bengal.config b/arch/arm64/configs/vendor/ext_config/debug-bengal.config new file mode 100644 index 000000000000..f90dbfd19d73 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-bengal.config @@ -0,0 +1,20 @@ +# +# Please avoid changing the Qualcomm defconfig files and use this file to +# add any Motorola-specific configuration changes that are applicable to +# userdebug, eng, and user builds. +# +# After building, a list of all of the config files that are used can be found +# at the top of: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig +# +# The actual output of the kernel configuration system can be found at: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config +# +# You can check the .config file to verify that your configuration option is +# being set as expected. +# +CONFIG_LKDTM=m +CONFIG_ATOMIC64_SELFTEST=m +CONFIG_LOCK_TORTURE_TEST=m +CONFIG_RCU_TORTURE_TEST=m +CONFIG_TEST_USER_COPY=m diff --git a/arch/arm64/configs/vendor/ext_config/factory-bengal.config b/arch/arm64/configs/vendor/ext_config/factory-bengal.config new file mode 100644 index 000000000000..8b121eb8ce46 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/factory-bengal.config @@ -0,0 +1,15 @@ +# +# Please avoid changing the Qualcomm defconfig files and use this file to +# add any Motorola-specific configuration changes that are applicable to +# userdebug, eng, and user builds. +# +# After building, a list of all of the config files that are used can be found +# at the top of: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig +# +# The actual output of the kernel configuration system can be found at: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config +# +# You can check the .config file to verify that your configuration option is +# being set as expected. +# diff --git a/arch/arm64/configs/vendor/ext_config/guam-default.config b/arch/arm64/configs/vendor/ext_config/guam-default.config new file mode 100644 index 000000000000..06fda2bcbb6e --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/guam-default.config @@ -0,0 +1,16 @@ +# +# Please avoid changing the Qualcomm defconfig files and use this file to +# add any Motorola-specific configuration changes that are applicable to +# userdebug, eng, and user builds. +# +# After building, a list of all of the config files that are used can be found +# at the top of: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig +# +# The actual output of the kernel configuration system can be found at: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config +# +# You can check the .config file to verify that your configuration option is +# being set as expected. +# +CONFIG_GUAM_DTB=y diff --git a/arch/arm64/configs/vendor/ext_config/guamp-default.config b/arch/arm64/configs/vendor/ext_config/guamp-default.config new file mode 100644 index 000000000000..43b4e9d9bbc9 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/guamp-default.config @@ -0,0 +1,16 @@ +# +# Please avoid changing the Qualcomm defconfig files and use this file to +# add any Motorola-specific configuration changes that are applicable to +# userdebug, eng, and user builds. +# +# After building, a list of all of the config files that are used can be found +# at the top of: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig +# +# The actual output of the kernel configuration system can be found at: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config +# +# You can check the .config file to verify that your configuration option is +# being set as expected. +# +CONFIG_GUAMP_DTB=y diff --git a/arch/arm64/configs/vendor/ext_config/moto-bengal.config b/arch/arm64/configs/vendor/ext_config/moto-bengal.config new file mode 100644 index 000000000000..f4d980c5c500 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/moto-bengal.config @@ -0,0 +1,18 @@ +# +# Please avoid changing the Qualcomm defconfig files and use this file to +# add any Motorola-specific configuration changes that are applicable to +# userdebug, eng, and user builds. +# +# After building, a list of all of the config files that are used can be found +# at the top of: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig +# +# The actual output of the kernel configuration system can be found at: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config +# +# You can check the .config file to verify that your configuration option is +# being set as expected. +# +CONFIG_MMI_DEVICE_DTBS=y +CONFIG_BUILD_ARM64_DT_OVERLAY=y +CONFIG_USB_RTL8152=y diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index dbcb3432de59..12019b3fe4e7 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -11,6 +11,23 @@ config MMI_DEVICE_DTBS Only include Motorola device specific DTBs to limit the number that get built during kernel compilation. +config GUAM_DTB + depends on ARCH_QCOM + default n + bool "Guam DTBs" + help + Only include Guam specific DTBs to limit the number that + get built during kernel compilation + +config GUAMP_DTB + depends on ARCH_QCOM + default n + bool "Guamp DTBs" + help + Only include Guamp specific DTBs to limit the number that + get built during kernel compilatio + + config QCOM_COMMAND_DB tristate "Qualcomm Command DB" depends on ARCH_QCOM || COMPILE_TEST