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

Commit 3621de62 authored by Raja Mallik's avatar Raja Mallik Committed by Sundara Vinayagam
Browse files

board: msm: Add board support for msm8909 chipset



Initial board support configuration for msm8909w.

Change-Id: I94c56e3c7c89337ae4a7b80df8cc9b8ba2382d0d
Signed-off-by: default avatarSundara Vinayagam <sundvi@codeaurora.org>
parent aac1e599
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -77,6 +77,31 @@ config ARCH_MSM8937
	select HAVE_CLK_PREPARE
	select COMMON_CLK_MSM

config ARCH_MSM8909
	bool "Enable support for MSM8909"
	select HAVE_ARM_ARCH_TIMER
	select MAY_HAVE_SPARSE_IRQ
	select PINCTRL_MSM_TLMM
	select USE_PINCTRL_IRQ
	select MSM_PM if PM
	select MSM_RPM_SMD
	select MSM_RPM_STATS_LOG
	select MSM_RPM_LOG
	select MSM_CORTEX_A7
	select QCOM_SCM if SMP
	select CPU_FREQ
	select CPU_FREQ_MSM
	select PM_DEVFREQ
	select PM_OPP
	select MSM_DEVFREQ_DEVBW
	select DEVFREQ_SIMPLE_DEV
	select DEVFREQ_GOV_MSM_BW_HWMON
	select MSM_BIMC_BWMON
	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
@@ -3,4 +3,5 @@ obj-$(CONFIG_SMP) += platsmp.o
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_SDM450) += board-sdm450.o
+33 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2016-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 <asm/mach/map.h>
#include <asm/mach/arch.h>
#include "board-dt.h"

static const char *msm8909_dt_match[] __initconst = {
	"qcom,msm8909",
	NULL
};

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

DT_MACHINE_START(MSM8909_DT,
	"Qualcomm Technologies, Inc. MSM 8909 (Flattened Device Tree)")
	.init_machine	= msm8909_init,
	.dt_compat	= msm8909_dt_match,
MACHINE_END