From f3685d5afb3ac89bcca92ae489b1999d2fe18313 Mon Sep 17 00:00:00 2001 From: Albert I Date: Tue, 7 Aug 2018 15:01:22 +0800 Subject: [PATCH 1/2] Fairphone: Add platform specific configuration * Add FP4 Change-Id: I26c34e3bc5b7e9dacc3c0566450ec93f0d50d48f --- arch/arm64/Kconfig.platforms | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index a148ceceb363..a4e308951f37 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -420,4 +420,30 @@ config ARCH_ZYNQMP help This enables support for Xilinx ZynqMP Family +config MACH_FAIRPHONE + bool "Fairphone devices" + help + This enables support for Fairphone devices. + +if MACH_FAIRPHONE + +config MACH_FAIRPHONE_LAGOON + bool + select ARCH_QCOM + select ARCH_LAGOON + select ARCH_LITO + +choice + prompt "Fairphone device" + +config MACH_FAIRPHONE_FP4 + bool "Fairphone 4" + select MACH_FAIRPHONE_LAGOON + help + This enables support for Fairphone 4. + +endchoice + +endif + endmenu -- GitLab From fe2c1a459a0c45aeb212059213592260c9cc56f7 Mon Sep 17 00:00:00 2001 From: merothh Date: Thu, 27 Jan 2022 15:39:08 +0530 Subject: [PATCH 2/2] configs/lineage_FP4_defconfig: Enable MACH_FAIRPHONE_FP4 --- arch/arm64/configs/lineage_FP4_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/lineage_FP4_defconfig b/arch/arm64/configs/lineage_FP4_defconfig index 34f602fe8432..43d5f73ef62e 100644 --- a/arch/arm64/configs/lineage_FP4_defconfig +++ b/arch/arm64/configs/lineage_FP4_defconfig @@ -306,6 +306,9 @@ CONFIG_ARCH_LAGOON=y # CONFIG_ARCH_XGENE is not set # CONFIG_ARCH_ZX is not set # CONFIG_ARCH_ZYNQMP is not set +CONFIG_MACH_FAIRPHONE=y +CONFIG_MACH_FAIRPHONE_LAGOON=y +CONFIG_MACH_FAIRPHONE_FP4=y # # Bus support -- GitLab