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

Commit 6e4709c6 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "arch: arm: add support for sdxprairie target"

parents d2560a26 3601097f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -53,6 +53,9 @@ SoCs:
- QCS405
  compatible = "qcom,qcs405"

- SDXPRAIRIE
  compatible = "qcom,sdxprairie"

Generic board variants:

- CDP device:
@@ -151,3 +154,6 @@ compatible = "qcom,qcs405-mtp"
compatible = "qcom,qcs405-cdp"
compatible = "qcom,sm8150-auto-adp-star"
compatible = "qcom,auto-adp-star"
compatible = "qcom,sdxprairie-rumi"
compatible = "qcom,sdxprairie-mtp"
compatible = "qcom,sdxprairie-cdp"
+1 −0
Original line number Diff line number Diff line
@@ -562,6 +562,7 @@ config ARCH_QCOM
       select CLKDEV_LOOKUP
       select GENERIC_CLOCKEVENTS
       select GENERIC_ALLOCATOR
       select ARM_GIC
       select ARM_PATCH_PHYS_VIRT
       select ARM_HAS_SG_CHAIN
       select ARCH_HAS_OPP
+13 −0
Original line number Diff line number Diff line
@@ -78,5 +78,18 @@ config ARCH_MDM9615
	select CLKSRC_OF
	select COMMON_CLK

config ARCH_SDXPRAIRIE
	bool "Enable support for SDXPRAIRIE"
	select CPU_V7
	select HAVE_ARM_ARCH_TIMER
	select MSM_CORTEX_A7
	select PINCTRL
	select PCI
	select QCOM_SCM if SMP
	select MSM_JTAG_MM if CORESIGHT_ETM
	select PM_DEVFREQ
	select COMMON_CLK
	select COMMON_CLK_QCOM
	select QCOM_GDSC
endmenu
endif
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_USE_OF) += board-dt.o
obj-$(CONFIG_SMP)	+= platsmp.o
obj-$(CONFIG_ARCH_QCS405) += board-qcs405.o
obj-$(CONFIG_ARCH_SDXPRAIRIE) += board-sdxprairie.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 *sdxprairie_dt_match[] __initconst = {
	"qcom,sdxprairie",
	NULL
};

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

DT_MACHINE_START(SDXPRAIRIE_DT,
	"Qualcomm Technologies, Inc. SDXPRAIRIE (Flattened Device Tree)")
	.init_machine		= sdxprairie_init,
	.dt_compat		= sdxprairie_dt_match,
MACHINE_END
Loading