Loading arch/arm/mach-qcom/Kconfig +12 −0 Original line number Diff line number Diff line Loading @@ -62,5 +62,17 @@ config ARCH_MSM8953 select COMMON_CLK select COMMON_CLK_QCOM select QCOM_GDSC config ARCH_SDM450 bool "Enable support for SDM450" select CPU_V7 select HAVE_ARM_ARCH_TIMER select PINCTRL select QCOM_SCM if SMP select PM_DEVFREQ select COMMON_CLK select COMMON_CLK_QCOM select QCOM_GDSC endmenu endif arch/arm/mach-qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -2,3 +2,4 @@ obj-$(CONFIG_USE_OF) += board-dt.o obj-$(CONFIG_SMP) += platsmp.o obj-$(CONFIG_ARCH_SDXPOORWILLS) += board-poorwills.o obj-$(CONFIG_ARCH_MSM8953) += board-msm8953.o obj-$(CONFIG_ARCH_SDM450) += board-sdm450.o arch/arm/mach-qcom/board-sdm450.c 0 → 100644 +32 −0 Original line number Diff line number Diff line /* Copyright (c) 2017, 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 "board-dt.h" #include <asm/mach/map.h> #include <asm/mach/arch.h> static const char *sdm450_dt_match[] __initconst = { "qcom,sdm450", NULL }; static void __init sdm450_init(void) { board_dt_populate(NULL); } DT_MACHINE_START(SDM450_DT, "Qualcomm Technologies, Inc. SDM450 (Flattened Device Tree)") .init_machine = sdm450_init, .dt_compat = sdm450_dt_match, MACHINE_END Loading
arch/arm/mach-qcom/Kconfig +12 −0 Original line number Diff line number Diff line Loading @@ -62,5 +62,17 @@ config ARCH_MSM8953 select COMMON_CLK select COMMON_CLK_QCOM select QCOM_GDSC config ARCH_SDM450 bool "Enable support for SDM450" select CPU_V7 select HAVE_ARM_ARCH_TIMER select PINCTRL select QCOM_SCM if SMP select PM_DEVFREQ select COMMON_CLK select COMMON_CLK_QCOM select QCOM_GDSC endmenu endif
arch/arm/mach-qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -2,3 +2,4 @@ obj-$(CONFIG_USE_OF) += board-dt.o obj-$(CONFIG_SMP) += platsmp.o obj-$(CONFIG_ARCH_SDXPOORWILLS) += board-poorwills.o obj-$(CONFIG_ARCH_MSM8953) += board-msm8953.o obj-$(CONFIG_ARCH_SDM450) += board-sdm450.o
arch/arm/mach-qcom/board-sdm450.c 0 → 100644 +32 −0 Original line number Diff line number Diff line /* Copyright (c) 2017, 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 "board-dt.h" #include <asm/mach/map.h> #include <asm/mach/arch.h> static const char *sdm450_dt_match[] __initconst = { "qcom,sdm450", NULL }; static void __init sdm450_init(void) { board_dt_populate(NULL); } DT_MACHINE_START(SDM450_DT, "Qualcomm Technologies, Inc. SDM450 (Flattened Device Tree)") .init_machine = sdm450_init, .dt_compat = sdm450_dt_match, MACHINE_END