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

Commit 33ad777e authored by Runmin Wang's avatar Runmin Wang
Browse files

ARM: msm: Add support for sdxhedehog



Add a new board file, update Kconfig and Makefile to
support sdxhedgehog.

CRs-Fixed: 1075136
Change-Id: I16de5cd428fd035c973742ba61ce9287cc6d2881
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent 028ce97d
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -70,6 +70,31 @@ config ARCH_MDMCALIFORNIUM
	select MSM_RPM_LOG
	select MSM_RPM_STATS_LOG

config ARCH_SDXHEDGEHOG
	bool "SDXHEDGEHOG"
	select ARM_GIC
	select CPU_V7
	select REGULATOR
	select REGULATOR_RPM_SMD
	select HAVE_ARM_ARCH_TIMER
	select MSM_RPM_SMD
	select MSM_SPM
	select MSM_PM if PM
	select QMI_ENCDEC
	select MSM_CORTEX_A7
	select PINCTRL
	select PINCTRL_MSM_TLMM
	select USE_PINCTRL_IRQ
	select PCI
	select MSM_IRQ
	select MSM_JTAG_MM if CORESIGHT_ETM
	select MSM_CLK_CONTROLLER_V2
	select PM_DEVFREQ
	select MSM_DEVFREQ_DEVBW
	select DEVFREQ_SIMPLE_DEV
	select MSM_RPM_LOG
	select MSM_RPM_STATS_LOG

config ARCH_MSM8916
	bool "MSM8916"
	select MSM_CORTEX_A53
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ obj-$(CONFIG_USE_OF) += board-dt.o
obj-$(CONFIG_ARCH_MDM9640) += board-9640.o
obj-$(CONFIG_ARCH_MDM9607) += board-9607.o
obj-$(CONFIG_ARCH_MDMCALIFORNIUM) += board-californium.o
obj-$(CONFIG_ARCH_SDXHEDGEHOG) += board-hedgehog.o
obj-$(CONFIG_ARCH_MSM8916) += board-8952.o
obj-$(CONFIG_ARCH_MSM8917) += board-8917.o
obj-$(CONFIG_ARCH_MSM8920) += board-8920.o
+32 −0
Original line number Diff line number Diff line
/* Copyright (c) 2016, 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 *sdxhedgehog_dt_match[] __initconst = {
	"qcom,sdxhedgehog",
	NULL
};

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

DT_MACHINE_START(SDXHedgehog_DT,
	"Qualcomm Technologies, Inc. SDX hedgehog (Flattened Device Tree)")
	.init_machine		= sdxhedgehog_init,
	.dt_compat		= sdxhedgehog_dt_match,
MACHINE_END