From patchwork Mon Mar 15 04:32:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 402011 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AEFB5C4332B for ; Mon, 15 Mar 2021 04:33:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 87E3364E86 for ; Mon, 15 Mar 2021 04:33:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229890AbhCOEdQ (ORCPT ); Mon, 15 Mar 2021 00:33:16 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:45015 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229809AbhCOEcz (ORCPT ); Mon, 15 Mar 2021 00:32:55 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id BB495580806; Mon, 15 Mar 2021 00:32:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 15 Mar 2021 00:32:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=dGOSu91ccRc7/ g9NBATCWczOqGj+KwM6uf+lTMCJph0=; b=INsffJjTtAvcvikujjQ5lK8GO9146 bs5PsjTVuym7m44yXHZJCUur4UXkpFQqRkFb0yFLLb5tjt0M/vm5EmgEKnD76khz bAJ2bJ2SUU/ikYW/PFUq8E3LjfGSTEiGOAYATLkM3w6f1YcmS4jB8+9OwKm+THAA Yxz/NxbrER6jjAbjHS0pKXZk4G/GfgSt+QITwU/obhjXUdioSLGFkAP88mLBW91z 8og8G5soRH/HhVSk3w6Q0ndsELpnxSm6OnYJMk7jS/uYbInccKS0MwU1ppfQPXJK 1GOIGAe2NwfgQLFfnIR0DyfIeRtJ6AMvGsUD2kH2AAwrBnNjq3s4lNZrQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=dGOSu91ccRc7/g9NBATCWczOqGj+KwM6uf+lTMCJph0=; b=bz1M8pU8 blQl6shGSjymIeQw26uJa0fEEVLv47ptsZCpo72/28j3CovvKOFJWAl98O+nPOAw mjHHAkqts475qNmd5+9NXOzPkmSUBDqwbzbJXKqnfAf+neFijnSl0dHXbTOh+1A9 FtBFNHWByzGSjeWmV2s52I5DUheWcTxhcii6znH+7nDSiJYuOoSBcL0ImQ0qdxxK uiDf37lsRiDH+d2WD0Rj50noyhmV0ClBLYlObhPbOKM4AsGkObyIAoVK0gZrsafa 5r+XXgXLXEnSuDBJJ8SWcWMv575VLaxc9MCwuxeJpkac1tTMi/gH7AgJWzq6f32w g28TGrh/xjBfBA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvkedgjeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeduhfejfedvhffgfeehtefghfeiiefgfeehgfdvvdevfeegjeehjedv gfejheeuieenucfkphepjedtrddufeehrddugeekrdduhedunecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghn ugdrohhrgh X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 116001080054; Mon, 15 Mar 2021 00:32:54 -0400 (EDT) From: Samuel Holland To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Catalin Marinas , Will Deacon Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Samuel Holland Subject: [PATCH 5/5] arm64: sunxi: Build the sun4i timer driver Date: Sun, 14 Mar 2021 23:32:50 -0500 Message-Id: <20210315043250.45095-6-samuel@sholland.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210315043250.45095-1-samuel@sholland.org> References: <20210315043250.45095-1-samuel@sholland.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org While the ARM architectural timer is generatlly the best timer to use, a non-c3stop timer is needed for cpuidle. Use the sun4i timer for this purpose, which is present on all 64-bit sunxi SoCs. Signed-off-by: Samuel Holland --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index cdfd5fed457f..7f6a66431fa7 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -26,6 +26,7 @@ config ARCH_SUNXI select IRQ_FASTEOI_HIERARCHY_HANDLERS select PINCTRL select RESET_CONTROLLER + select SUN4I_TIMER help This enables support for Allwinner sunxi based SoCs like the A64.