From patchwork Mon Oct 4 20:49:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Gerhold X-Patchwork-Id: 12534785 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86BB0C433EF for ; Mon, 4 Oct 2021 20:53:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 59B8F61360 for ; Mon, 4 Oct 2021 20:53:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 59B8F61360 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gerhold.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3EnFJptdd9CThQGHT8q4NQ5kN6VmkgaaMneENgr8+zg=; b=yxIsk9RDrExroI F4yZkDwK2tjGn0/Xo39Jz6XLW4/P10CV0qziGOlf5anL0P3vNopdzgfFIAOilpFXULbJ4Uq+RpVPN JeK5fhRs7KHxOjxcOntXEt/JvzEAeQlqAbe9O+4FFbTpF04LmWlwp3d3OEHwFisuNM8sy5AQ/ZIOD GeLk7WVCTG7cS8GMEcY9hqAFDsSVCU6hXOwRQMIm5tazTpHrVSyVHmPpuHctmirJAAs6Jn/A0tDvN g4W1U6nPsPoIclexBpPu2HuNmlAQ+vq2FQeR2sb6J3EDl5TBEwSfHBdlcrUb/4LECEx1ZKBdF5RRL +rreO02d5Iq9HhMSJOuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXUuf-0083mm-SM; Mon, 04 Oct 2021 20:50:18 +0000 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.84]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXUuc-0083m6-Nc for linux-arm-kernel@lists.infradead.org; Mon, 04 Oct 2021 20:50:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1633380611; s=strato-dkim-0002; d=gerhold.net; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=Bv0nC4DI6UrkCPmDGYdw4N9y7Tcvwwp6FOL6iEhuhKg=; b=S9hR03ptYHlK5NfoP/Jyq7whyr6NetDPESjPrn3RcpX7UlFjfubcwJbrXnzs509cfW R4Lj1ySmpsKL05z8bmrX6JhfI/+6SIVbUYSB1qi5H1YcXP/pUJ/3pro7LWf9JyVRAWcu gfDKRx64eXdewlEN1ggRlAJjv+tBdGUMfR7aujxsUyLz4OZdNL6YhQeudhwygFtCLbGK c+zWLxKkgWWEXsvKWtOXo19knoX9mFwVdgtpp3ycL2AM0okuvBGp6cdZNdRvwgOrTEt4 IIwYT3TvS0Rg/IvZog4Go8i6GvPdcqGtNymBFDEwoUrAcgj/IJ9T0VarjjtCIX57og2G hhwA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVORvLd4SsytBXTbAOHjRHIhr2eFePxBA=" X-RZG-CLASS-ID: mo00 Received: from droid.. by smtp.strato.de (RZmta 47.33.8 DYNA|AUTH) with ESMTPSA id 301038x94KoAKSj (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 4 Oct 2021 22:50:10 +0200 (CEST) From: Stephan Gerhold To: Bjorn Andersson Cc: Andy Gross , linux-arm-msm@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Stephan Gerhold Subject: [PATCH v2 07/15] ARM: qcom: Add ARCH_MSM8916 for MSM8916 on ARM32 Date: Mon, 4 Oct 2021 22:49:47 +0200 Message-Id: <20211004204955.21077-7-stephan@gerhold.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211004201921.18526-1-stephan@gerhold.net> References: <20211004201921.18526-1-stephan@gerhold.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211004_135014_981922_02939F53 X-CRM114-Status: GOOD ( 10.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a CONFIG_ARCH_MSM8916 option to enable building MSM8916 support on ARM32. Note that since ARM64 is the main supported architecture for MSM8916 this is only intended for testing and for devices where signed firmware does not allow booting ARM64 kernels. Signed-off-by: Stephan Gerhold --- Changes in v2: Simplify wording a bit --- arch/arm/mach-qcom/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig index 1772eccb5caf..466acc4a5e0c 100644 --- a/arch/arm/mach-qcom/Kconfig +++ b/arch/arm/mach-qcom/Kconfig @@ -21,6 +21,16 @@ config ARCH_MSM8X60 bool "Enable support for MSM8X60" select CLKSRC_QCOM +config ARCH_MSM8916 + bool "Enable support for MSM8916" + select HAVE_ARM_ARCH_TIMER + help + Enable support for the Qualcomm Snapdragon 410 (MSM8916/APQ8016). + + Note that ARM64 is the main supported architecture for MSM8916. + The ARM32 option is intended for a few devices with signed firmware + that does not allow booting ARM64 kernels. + config ARCH_MSM8960 bool "Enable support for MSM8960" select CLKSRC_QCOM