From patchwork Wed Oct 7 14:35:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 3577 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mxe881.netcup.net (Postfix) with ESMTPS id 2B5DC1C0E11 for ; Wed, 7 Oct 2026 16:42:31 +0200 (CEST) Authentication-Results: mxe881; dkim=pass header.d=kernel.org; spf=pass (sender IP is 172.234.253.10) smtp.mailfrom=linux-sunxi+bounces-26551-noreply=patchwork.local@lists.linux.dev smtp.helo=sea.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.234.253.10 as permitted sender) client-ip=172.234.253.10; envelope-from=linux-sunxi+bounces-26551-noreply=patchwork.local@lists.linux.dev; helo=sea.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 8D26130F87 for ; Wed, 7 Oct 2026 14:36:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF11C37F318; Wed, 7 Oct 2026 14:36:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GBLPmq5r" X-Original-To: linux-sunxi@lists.linux.dev Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B802D4AEBEC; Wed, 7 Oct 2026 14:36:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791383765; cv=none; b=YlmG6E5kgj8wAjZzvPc8rNqTzK4JwYzrA3Rf4lawD2wLXKwaAOS9QanySEXD9sNAVDwYtdCcPGlVqLg3r/E/E8grK2D9lX3P2GysFYrh8H8e4oJ2mG4iaEm5VlI9BlfvuI62ipmWcuexLZiP5rIoSvlgcSoxGg0Qiz6lFPWwoe4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791383765; c=relaxed/simple; bh=JCDxpzDMPi258juByXUTo/u1k+9ayt6in3D9ik2ndYw=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=ig6yMO2N46E8RYU9tWW6eb4fWtllxReqHrVPJyuYy4Un3pTU8QJkZzWhtmaQ/TH5bSzLTPF9/fYHUpEuzyzVHXM+7JOyYmzKl+0b7ili4yAjEGLOpuYkyqKwkIXOgLMLptLfOpe6orF0vmwDGC3W2KedsMvGpybStRm+mS0/nGY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GBLPmq5r; arc=none smtp.client-ip=100.103.45.18 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DC5A1F0089B; Wed, 7 Oct 2026 14:35:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791383760; bh=IIr/Aoc1Hs3lvHLCFBiOMQidFB5bfl16umvco5XedmY=; h=Date:From:To:Cc:Subject; b=GBLPmq5rt9Jn/3UM0qjTFoHmGIKVO532Wu6JkLg3615fh9nHVSEPk+MkSaXxFpQMZ niiv33Fbo7mrpHbhn1LSTWtELRUAdNfJALbn8ek6oMSfKXjLgTFt6u/9sBIl/x6WfS PNjRpTjG4Erv8axilgxq43+f+ngulcAw0WouGa+Yrz+e0nJ+1awAwtJfxS8WzTgYFB Bax1oYRSWQJWbhcEN3LupYcNA52XudAni4hRKJ3tiJvJLpfd9Rq9W1RYI5iuPYqbWN S3nNhf0mee8BbhNJoQdllOOZVgpDOwsnpK+I/hxL4cR+cQVUfW1W0xel73SmaH8KQA ongfBcoZ3PJ3w== Date: Wed, 7 Oct 2026 22:35:55 +0800 From: Chen-Yu Tsai To: Stephen Boyd , Brian Masney , Jerome Brunet Cc: Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [GIT PULL] Allwinner Clock Changes for 7.4 Message-ID: Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-5.76 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[172.234.253.10:from]; SIGNED_PGP(-2.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MAILLIST(-0.15)[generic]; BAD_REP_POLICIES(0.10)[]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(0.00)[kernel.org:s=k20260515]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[wens@kernel.org,linux-sunxi@lists.linux.dev]; PRECEDENCE_BULK(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[sea.lore.kernel.org:rdns,sea.lore.kernel.org:helo]; TAGGED_FROM(0.00)[bounces-26551-noreply=patchwork.local]; ASN(0.00)[asn:63949, ipnet:172.234.224.0/19, country:SG]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1]; R_SPF_ALLOW(0.00)[+ip4:172.234.253.10]; DKIM_TRACE(0.00)[kernel.org:+]; TO_DN_SOME(0.00)[]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[100.103.45.18:received,100.90.174.1:received]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kernel.org,quarantine]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCPT_COUNT_SEVEN(0.00)[9]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.234.253.10:from] X-Rspamd-Queue-Id: 2B5DC1C0E11 X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= The following changes since commit cee9395acd8043be0644b25c34bfa86623f2b935: Linux 7.3-rc1 (2026-08-30 13:34:40 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-clk-for-7.4 for you to fetch changes up to 9ef62592b80c7ffb8cd987d889f659c1dc4f9f16: clk: sunxi-ng: ccu_common: Use readl_relaxed_poll_timeout_atomic for PLL lock (2026-09-20 17:32:54 +0800) ---------------------------------------------------------------- Allwinner Clock Changes for 7.4 Allwinner sunxi-ng clk library's single divider clk type gained support for the update bit, and various single divider clks in the A523 driver are converted to correctly use the single divider type. The "wait for lock" helper is changed to use atomic MMIO polling, as it could be used when timekeeping is not available yet, and *sleep() doesn't work correctly ---------------------------------------------------------------- Alastair D'Silva (1): clk: sunxi-ng: ccu_common: Use readl_relaxed_poll_timeout_atomic for PLL lock Junhui Liu (4): clk: sunxi-ng: div: Add feature support to M clock macro clk: sunxi-ng: sun55i-a523-ccu: Use M-only clocks for MBUS, IOMMU and DRAM clk: sunxi-ng: sun55i-a523-ccu: Use P-only clocks for high-speed timers clk: sunxi-ng: sun55i-a523-r-ccu: Use P-only clocks for timers drivers/clk/sunxi-ng/ccu-sun55i-a523-r.c | 37 ++++----- drivers/clk/sunxi-ng/ccu-sun55i-a523.c | 128 ++++++++++++++----------------- drivers/clk/sunxi-ng/ccu_common.c | 2 +- drivers/clk/sunxi-ng/ccu_div.h | 18 ++++- 4 files changed, 89 insertions(+), 96 deletions(-)