From 246b0b8ca3b8bbf2c9b87b7a63654376e80a3e76 Mon Sep 17 00:00:00 2001 From: liyun zhang Date: Wed, 31 May 2023 15:14:22 +0800 Subject: [PATCH] arm64/configs: Add Fogo5G defconfig Add initial defconfig for Fogo5G(fogor) bringup, these configs are copied from bangkk. Change-Id: I6266b787f979b4aaa622c897ac960f133f469cff Reviewed-on: https://gerrit.mot.com/2627354 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Minghui Wei Tested-by: Jira Key Reviewed-by: Xiaojun Ji Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- .../vendor/ext_config/debug-holi-fogor.config | 28 ++++++++++++ .../ext_config/factory-holi-fogor.config | 17 ++++++++ .../vendor/ext_config/moto-holi-fogor.config | 43 +++++++++++++++++++ drivers/soc/qcom/Kconfig | 8 ++++ 4 files changed, 96 insertions(+) create mode 100644 arch/arm64/configs/vendor/ext_config/debug-holi-fogor.config create mode 100644 arch/arm64/configs/vendor/ext_config/factory-holi-fogor.config create mode 100644 arch/arm64/configs/vendor/ext_config/moto-holi-fogor.config diff --git a/arch/arm64/configs/vendor/ext_config/debug-holi-fogor.config b/arch/arm64/configs/vendor/ext_config/debug-holi-fogor.config new file mode 100644 index 000000000000..95c989c10a1b --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-holi-fogor.config @@ -0,0 +1,28 @@ +# +# 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 + +# CONFIG_SLUB_DEBUG_ON is not set diff --git a/arch/arm64/configs/vendor/ext_config/factory-holi-fogor.config b/arch/arm64/configs/vendor/ext_config/factory-holi-fogor.config new file mode 100644 index 000000000000..89cbb53b692c --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/factory-holi-fogor.config @@ -0,0 +1,17 @@ +# +# 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 +# CONFIG_MOT_DONGWOON_OIS_AF_DRIFT is not set diff --git a/arch/arm64/configs/vendor/ext_config/moto-holi-fogor.config b/arch/arm64/configs/vendor/ext_config/moto-holi-fogor.config new file mode 100644 index 000000000000..4636c5578f03 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/moto-holi-fogor.config @@ -0,0 +1,43 @@ +# +# 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_FOGOR_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_MOT_DONGWOON_OIS_AF_DRIFT=y +CONFIG_SND_SOC_AW87XXX=m +#CONFIG_NFC_QTI_I2C=m +CONFIG_MSM_TZ_QSEE_LOG=y +CONFIG_AF_NOISE_ELIMINATION=y +# CONFIG_TOUCHSCREEN_FTS is not set +CONFIG_FELICA_MOUNT_BLOCK=y +# CONFIG_UFSFEATURE is not set +# CONFIG_UFSHPB is not set +# CONFIG_UFSTW is not set +# CONFIG_SCSI_SKHPB is not set +CONFIG_NFC=y +CONFIG_SEC_NFC_PRODUCT_N5=y +CONFIG_SEC_NFC=m +CONFIG_SEC_NFC_IF_I2C=y +CONFIG_QUP0_SE2_AP=y +CONFIG_CAMERA_FLASH_IIC_COMPATIBLE=y +CONFIG_EROFS_FS_PCPU_KTHREAD=y +CONFIG_EROFS_FS_PCPU_KTHREAD_HIPRI=y diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index fea4a4e7006c..1537a2e4a437 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -118,6 +118,14 @@ config BANGKK_DTB Only include PENANG specific DTBs to limit the number that get built during kernel compilation. +config FOGOR_DTB + depends on ARCH_QCOM + default n + bool "FOGOR DTBs" + help + Only include FOGOR specific DTBs to limit the number that + get built during kernel compilation. + config PENANGB_DTB depends on ARCH_QCOM default n