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

Commit 4e4a83b9 authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

ARM: msm: Add support for MSMGOLD SoC



This patch adds basic board support for MSMGOLD
SoC in 32bit mode.

Change-Id: Iec12de36da13a8b5cb1737c2c5cabc4ac659111e
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 56018187
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -128,6 +128,36 @@ config ARCH_MSM8937
	select ARM_HAS_SG_CHAIN
	select MSM_JTAGV8 if CORESIGHT_ETMV4

config ARCH_MSMGOLD
	bool "MSMGOLD"
	select MSM_CORTEX_A53
	select ARCH_MSM_CORTEXMP
	select CPU_V7
	select HAVE_SMP
	select ARM_GIC
	select MSM_IRQ
	select SPARSE_IRQ
	select MULTI_IRQ_HANDLER
	select HAVE_ARM_ARCH_TIMER
	select MAY_HAVE_SPARSE_IRQ
	select PINCTRL
	select PINCTRL_MSM_TLMM
	select USE_PINCTRL_IRQ
	select MSM_PM if PM
	select QMI_ENCDEC
	select CPU_FREQ
	select CPU_FREQ_MSM
	select PM_DEVFREQ
	select MSM_DEVFREQ_DEVBW
	select DEVFREQ_SIMPLE_DEV
	select DEVFREQ_GOV_MSM_BW_HWMON
	select MSM_BIMC_BWMON
	select MSM_QDSP6V2_CODECS
	select MSM_AUDIO_QDSP6V2 if SND_SOC
	select ARM_HAS_SG_CHAIN
	select MSM_RPM_SMD
	select MSM_JTAGV8 if CORESIGHT_ETMV4

config ARCH_MSMTITANIUM
	bool "MSMTITANIUM"
	select MSM_CORTEX_A53
+1 −0
Original line number Diff line number Diff line
@@ -3,5 +3,6 @@ obj-$(CONFIG_ARCH_MDM9640) += board-9640.o
obj-$(CONFIG_ARCH_MDM9607) += board-9607.o
obj-$(CONFIG_ARCH_MDMCALIFORNIUM) += board-californium.o
obj-$(CONFIG_ARCH_MSM8916) += board-8952.o
obj-$(CONFIG_ARCH_MSMGOLD) += board-gold.o
obj-$(CONFIG_ARCH_MSM8937) += board-8937.o
obj-$(CONFIG_ARCH_MSMTITANIUM) += board-titanium.o
+32 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, 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/arch.h>
#include "board-dt.h"

static const char *msmgold_dt_match[] __initconst = {
	"qcom,msmgold",
	NULL
};

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

DT_MACHINE_START(MSMGOLD_DT,
	"Qualcomm Technologies, Inc. MSM GOLD (Flattened Device Tree)")
	.init_machine = msmgold_init,
	.dt_compat = msmgold_dt_match,
MACHINE_END