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

Commit fe433bb3 authored by Gaurav Kohli's avatar Gaurav Kohli Committed by Gerrit - the friendly Code Review server
Browse files

ARM: qcom: Add board config support for sdm670



Add the initial board config support for sdm670.

Change-Id: I9b8b5f54211d508d5d60249e54c20275be722500
Signed-off-by: default avatarGaurav Kohli <gkohli@codeaurora.org>
Signed-off-by: default avatarMukesh Ojha <mojha@codeaurora.org>
Signed-off-by: default avatarShadab Naseem <snaseem@codeaurora.org>
parent 643eac1b
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
@@ -177,6 +177,40 @@ config ARCH_SDM632
	select CPU_FREQ_QCOM
	select COMMON_CLK_MSM

config ARCH_SDM670
        bool "Enable Support for SDM670"
	select CPU_V7
	select CLKDEV_LOOKUP
	select HAVE_CLK
	select HAVE_CLK_PREPARE
	select PM_OPP
	select SOC_BUS
	select MSM_IRQ
	select THERMAL_WRITABLE_TRIPS
	select ARM_GIC_V3
	select ARM_AMBA
	select SPARSE_IRQ
	select MULTI_IRQ_HANDLER
	select HAVE_ARM_ARCH_TIMER
	select MAY_HAVE_SPARSE_IRQ
	select COMMON_CLK
	select COMMON_CLK_QCOM
	select QCOM_GDSC
	select PINCTRL_MSM_TLMM
	select PCI
	select USE_PINCTRL_IRQ
	select MSM_PM if PM
	select QMI_ENCDEC
	select CPU_FREQ
	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 GENERIC_IRQ_MIGRATION

config ARCH_MDM9650
	bool "MDM9650"
	select ARM_GIC
+1 −0
Original line number Diff line number Diff line
@@ -12,3 +12,4 @@ obj-$(CONFIG_ARCH_SDM450) += board-sdm450.o
obj-$(CONFIG_ARCH_MDM9650) += board-9650.o
obj-$(CONFIG_ARCH_MDM9607) += board-9607.o
obj-$(CONFIG_ARCH_SDM632) += board-sdm632.o
obj-$(CONFIG_ARCH_SDM670) += board-sdm670.o
+33 −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 *sdm670_dt_match[] __initconst = {
	"qcom,sdm670",
	"qcom,qcs605",
	NULL
};

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

DT_MACHINE_START(SDM670_DT,
	"Qualcomm Technologies, Inc. SDM670 (Flattened Device Tree)")
	.init_machine		= sdm670_init,
	.dt_compat		= sdm670_dt_match,
MACHINE_END