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

Commit 2adebcb1 authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

ARM: msm: Add support for MSMTITANIUM SoC



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

Change-Id: I34571ebc7782c9daaca3e8501cbfd722630c9e26
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 0408cb3a
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -124,5 +124,35 @@ config ARCH_MSMTHORIUM
	select ARM_HAS_SG_CHAIN
	select MSM_JTAGV8 if CORESIGHT_ETMV4

config ARCH_MSMTITANIUM
	bool "MSMTITANIUM"
	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

endmenu
endif
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@ obj-$(CONFIG_ARCH_MDMFERMIUM) += board-fermium.o
obj-$(CONFIG_ARCH_MDMCALIFORNIUM) += board-californium.o
obj-$(CONFIG_ARCH_MSM8916) += board-8952.o
obj-$(CONFIG_ARCH_MSMTHORIUM) += board-thorium.o
obj-$(CONFIG_ARCH_MSMTITANIUM) += board-titanium.o
+33 −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 *msmtitanium_dt_match[] __initconst = {
	"qcom,msmtitanium",
	"qcom,apqtitanium",
	NULL
};

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

DT_MACHINE_START(MSMTITANIUM_DT,
	"Qualcomm Technologies, Inc. MSM TITANIUM (Flattened Device Tree)")
	.init_machine = msmtitanium_init,
	.dt_compat = msmtitanium_dt_match,
MACHINE_END