Loading arch/arm/mach-qcom/Kconfig +22 −0 Original line number Diff line number Diff line Loading @@ -128,5 +128,27 @@ config ARCH_SDXPRAIRIE select COMMON_CLK_QCOM select QCOM_GDSC select GENERIC_CLOCKEVENTS_BROADCAST config ARCH_MDM9607 bool "MDM9607" select ARM_GIC select CPU_V7 select REGULATOR select REGULATOR_RPM_SMD select HAVE_ARM_ARCH_TIMER select MSM_RPM_SMD select MEMORY_HOLE_CARVEOUT select MSM_CORTEX_A7 select PINCTRL select USE_PINCTRL_IRQ select MSM_IRQ select MSM_PM if PM select PM_DEVFREQ select MSM_DEVFREQ_DEVBW select MSM_BIMC_BWMON select DEVFREQ_GOV_MSM_BW_HWMON select HWSPINLOCK select HAVE_CLK_PREPARE endmenu endif arch/arm/mach-qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -3,3 +3,4 @@ obj-$(CONFIG_SMP) += platsmp.o obj-$(CONFIG_ARCH_QCS405) += board-qcs405.o obj-$(CONFIG_ARCH_QCS403) += board-qcs403.o obj-$(CONFIG_ARCH_SDXPRAIRIE) += board-sdxprairie.o obj-$(CONFIG_ARCH_MDM9607) += board-mdm9607.o arch/arm/mach-qcom/board-mdm9607.c 0 → 100644 +33 −0 Original line number Diff line number Diff line /* * Copyright (c) 2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <linux/kernel.h> #include <asm/mach/map.h> #include <asm/mach/arch.h> #include "board-dt.h" static const char *mdm9607_dt_match[] __initconst = { "qcom,mdm9607", NULL }; static void __init mdm9607_init(void) { board_dt_populate(NULL); } DT_MACHINE_START(MDM9607_DT, "Qualcomm Technologies, Inc. MDM 9607 (Flattened Device Tree)") .init_machine = mdm9607_init, .dt_compat = mdm9607_dt_match, MACHINE_END Loading
arch/arm/mach-qcom/Kconfig +22 −0 Original line number Diff line number Diff line Loading @@ -128,5 +128,27 @@ config ARCH_SDXPRAIRIE select COMMON_CLK_QCOM select QCOM_GDSC select GENERIC_CLOCKEVENTS_BROADCAST config ARCH_MDM9607 bool "MDM9607" select ARM_GIC select CPU_V7 select REGULATOR select REGULATOR_RPM_SMD select HAVE_ARM_ARCH_TIMER select MSM_RPM_SMD select MEMORY_HOLE_CARVEOUT select MSM_CORTEX_A7 select PINCTRL select USE_PINCTRL_IRQ select MSM_IRQ select MSM_PM if PM select PM_DEVFREQ select MSM_DEVFREQ_DEVBW select MSM_BIMC_BWMON select DEVFREQ_GOV_MSM_BW_HWMON select HWSPINLOCK select HAVE_CLK_PREPARE endmenu endif
arch/arm/mach-qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -3,3 +3,4 @@ obj-$(CONFIG_SMP) += platsmp.o obj-$(CONFIG_ARCH_QCS405) += board-qcs405.o obj-$(CONFIG_ARCH_QCS403) += board-qcs403.o obj-$(CONFIG_ARCH_SDXPRAIRIE) += board-sdxprairie.o obj-$(CONFIG_ARCH_MDM9607) += board-mdm9607.o
arch/arm/mach-qcom/board-mdm9607.c 0 → 100644 +33 −0 Original line number Diff line number Diff line /* * Copyright (c) 2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <linux/kernel.h> #include <asm/mach/map.h> #include <asm/mach/arch.h> #include "board-dt.h" static const char *mdm9607_dt_match[] __initconst = { "qcom,mdm9607", NULL }; static void __init mdm9607_init(void) { board_dt_populate(NULL); } DT_MACHINE_START(MDM9607_DT, "Qualcomm Technologies, Inc. MDM 9607 (Flattened Device Tree)") .init_machine = mdm9607_init, .dt_compat = mdm9607_dt_match, MACHINE_END