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

Commit 174db10e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "arm: qcom: Add initial platform for Monaco and Scuba"

parents 5ca720a4 872c2836
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
@@ -77,5 +77,40 @@ config ARCH_SDXNIGHTJAR
	select COMMON_CLK_QCOM
	select QCOM_GDSC
	select GENERIC_CLOCKEVENTS_BROADCAST

config ARCH_MONACO
	bool "Enable support for Qualcomm Technologies, Inc. MONACO"
	select ARM_GIC
	select ARM_GIC_V3
	select ARM_AMBA
	select HAVE_ARM_ARCH_TIMER
	select HAVE_PCI
	select PCI
	select PINCTRL
	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
	select GENERIC_CLOCKEVENTS_BROADCAST

config ARCH_SCUBA
	bool "Enable support for Qualcomm Technologies, Inc. SCUBA"
	select ARM_GIC
	select ARM_GIC_V3
	select ARM_AMBA
	select HAVE_ARM_ARCH_TIMER
	select HAVE_PCI
	select PCI
	select PINCTRL
	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
	select GENERIC_CLOCKEVENTS_BROADCAST

endmenu
endif
+2 −0
Original line number Diff line number Diff line
@@ -3,3 +3,5 @@ obj-$(CONFIG_SMP) += platsmp.o
obj-$(CONFIG_USE_OF) 	+= board-dt.o
obj-$(CONFIG_ARCH_SDXLEMUR) += board-sdxlemur.o
obj-$(CONFIG_ARCH_SDXNIGHTJAR) += board-sdxnightjar.o
obj-$(CONFIG_ARCH_MONACO) += board-monaco.o
obj-$(CONFIG_ARCH_SCUBA) += board-scuba.o
+25 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
 */

#include <linux/kernel.h>
#include "board-dt.h"
#include <asm/mach/map.h>
#include <asm/mach/arch.h>

static const char *monaco_dt_match[] __initconst = {
	"qcom,monaco",
	NULL
};

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

DT_MACHINE_START(MONACO_DT,
	"Qualcomm Technologies, Inc. MONACO (Flattened Device Tree)")
	.init_machine		= monaco_init,
	.dt_compat		= monaco_dt_match,
MACHINE_END
+25 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
 */

#include <linux/kernel.h>
#include "board-dt.h"
#include <asm/mach/map.h>
#include <asm/mach/arch.h>

static const char *scuba_dt_match[] __initconst = {
	"qcom,scuba",
	NULL
};

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

DT_MACHINE_START(SCUBA_DT,
	"Qualcomm Technologies, Inc. SCUBA (Flattened Device Tree)")
	.init_machine		= scuba_init,
	.dt_compat		= scuba_dt_match,
MACHINE_END