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

Commit f7677f61 authored by Avaneesh Kumar Dwivedi's avatar Avaneesh Kumar Dwivedi
Browse files

ARM: msm: Add support for new board config qcs403



This change support for new board config arch qcs403.
Also removes board config qcs 405 for 32 bit kernel.

Change-Id: I66712b5cfa7a1bb252c5205d52bb48db79b2de28
Signed-off-by: default avatarAvaneesh Kumar Dwivedi <akdwived@codeaurora.org>
parent 5542ee99
Loading
Loading
Loading
Loading
+37 −1
Original line number Diff line number Diff line
@@ -37,6 +37,42 @@ config ARCH_QCS405
	This enables support for the QCS405 chipset. If you do not
	wish to build a kernel that runs on this chipset, say 'N' here.

config ARCH_QCS403
	bool "Enable Support for QCS403"
	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 QCOM_GDSC
	select PINCTRL_MSM
	select USE_PINCTRL_IRQ
	select MSM_PM if PM
	select QMI_ENCDEC
	select CPU_FREQ
	select CPU_FREQ_MSM
	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 MSM_RPM_SMD
	select MSM_JTAGV8 if CORESIGHT_ETMV4
	help
	This enables support for the QCS403 chipset. If you do not
	wish to build a kernel that runs on this chipset, say 'N' here.

config ARCH_MSM8X60
	bool "Enable support for MSM8X60"
	select ARCH_SUPPORTS_BIG_ENDIAN
+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_QCS403) += board-qcs403.o
obj-$(CONFIG_ARCH_SDXPRAIRIE) += board-sdxprairie.o
+33 −0
Original line number Diff line number Diff line
/* Copyright (c) 2019, 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 *qcs403_dt_match[] __initconst = {
	"qcom,qcs403",
	"qcom,qcs404",
	NULL
};

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

DT_MACHINE_START(QCS403_DT,
	"Qualcomm Technologies, Inc. QCS403 (Flattened Device Tree)")
	.init_machine           = qcs403_init,
	.dt_compat              = qcs403_dt_match,
MACHINE_END
+10 −0
Original line number Diff line number Diff line
@@ -186,6 +186,16 @@ config ARCH_QCS405
	 If you do not wish to build a kernel that runs on this chipset,
	 say 'N' here.

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

config ARCH_SDMMAGPIE
	bool "Enable Support for Qualcomm Technologies, Inc. SDMMAGPIE"
	depends on ARCH_QCOM
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ config PINCTRL_IPQ8064

config PINCTRL_QCS405
	tristate "QTI QCS405 pin controller driver"
	depends on GPIOLIB && OF && (ARCH_QCS405 || COMPILE_TEST)
	depends on GPIOLIB && OF && (ARCH_QCS405 || COMPILE_TEST || ARCH_QCS403)
	select PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
Loading