From 4148db0fd2ff5a642d51099388177f6ea39ef6d0 Mon Sep 17 00:00:00 2001 From: zhoujs3 Date: Mon, 28 Feb 2022 13:55:37 +0800 Subject: [PATCH] Bring up miami on sm2021 Init config for new product miami Base on rhodep Change-Id: I680b5e4d272007f0e99b98609bbd7abf0ce8b7c4 Signed-off-by: zhoujs3 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Submit-Approved: Jira Key Tested-by: Jira Key Reviewed-on: https://gerrit.mot.com/2205187 Reviewed-by: Zhenxin Xi --- .../vendor/ext_config/debug-holi-miami.config | 26 ++++++++++++++++++ .../ext_config/factory-holi-miami.config | 18 +++++++++++++ .../vendor/ext_config/moto-holi-miami.config | 27 +++++++++++++++++++ drivers/soc/qcom/Kconfig | 8 ++++++ 4 files changed, 79 insertions(+) create mode 100644 arch/arm64/configs/vendor/ext_config/debug-holi-miami.config create mode 100644 arch/arm64/configs/vendor/ext_config/factory-holi-miami.config create mode 100644 arch/arm64/configs/vendor/ext_config/moto-holi-miami.config diff --git a/arch/arm64/configs/vendor/ext_config/debug-holi-miami.config b/arch/arm64/configs/vendor/ext_config/debug-holi-miami.config new file mode 100644 index 000000000000..701c9f48cd63 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-holi-miami.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_CAMERA_FLASH_PWM=y \ No newline at end of file diff --git a/arch/arm64/configs/vendor/ext_config/factory-holi-miami.config b/arch/arm64/configs/vendor/ext_config/factory-holi-miami.config new file mode 100644 index 000000000000..1a235dd170f3 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/factory-holi-miami.config @@ -0,0 +1,18 @@ +# +# 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_FLASH_PWM=y +CONFIG_QCOM_I2C_NACK_ERR_WA=y +CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y diff --git a/arch/arm64/configs/vendor/ext_config/moto-holi-miami.config b/arch/arm64/configs/vendor/ext_config/moto-holi-miami.config new file mode 100644 index 000000000000..43df38789461 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/moto-holi-miami.config @@ -0,0 +1,27 @@ +# +# 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_RHODEP_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_AW882XX_STEREO_SMARTPA=y +CONFIG_AW882XX_PARAMS_FROM_BIN=y +# CONFIG_MICRON_UFSHID is not set +CONFIG_QUP0_SE2_AP=y +CONFIG_CAMERA_FLASH_PWM=y +CONFIG_CRYPTO_CHACHA20POLY1305=y diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 8fa8fe46b285..72e2ebc33b54 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -102,6 +102,14 @@ config RHODEP_DTB Only include RHODEP specific DTBs to limit the number that get built during kernel compilation. +config MIAMI_DTB + depends on ARCH_QCOM + default n + bool "MIAMI DTBs" + help + Only include MIAMI specific DTBs to limit the number that + get built during kernel compilation. + config RHODEI_DTB depends on ARCH_QCOM default n