Loading arch/arm/mach-qcom/Kconfig +16 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,22 @@ config ARCH_SDM450 select HAVE_CLK_PREPARE select COMMON_CLK_MSM config ARCH_SDM632 bool "Enable Support for Qualcomm Technologies Inc. SDM632" select CPU_V7 select PINCTRL select QCOM_SCM if SMP select CLKDEV_LOOKUP select HAVE_CLK select HAVE_CLK_PREPARE select SOC_BUS select PM_OPP select MFD_CORE select SND_SOC_COMPRESS select SND_HWDEP select CPU_FREQ_QCOM select COMMON_CLK_MSM config ARCH_MDM9650 bool "MDM9650" select ARM_GIC Loading arch/arm/mach-qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -10,3 +10,4 @@ obj-$(CONFIG_ARCH_SDM439) += board-sdm439.o obj-$(CONFIG_ARCH_SDM450) += board-sdm450.o obj-$(CONFIG_ARCH_MDM9650) += board-9650.o obj-$(CONFIG_ARCH_MDM9607) += board-9607.o obj-$(CONFIG_ARCH_SDM632) += board-sdm632.o arch/arm/mach-qcom/board-sdm632.c 0 → 100644 +32 −0 Original line number Diff line number Diff line /* Copyright (c) 2018, 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 *sdm632_dt_match[] __initconst = { "qcom,sdm632", NULL }; static void __init sdm632_init(void) { board_dt_populate(NULL); } DT_MACHINE_START(SDM632_DT, "Qualcomm Technologies, Inc. SDM632 (Flattened Device Tree)") .init_machine = sdm632_init, .dt_compat = sdm632_dt_match, MACHINE_END Loading
arch/arm/mach-qcom/Kconfig +16 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,22 @@ config ARCH_SDM450 select HAVE_CLK_PREPARE select COMMON_CLK_MSM config ARCH_SDM632 bool "Enable Support for Qualcomm Technologies Inc. SDM632" select CPU_V7 select PINCTRL select QCOM_SCM if SMP select CLKDEV_LOOKUP select HAVE_CLK select HAVE_CLK_PREPARE select SOC_BUS select PM_OPP select MFD_CORE select SND_SOC_COMPRESS select SND_HWDEP select CPU_FREQ_QCOM select COMMON_CLK_MSM config ARCH_MDM9650 bool "MDM9650" select ARM_GIC Loading
arch/arm/mach-qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -10,3 +10,4 @@ obj-$(CONFIG_ARCH_SDM439) += board-sdm439.o obj-$(CONFIG_ARCH_SDM450) += board-sdm450.o obj-$(CONFIG_ARCH_MDM9650) += board-9650.o obj-$(CONFIG_ARCH_MDM9607) += board-9607.o obj-$(CONFIG_ARCH_SDM632) += board-sdm632.o
arch/arm/mach-qcom/board-sdm632.c 0 → 100644 +32 −0 Original line number Diff line number Diff line /* Copyright (c) 2018, 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 *sdm632_dt_match[] __initconst = { "qcom,sdm632", NULL }; static void __init sdm632_init(void) { board_dt_populate(NULL); } DT_MACHINE_START(SDM632_DT, "Qualcomm Technologies, Inc. SDM632 (Flattened Device Tree)") .init_machine = sdm632_init, .dt_compat = sdm632_dt_match, MACHINE_END