Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ee658e8 authored by Maria Yu's avatar Maria Yu Committed by Srinivasarao P
Browse files

ARM: qcom: Add board config support for msm8953



Add the initial board config support for msm8953.

Change-Id: I807dce9bec81c6ebde5e6d58f9583b1397a67082
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
Signed-off-by: default avatarSrinivasarao P <spathi@codeaurora.org>
parent 926cb9b2
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -153,5 +153,15 @@ config ARCH_SCUBA
	  This enables support for the SCUBA chipset. If you do not
	  wish to build a kernel that runs on this chipset, say 'N' here.

config ARCH_MSM8953
	bool "Enable support for MSM8953"
	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
+1 −0
Original line number Diff line number Diff line
@@ -5,3 +5,4 @@ obj-$(CONFIG_ARCH_SCUBA) += board-scuba.o
obj-$(CONFIG_ARCH_SDM660) += board-660.o
obj-$(CONFIG_ARCH_MSM8917) += board-msm8917.o
obj-$(CONFIG_ARCH_QM215) += board-qm215.o
obj-$(CONFIG_ARCH_MSM8953) += board-msm8953.o
+25 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017,2021, The Linux Foundation. All rights reserved.
 */

#include <linux/kernel.h>
#include "board-dt.h"
#include <asm/mach/map.h>
#include <asm/mach/arch.h>

static const char *msm8953_dt_match[] __initconst = {
	"qcom,msm8953",
	NULL
};

static void __init msm8953_init(void)
{
	board_dt_populate(NULL);
}

DT_MACHINE_START(MSM8953_DT,
	"Qualcomm Technologies, Inc. MSM8953 (Flattened Device Tree)")
	.init_machine		= msm8953_init,
	.dt_compat		= msm8953_dt_match,
MACHINE_END