From patchwork Mon Mar 22 04:47:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12153689 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=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 6DAE7C433DB for ; Mon, 22 Mar 2021 04:49:44 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 E388661934 for ; Mon, 22 Mar 2021 04:49:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E388661934 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=gTzIXeYioCVCKYCFY1WdmNeKKL/Da58yAKBGEU16sp8=; b=nzZAkt4wd0wpImi263oFZVNfV ay97uxz27GC+lC7JuNSjPobnBkIuIatTQoGax8COAu3UIV3rpi16NJnVjkYiCNTPOyzRZ8ZUrgxxK HvPn292gVU0Uy9oke/H1E249wSHfSk71QEdpX8d29CKQvrmY5ZAC999jOtbvWb8fWHk/j6AzAhY0w chP+FgQR7JYM3uJYtvc7komaZe5M5+iTzgLO3J+uTNP/UTsbKndofM9N9TCAL6R7OYuRii+VMCLiW QAXJEsyamt+ikz/cLTAu+sjE43Lb75MSMpw5bvFi3FRC1gS1GMq4/qQpQkVOobHaGM8lHw6e7MAZf rxnCIwfbQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lOCU6-00AsCJ-8M; Mon, 22 Mar 2021 04:48:10 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lOCTL-00As3u-0f for linux-arm-kernel@lists.infradead.org; Mon, 22 Mar 2021 04:47:26 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id B7ED9581B0F; Mon, 22 Mar 2021 00:47:11 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 22 Mar 2021 00:47:11 -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=Ow8+C1n+5nakf +x70/1kbyfB9ApJLz6iTJRCy/x/ueU=; b=WYCEJuLEh0BOAC0gqpg7dr4/qhhq8 83q6nhGABVK9RYpf63J4BqgFr/ynkA3liMWwVuLzAou7f4eEtiKBwa+WDko4LgKA 7vImUk5efSXhYKuGsOH0RYWycKTIY5uwxUoVp7vpUQgTpigG+3Wy8m259yPuVbdA BHESHVrOf2u/w/lzk/aMxKLcle8lBPVecXmvkfa0GKf8/NNz6SoG3bKGPu2fuspW GaCevNKJGCjrWXw1oO1giLQU3ZHhrNk/KXdWPZPrfg71mlcmI9TXNkxUPPRWcrm1 Wxq15qmLUALKEtwpP6v09aTho5xtAPEGyVu/5omYdyuGVbF+2WQT8tK7w== 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=Ow8+C1n+5nakf+x70/1kbyfB9ApJLz6iTJRCy/x/ueU=; b=ayhgVyzD DoV+/Ya4owz4HbSZGl/3IdG4X5UlGevNtzyQfpCD5OAJWCDbTyLBFuvktt7+szik HShW0ToQ3uasa9L8ndzXyxBmjQLEQ2D2rkpwQk6SPKDMUpsO82raKXUSSCBGFmKm XEdr2zJlpSyF9RzrOKgG5Ihm4lzUyxRVPPvhpf4hTxJd/G7FrODOXdRQtORE49Vn KadxUN6mgUZtLvSlzNeF6o4Ro+CWteaHVG33nG2Vw+emv+B7+uJ8KXrCZ6xQSSl2 7wawusAJpi3i0Nux4vinrNHSzqQDk1bMvdDZ7dbhZSQKoNuMJfKuW+QPx3CY2v0g M5GK2pur0xUJoA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudegfedgjeehucetufdoteggodetrfdotf 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 210A8108005F; Mon, 22 Mar 2021 00:47:11 -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-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Samuel Holland Subject: [PATCH v2 5/5] arm64: sunxi: Build the sun4i timer driver Date: Sun, 21 Mar 2021 23:47:07 -0500 Message-Id: <20210322044707.19479-6-samuel@sholland.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210322044707.19479-1-samuel@sholland.org> References: <20210322044707.19479-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210322_044723_343715_3F7F321A X-CRM114-Status: GOOD ( 11.03 ) 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 While the ARM architectural timer is generatlly the best timer to use, a non-c3stop timer is needed for cpuidle. Build the "sun4i" timer driver so it can be used for this purpose. It 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.