From 2be82f3e94f9bc5bb95f21571c828e3f8d451fa0 Mon Sep 17 00:00:00 2001 From: liujg6 Date: Fri, 5 Aug 2022 10:43:47 +0800 Subject: [PATCH] arm64/configs: add init configs for pnangn [Details] Add initial extra config files for penang5G NA Change-Id: I0c05fd818d88293161688fcb61c3c4bd72572f56 Reviewed-on: https://gerrit.mot.com/2355010 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Submit-Approved: Jira Key Tested-by: Jira Key Reviewed-by: Xianhong Li (cherry picked from commit f737e24a8dd2d127022789641f83045e9a8e68e0) Reviewed-on: https://gerrit.mot.com/2368040 Reviewed-by: Wang Wang --- .../ext_config/debug-holi-pnangn.config | 26 +++++++++++++++++++ .../ext_config/factory-holi-pnangn.config | 16 ++++++++++++ .../vendor/ext_config/moto-holi-pnangn.config | 26 +++++++++++++++++++ drivers/soc/qcom/Kconfig | 8 ++++++ 4 files changed, 76 insertions(+) create mode 100644 arch/arm64/configs/vendor/ext_config/debug-holi-pnangn.config create mode 100644 arch/arm64/configs/vendor/ext_config/factory-holi-pnangn.config create mode 100644 arch/arm64/configs/vendor/ext_config/moto-holi-pnangn.config diff --git a/arch/arm64/configs/vendor/ext_config/debug-holi-pnangn.config b/arch/arm64/configs/vendor/ext_config/debug-holi-pnangn.config new file mode 100644 index 000000000000..018b945c19d3 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-holi-pnangn.config @@ -0,0 +1,26 @@ +# +# 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 +# CONFIG_UFSTW is not set diff --git a/arch/arm64/configs/vendor/ext_config/factory-holi-pnangn.config b/arch/arm64/configs/vendor/ext_config/factory-holi-pnangn.config new file mode 100644 index 000000000000..cc7be9152bdd --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/factory-holi-pnangn.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_CAMERA_DISABLE_VSYNC_IRQ=y diff --git a/arch/arm64/configs/vendor/ext_config/moto-holi-pnangn.config b/arch/arm64/configs/vendor/ext_config/moto-holi-pnangn.config new file mode 100644 index 000000000000..b5a8186cd7be --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/moto-holi-pnangn.config @@ -0,0 +1,26 @@ +# +# 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_PNANGN_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 +# CONFIG_UFSTW is not set +CONFIG_CRYPTO_CHACHA20POLY1305=y +CONFIG_CAM_SENSOR_PROBE_RETRY=y +CONFIG_SND_SOC_AW87XXX=m +CONFIG_NFC_QTI_I2C=m diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 5b0e668de248..3f45409a5ef3 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -102,6 +102,14 @@ config PENANG_DTB Only include PENANG specific DTBs to limit the number that get built during kernel compilation. +config PNANGN_DTB + depends on ARCH_QCOM + default n + bool "PNANGN DTBs" + help + Only include PNANGN specific DTBs to limit the number that + get built during kernel compilation. + config RHODEP_DTB depends on ARCH_QCOM default n