From patchwork Mon Mar 22 04:47:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12153685 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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,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 8633CC433C1 for ; Mon, 22 Mar 2021 04:49:32 +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 295CC61931 for ; Mon, 22 Mar 2021 04:49:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 295CC61931 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: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:In-Reply-To:References:List-Owner; bh=Z1i3U7g3oSEJNtYog20TpL/my7jzlexNF47Zz15GUY0=; b=bX0Mxm0op47uyFduP17lp8yOig osgfreg5Dv2Q2QD4b2jdOleIPdccoKkOeXaUplirHPltlXfCXjZRM9pK3nIXaOfaQhtpwzKKTw2Wc 4+3OJQYGr31iR6STQSrUUvkcsA4lqfP7oAVyDbT2ru9qFAGV8UmxcJacY0KRFQXToZO9U8P9h7hJi TKUsY5KwhKWG9Y/u3ki5yujNG8nLyz8sDYB/rhl1cgBvEtm0B1ZYIpkM4qQe8xtaETUzrz0RulXsD PBU7R5zltqqTBFQCxJFm5D0eiYFpj+RNZLeyrm+gazrWgNk0c7wnlEEgqXCbsEybPbunb3Q/6UDLB UhAdDcwg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lOCTo-00As8F-Fy; Mon, 22 Mar 2021 04:47:52 +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 1lOCTH-00As19-7O for linux-arm-kernel@lists.infradead.org; Mon, 22 Mar 2021 04:47:23 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 32AC2581B0D; 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:mime-version :content-transfer-encoding; s=fm2; bh=LfE/ugdalA0RX2yyD9H37azMsf 8cwA7ptPgiuuL5JmU=; b=lQarjjN2wgFdPqezoGm7BLBnmDIEyNbWmDI9JIC58j cHbRs9/OFy6fZBcmod+5881f1xGWEhftM3YEvIycByw9fKOZmqxPxkQic+6/rvJT Pmp4UwuONtgjksENwFuU2lMHSYGn7llqI8lyERHqt6r45h2KRCNZ5J+3ynBA9Ip/ 8eqPZOpyeEzCIWKC6KWvBozyUGrVbU1uWj9bdta5eVrMag8TsUuSQbJftUHqIBPx v7C8+iPnenJr/epuBt09vI7eestaBBwNh55eqxaRYknIPUm3iAolJFe/9Mfydgcy iimUDDAzpASBiM28I70aOioBx1Njcosv+Hv/S8Ta24LQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=LfE/ugdalA0RX2yyD 9H37azMsf8cwA7ptPgiuuL5JmU=; b=XtbmemrvCrQK8I1GXs4aoWkjh43mXkGuJ FI13sqKj+CQ1RjMF/r6dIrVqXQV9BGclBoRFwQ2pNEeYYsmhXU57gZHR+aLK7Ei4 TqdLSGFFfd+7WuUc7ahobNGpMIVqV9103+UIVv63TYJMWvIhwa+AjTSvj6jjd/Xb X70WwQFvC/ISrYWOCgEyJCQBgPerbifO+k2D028FQOWhEF/uoBUcVIj43INNrIVQ 0l+tMfRhfl/Tb9uBSEVdgkdlqinDcaXBl6xHtLca7nSLEnijUua5Ba1cpRc1ElMQ AoWlJAQdpHr8u5jKkHoLJw8zCVtueyCnck5He0LBRfsGZOA12BLwQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudegfedgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeeiteekhfehuddugfeltddufeejjeefgeevheekueffhffhjeekheeiffdt vedtveenucfkphepjedtrddufeehrddugeekrdduhedunecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghnugdr ohhrgh 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 77899108005C; Mon, 22 Mar 2021 00:47:08 -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 0/5] arm64: sunxi: Enable the sun4i timer Date: Sun, 21 Mar 2021 23:47:02 -0500 Message-Id: <20210322044707.19479-1-samuel@sholland.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210322_044720_509091_52D20BBC X-CRM114-Status: UNSURE ( 9.20 ) X-CRM114-Notice: Please train this message. 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 In preparation for adding CPU idle states, hook up the sun4i timer. Having a non-c3stop clockevent source available is necessary for all CPUs to simultaneously enter a local-timer-stop idle state. Changes from v1: - Removed H616 changes (depends on an unmerged patch set) - Reworded the patch 4-5 commit messages for clarity - Added Acked-by tags Samuel Holland (5): dt-bindings: timer: Simplify conditional expressions dt-bindings: timer: Add compatibles for sun50i timers arm64: dts: allwinner: a64: Sort watchdog node arm64: dts: allwinner: Add sun4i MMIO timer nodes arm64: sunxi: Build the sun4i timer driver .../timer/allwinner,sun4i-a10-timer.yaml | 42 +++++++++---------- arch/arm64/Kconfig.platforms | 1 + arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 25 +++++++---- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 9 ++++ 4 files changed, 46 insertions(+), 31 deletions(-) Acked-by: Daniel Lezcano