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

Commit 25a840a4 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 ccf21f85
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -102,6 +102,18 @@ config ARCH_MSM8909
	select HAVE_CLK_PREPARE
	select COMMON_CLK_MSM

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_MSM

config ARCH_SDM450
	bool "Enable support for SDM450"
	select CPU_V7
+1 −0
Original line number Diff line number Diff line
@@ -4,4 +4,5 @@ obj-$(CONFIG_ARCH_SDXPOORWILLS) += board-poorwills.o
obj-$(CONFIG_ARCH_MSM8953) += board-msm8953.o
obj-$(CONFIG_ARCH_MSM8937) += board-msm8937.o
obj-$(CONFIG_ARCH_MSM8909) += board-msm8909.o
obj-$(CONFIG_ARCH_MSM8917) += board-msm8917.o
obj-$(CONFIG_ARCH_SDM450) += board-sdm450.o
+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 *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