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

Commit 151ebb41 authored by Archit Saxena's avatar Archit Saxena
Browse files

ARM: msm: Add support for new board config SDM429W



This change adds  support for new board config arch SDM429W.

Change-Id: Ic47206a94bf64e1a97e88f6a41c989607e42f3bf
Signed-off-by: default avatarArchit Saxena <archsaxe@codeaurora.org>
Signed-off-by: default avatarAvaneesh Kumar Dwivedi <akdwived@codeaurora.org>
parent ca2f28c9
Loading
Loading
Loading
Loading
+36 −0
Original line number Original line Diff line number Diff line
@@ -227,5 +227,41 @@ config ARCH_MDM9607
	select HWSPINLOCK
	select HWSPINLOCK
	select HAVE_CLK_PREPARE
	select HAVE_CLK_PREPARE


config ARCH_SDM429W
	bool "Enable support for SDM429W"
	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
	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
	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_QDSP6V2_CODECS
	select MSM_AUDIO_QDSP6V2 if SND_SOC
	select MSM_RPM_SMD
	select PCI
	select MSM_JTAG_MM if CORESIGHT_ETM
	select MSM_RPM_LOG
	select MSM_RPM_STATS_LOG

endmenu
endmenu
endif
endif
+1 −0
Original line number Original line Diff line number Diff line
@@ -2,6 +2,7 @@ obj-$(CONFIG_USE_OF) += board-dt.o
obj-$(CONFIG_SMP)	+= platsmp.o
obj-$(CONFIG_SMP)	+= platsmp.o
obj-$(CONFIG_ARCH_QCS405) += board-qcs405.o
obj-$(CONFIG_ARCH_QCS405) += board-qcs405.o
obj-$(CONFIG_ARCH_QCS403) += board-qcs403.o
obj-$(CONFIG_ARCH_QCS403) += board-qcs403.o
obj-$(CONFIG_ARCH_SDM429W) += board-sdm429w.o
obj-$(CONFIG_ARCH_TRINKET) += board-trinket.o
obj-$(CONFIG_ARCH_TRINKET) += board-trinket.o
obj-$(CONFIG_ARCH_SDXPRAIRIE) += board-sdxprairie.o
obj-$(CONFIG_ARCH_SDXPRAIRIE) += board-sdxprairie.o
obj-$(CONFIG_ARCH_MDM9607) += board-mdm9607.o
obj-$(CONFIG_ARCH_MDM9607) += board-mdm9607.o
+35 −0
Original line number Original line Diff line number Diff line
/* Copyright (c) 2020, 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 *sdm429w_dt_match[] __initconst = {
	"qcom,sdm429",
	"qcom,sda429",
	"qcom,sdm429w",
	"qcom,sda429w",
	NULL
};

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

DT_MACHINE_START(SDM429W_DT,
	"Qualcomm Technologies, Inc. QCS403 (Flattened Device Tree)")
	.init_machine           = sdm429w_init,
	.dt_compat              = sdm429w_dt_match,
MACHINE_END
+12 −0
Original line number Original line Diff line number Diff line
@@ -233,6 +233,18 @@ config ARCH_TRINKET
	  This enables support for the TRINKET chipset. If you do not
	  This enables support for the TRINKET chipset. If you do not
	  wish to build a kernel that runs on this chipset, say 'N' here.
	  wish to build a kernel that runs on this chipset, say 'N' here.


config ARCH_SDM429W
	bool "Enable Support for Qualcomm Technologies Inc. SDM429W"
	depends on ARCH_QCOM
	select CPU_FREQ_QCOM
	select COMMON_CLK
	select COMMON_CLK_QCOM
	help
	  This configuration option enables support to build kernel for
	  SDM429W SoC.
	  If you do not wish to build a kernel that runs on this chipset,
	  say 'N' here.

config ARCH_REALTEK
config ARCH_REALTEK
	bool "Realtek Platforms"
	bool "Realtek Platforms"
	help
	help