From 487d15b1930d449aaa8a0092095888eb729eead7 Mon Sep 17 00:00:00 2001 From: yangqh5 Date: Tue, 22 Jun 2021 12:42:47 +0800 Subject: [PATCH] cypfq: initial kernel defconfig Cyprus 5G cypfq on 4350-pro: initial configs cloned from cypfg. Change-Id: I8359a5c1f78e23c67011d46ef294120049924fc6 Reviewed-on: https://gerrit.mot.com/1987589 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-cypfq.config | 25 +++++++++++++++++++ .../ext_config/factory-holi-cypfq.config | 16 ++++++++++++ .../vendor/ext_config/moto-holi-cypfq.config | 20 +++++++++++++++ drivers/soc/qcom/Kconfig | 8 ++++++ 4 files changed, 69 insertions(+) create mode 100644 arch/arm64/configs/vendor/ext_config/debug-holi-cypfq.config create mode 100644 arch/arm64/configs/vendor/ext_config/factory-holi-cypfq.config create mode 100644 arch/arm64/configs/vendor/ext_config/moto-holi-cypfq.config diff --git a/arch/arm64/configs/vendor/ext_config/debug-holi-cypfq.config b/arch/arm64/configs/vendor/ext_config/debug-holi-cypfq.config new file mode 100644 index 000000000000..13f71e03c466 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-holi-cypfq.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-cypfq.config b/arch/arm64/configs/vendor/ext_config/factory-holi-cypfq.config new file mode 100644 index 000000000000..830e8a22f610 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/factory-holi-cypfq.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-cypfq.config b/arch/arm64/configs/vendor/ext_config/moto-holi-cypfq.config new file mode 100644 index 000000000000..582ede133237 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/moto-holi-cypfq.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_CYPFQ_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 4ba2e7c11011..a8089525c123 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -44,6 +44,14 @@ config CYPFG_DTB Only include CYPFG specific DTBs to limit the number that get built during kernel compilation. +config CYPFQ_DTB + depends on ARCH_QCOM + default n + bool "CYPFQ DTBs" + help + Only include CYPFQ 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