From ee00a786d37fb83fa1d00a7b61ffb4c8690751a6 Mon Sep 17 00:00:00 2001 From: yangqh5 Date: Tue, 22 Jun 2021 15:20:52 +0800 Subject: [PATCH] cypfr: initial kernel defconfig Cyprus 5G cypfr on 6375: initial configs cloned from cypfg. Change-Id: I02922d31b83f9dda121d03fb52cff4a3444a137a Reviewed-on: https://gerrit.mot.com/1987596 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiaojun Ji Reviewed-by: Huosheng Liao Submit-Approved: Liyun Zhang --- .../vendor/ext_config/debug-holi-cypfr.config | 25 +++++++++++++++++++ .../ext_config/factory-holi-cypfr.config | 16 ++++++++++++ .../vendor/ext_config/moto-holi-cypfr.config | 20 +++++++++++++++ drivers/soc/qcom/Kconfig | 8 ++++++ 4 files changed, 69 insertions(+) create mode 100644 arch/arm64/configs/vendor/ext_config/debug-holi-cypfr.config create mode 100644 arch/arm64/configs/vendor/ext_config/factory-holi-cypfr.config create mode 100644 arch/arm64/configs/vendor/ext_config/moto-holi-cypfr.config diff --git a/arch/arm64/configs/vendor/ext_config/debug-holi-cypfr.config b/arch/arm64/configs/vendor/ext_config/debug-holi-cypfr.config new file mode 100644 index 000000000000..13f71e03c466 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-holi-cypfr.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-cypfr.config b/arch/arm64/configs/vendor/ext_config/factory-holi-cypfr.config new file mode 100644 index 000000000000..830e8a22f610 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/factory-holi-cypfr.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-cypfr.config b/arch/arm64/configs/vendor/ext_config/moto-holi-cypfr.config new file mode 100644 index 000000000000..88d63a258189 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/moto-holi-cypfr.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_CYPFR_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 diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index a8089525c123..aa979338a66c 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -52,6 +52,14 @@ config CYPFQ_DTB Only include CYPFQ specific DTBs to limit the number that get built during kernel compilation. +config CYPFR_DTB + depends on ARCH_QCOM + default n + bool "CYPFR DTBs" + help + Only include CYPFR 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