diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index a148ceceb3639913cd596f8ce1cd53939d3f67f3..a4e308951f37289c127d6dc2a44a659c46f339cf 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 diff --git a/arch/arm64/configs/lineage_FP4_defconfig b/arch/arm64/configs/lineage_FP4_defconfig index 34f602fe8432fde45abe0e50c508c9da49f0ba49..43d5f73ef62ed589fd5f6599d2726de8bc6c801e 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