From patchwork Mon Mar 30 22:10:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11466393 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5762A14B4 for ; Mon, 30 Mar 2020 22:10:59 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 51B4220774; Mon, 30 Mar 2020 22:10:59 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail-pj1-f68.google.com (mail-pj1-f68.google.com [209.85.216.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2FA5D206CC for ; Mon, 30 Mar 2020 22:10:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MQVSNn2B" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FA5D206CC Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bjorn.andersson@linaro.org Received: by mail-pj1-f68.google.com with SMTP id g9so213882pjp.0 for ; Mon, 30 Mar 2020 15:10:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OUGH6boV97QY3HPRNrCFz2qqIfy/MTKq/GJOXJzP+wg=; b=MQVSNn2B3F3HsK9ir4fS2ndd9PcObJReFqU2iu8kOgjtsyNLT82Qh4PZ6+Ja+j1o/g CLWS+vO5Vm29wR/P+4euN23K32dR3Mw1J/oWBOXuaADswvearulbVUSrv1l9nfP4ubic Q5Xb2IbiDvftfxjFmes7agaI80lcocbh6OK8Tr542ZZ2Oj0xtyXp2nZkVtF3qOldfwaR GZrXB9NwQ0gbVRceWn32m85JeffhCfu4/UDGBgz6QQRNwY3MpRuaRCQz709U7lLwXStn tAtifNytyx+jL6AHs+86VRzaiblHu8aIrhN2i0VEI79XdejDPDbqRTHbtiQ5jjk/qHhR mlsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OUGH6boV97QY3HPRNrCFz2qqIfy/MTKq/GJOXJzP+wg=; b=fI5xYMVw8jSbqShvZ8CqB3K9LLm/dBoU/vS4ccB3S7zrd4tXsYLgo5b/SsJ3kMKGXF LJG0q6BEy+G/Xo6L7fttgxxrJnOjgbGGC8L5KCc3e0rnbTEMZkXQvhsbLD1TllfkIo1b PXHB0AMeIM8mAZ03YpytHtJXiidDOYp2E45qeamyrZMFjRtlVQQRT0vqgdQqA/egs99y 9LSm5xW1mowKGs+RFLUxbWzxCh3SOjTbJ/Syc2LUDYxS2tBmLc0Dwv3Kxl+EIuAwrflB MQIwOdVcxmznwevhGQgY8LVsP7M04rydoeq7NYCr9bhSidyMyMVaM/fOY4rasmOcu8UE VWmw== X-Gm-Message-State: AGi0Puav1CChZZqRRLQqMvvTVQAatovh8+ewJinzGN7fHrFP/LzXwwsl yCUvcIFdNegyk2W8mgEHktNU5RZOhgM= X-Google-Smtp-Source: APiQypKhqTu8qeFVMWXm7jXDzhpHz3/DkGaphHnvsFkrjRrbxpQPVyvnJLqt2kjIU1+rUuz/dxjILg== X-Received: by 2002:a17:902:9682:: with SMTP id n2mr1154759plp.44.1585606258179; Mon, 30 Mar 2020 15:10:58 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id a24sm10958283pfl.115.2020.03.30.15.10.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 15:10:57 -0700 (PDT) From: Bjorn Andersson List-Id: To: soc@kernel.org Cc: agross@kernel.org, linux@armlinux.org.uk, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Christian Lamparter , John Crispin , Robert Marko , Luka Perkov Subject: [PATCH] ARM: qcom: Add support for IPQ40xx Date: Mon, 30 Mar 2020 15:10:54 -0700 Message-Id: <20200330221054.76441-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 From: Christian Lamparter Add support for the Qualcomm IPQ40xx SoC in Kconfig. Also add its appropriate textofs. Signed-off-by: Christian Lamparter Signed-off-by: John Crispin Tested-by: Robert Marko Cc: Luka Perkov Link: https://lore.kernel.org/r/20200106135715.1159420-1-robert.marko@sartura.hr Signed-off-by: Bjorn Andersson --- soc, please pick this up for 5.7, per the replied to mail. arch/arm/Makefile | 1 + arch/arm/mach-qcom/Kconfig | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index db857d07114f..3db642722af0 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -152,6 +152,7 @@ textofs-$(CONFIG_PM_H1940) := 0x00108000 ifeq ($(CONFIG_ARCH_SA1100),y) textofs-$(CONFIG_SA1111) := 0x00208000 endif +textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000 textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000 textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000 textofs-$(CONFIG_ARCH_MESON) := 0x00208000 diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig index ecbf3c4eb878..1772eccb5caf 100644 --- a/arch/arm/mach-qcom/Kconfig +++ b/arch/arm/mach-qcom/Kconfig @@ -12,6 +12,11 @@ menuconfig ARCH_QCOM if ARCH_QCOM +config ARCH_IPQ40XX + bool "Enable support for IPQ40XX" + select CLKSRC_QCOM + select HAVE_ARM_ARCH_TIMER + config ARCH_MSM8X60 bool "Enable support for MSM8X60" select CLKSRC_QCOM