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

Commit 84a3e41e authored by Swetha Chikkaboraiah's avatar Swetha Chikkaboraiah Committed by Gerrit - the friendly Code Review server
Browse files

ARM: qcom: Add board config support for msm8917



Add board config support for msm8917.

Change-Id: I69a573a3eddc0957259d23f700d9e03ba97d20fe
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
parent bf345e58
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -103,6 +103,19 @@ config ARCH_BENGAL
	  This enables support for the BENGAL chipset. If you do not
	  This enables support for the BENGAL chipset. If you do not
	  wish to build a kernel that runs on this chipset, say 'N' here.
	  wish to build a kernel that runs on this chipset, say 'N' here.


config ARCH_MSM8917
	bool "Enable support for MSM8917"
	select CPU_V7
	select HAVE_ARM_ARCH_TIMER
	select PINCTRL
	select QCOM_SCM if SMP
	select PM_DEVFREQ
	select CLKDEV_LOOKUP
	select HAVE_CLK
	select HAVE_CLK_PREPARE
	select COMMON_CLK
	select COMMON_CLK_QCOM

config ARCH_SCUBA
config ARCH_SCUBA
	bool "Enable Support for Qualcomm Technologies, Inc. SCUBA"
	bool "Enable Support for Qualcomm Technologies, Inc. SCUBA"
	select COMMON_CLK_QCOM
	select COMMON_CLK_QCOM
+1 −0
Original line number Original line Diff line number Diff line
@@ -3,3 +3,4 @@ obj-$(CONFIG_SMP) += platsmp.o
obj-$(CONFIG_ARCH_BENGAL) += board-bengal.o
obj-$(CONFIG_ARCH_BENGAL) += board-bengal.o
obj-$(CONFIG_ARCH_SCUBA) += board-scuba.o
obj-$(CONFIG_ARCH_SCUBA) += board-scuba.o
obj-$(CONFIG_ARCH_SDM660) += board-660.o
obj-$(CONFIG_ARCH_SDM660) += board-660.o
obj-$(CONFIG_ARCH_MSM8917) += board-msm8917.o
+25 −0
Original line number Original line Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2018, 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 *msm8917_dt_match[] __initconst = {
	"qcom,msm8917",
	NULL
};

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

DT_MACHINE_START(MSM8917_DT,
	"Qualcomm Technologies, Inc. MSM8917-PMI8950 MTP")
	.init_machine		= msm8917_init,
	.dt_compat		= msm8917_dt_match,
MACHINE_END