From 944ceedfc791d8c00f06a44cbc7ab8b7a75fe931 Mon Sep 17 00:00:00 2001 From: jixj Date: Wed, 4 Aug 2021 16:52:10 +0800 Subject: [PATCH] arm64/configs: Add Milan 5G defconfig Add initial defconfig for Milan 5G branch bringup, these configs are copied from cypfq. Change-Id: I90094a35cf65035476da061ef5d07fb532fa1d02 Reviewed-on: https://gerrit.mot.com/2032542 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- .../ext_config/debug-holi-milanf.config | 25 +++++++++++++++++++ .../ext_config/factory-holi-milanf.config | 16 ++++++++++++ .../vendor/ext_config/moto-holi-milanf.config | 21 ++++++++++++++++ drivers/soc/qcom/Kconfig | 8 ++++++ 4 files changed, 70 insertions(+) create mode 100644 arch/arm64/configs/vendor/ext_config/debug-holi-milanf.config create mode 100644 arch/arm64/configs/vendor/ext_config/factory-holi-milanf.config create mode 100644 arch/arm64/configs/vendor/ext_config/moto-holi-milanf.config diff --git a/arch/arm64/configs/vendor/ext_config/debug-holi-milanf.config b/arch/arm64/configs/vendor/ext_config/debug-holi-milanf.config new file mode 100644 index 000000000000..13f71e03c466 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-holi-milanf.config @@ -0,0 +1,25 @@ +# +# 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_CGROUP_DEBUG is not set +# CONFIG_CLEANCACHE is not set +# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set +# CONFIG_CMA_DEBUG is not set +# CONFIG_PREEMPTIRQ_EVENTS is not set +# CONFIG_PREEMPT_TRACER is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_RCU_TORTURE_TEST is not set +# CONFIG_TEST_USER_COPY is not set diff --git a/arch/arm64/configs/vendor/ext_config/factory-holi-milanf.config b/arch/arm64/configs/vendor/ext_config/factory-holi-milanf.config new file mode 100644 index 000000000000..830e8a22f610 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/factory-holi-milanf.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/moto-holi-milanf.config b/arch/arm64/configs/vendor/ext_config/moto-holi-milanf.config new file mode 100644 index 000000000000..8795c9754ae5 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/moto-holi-milanf.config @@ -0,0 +1,21 @@ +# +# 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_MILANF_DTB=y +# CONFIG_NFC_QTI_I2C is not set +CONFIG_FS_EPOLL_WAKEUP_DEBUG=y +CONFIG_ZRAM_WRITEBACK=y +# CONFIG_THERMAL_STATISTICS is not set +# CONFIG_REGULATOR_QPNP_LCDB is not set diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index acf8eadfb84c..80180dc6f4d3 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -76,6 +76,14 @@ config CYPFR_DTB Only include CYPFR specific DTBs to limit the number that get built during kernel compilation. +config MILANF_DTB + depends on ARCH_QCOM + default n + bool "MILANF DTBs" + help + Only include MILANF specific DTBs to limit the number that + get built during kernel compilation. + config QCOM_AOSS_QMP tristate "Qualcomm AOSS Driver" depends on ARCH_QCOM || COMPILE_TEST