From nobody Mon Feb 9 16:02:07 2026 Received: from sender4-op-o16.zoho.com (sender4-op-o16.zoho.com [136.143.188.16]) (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 E4EF447D920; Wed, 21 Jan 2026 11:04:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.16 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768993496; cv=pass; b=qmbx0UAlAn+MkcbLOJ7t75U2y9ssvCdRZCYgwshPoFqv9GOaZ/tHn5D+WTyJeqiRMWitKyNatBGhKd3u9qM1SQ4nonxDHPJ8hSnjBwWL9zvPNFOPE+KJK0+A8YCyzeJlSaaITRkfrnZncBfcbX+gQ9rhA/F8hx1KPvVSr3U6Fdw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768993496; c=relaxed/simple; bh=SE3KCwAGdCuYIMUpUjVkwvvnkVL1syEZpjMdM6ORN2A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mkQIlkD5SBdngA46iN/QVZXzJb9eaKaYPBcb3RLyeVkI+x+1YyMcHIIoW0tRyJSNunHpyptfwMMW6BVjRoqcvAfVJREhU5cti/PQ0ngY8W/CHN9KeDf66GTHrNNvvzQ9taNc1TWC+n/MKJyqRZj2q0JdHS3JnaiUhPrxlznITOQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pigmoral.tech; spf=pass smtp.mailfrom=pigmoral.tech; dkim=pass (1024-bit key) header.d=pigmoral.tech header.i=junhui.liu@pigmoral.tech header.b=mSkMXvzM; arc=pass smtp.client-ip=136.143.188.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pigmoral.tech Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pigmoral.tech Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pigmoral.tech header.i=junhui.liu@pigmoral.tech header.b="mSkMXvzM" ARC-Seal: i=1; a=rsa-sha256; t=1768993480; cv=none; d=zohomail.com; s=zohoarc; b=U33vu7XTEIYnxNSHVFZUqS2pG/Gpyc9ErTZRdQLff9Xht602lfg0z5pnw4AwyTkfMH39KPa8XqTyaShouSI8MlhyjUrI6pmd6GiIA4MQRWh1c8Pax22LofyS0lBct5C1yoZcER08mgUfKwIt8pDh3rF+z9sbfiy+rqhuGbevnZ8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768993480; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=NBVXFEdaRJcEH9atfPBKtguvTBweusReAnDHX35/2Us=; b=e8FiM8Qtqsc5GJaw51cbBqeiYu0yl9Kpn9RhUdnS1XCGuiwxVpLQwrmT2sVQH/P2mrhJ7WZKLpaEN9Ijl6Nq7j1gSeQSLXkj0KKHvI9UxUJ6noNAxcMeiramPnQGUXGdzzx9etGE/xQ6hwslpayu9wv2fpuBJfktLza0I/4PrGI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=pigmoral.tech; spf=pass smtp.mailfrom=junhui.liu@pigmoral.tech; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1768993480; s=zmail; d=pigmoral.tech; i=junhui.liu@pigmoral.tech; h=From:From:Date:Date:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Message-Id:References:In-Reply-To:To:To:Cc:Cc:Reply-To; bh=NBVXFEdaRJcEH9atfPBKtguvTBweusReAnDHX35/2Us=; b=mSkMXvzMKCUW3GyUCnc2/eZsmCaLWZf/Ww5TJbnZgJ23hrYvwssYnitkEdSLBY1S h7n6E77YIwfPMhexn9zfkVJMtfruCD9ya373pjlmnxpOuvR0WjdttUgGWBljHhLKTJx 6/C8eugEkdhRzsUicjMjQ646Y6a72nEXz2PSQkOU= Received: by mx.zohomail.com with SMTPS id 1768993478453725.0311405076129; Wed, 21 Jan 2026 03:04:38 -0800 (PST) From: Junhui Liu Date: Wed, 21 Jan 2026 18:59:12 +0800 Subject: [PATCH 6/7] rtc: sun6i: Add support for A733 RTC Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260121-a733-rtc-v1-6-d359437f23a7@pigmoral.tech> References: <20260121-a733-rtc-v1-0-d359437f23a7@pigmoral.tech> In-Reply-To: <20260121-a733-rtc-v1-0-d359437f23a7@pigmoral.tech> To: Michael Turquette , Stephen Boyd , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Ripard Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, Junhui Liu X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1768993386; l=1343; i=junhui.liu@pigmoral.tech; s=20251228; h=from:subject:message-id; bh=SE3KCwAGdCuYIMUpUjVkwvvnkVL1syEZpjMdM6ORN2A=; b=+oew59MDiDNmLqVNHNSZRel5WMMQ8wzQ4Ax7fokTiWUGO5MTiRDxhQyHSanz6R7PE3FDXKsE1 V56D26wPYD8AlSwWH93Pq9IG7p9gktp+y/S18aav2ViWHcDX693hM8v X-Developer-Key: i=junhui.liu@pigmoral.tech; a=ed25519; pk=3vU0qIPJAH8blXmLyqBhKx+nLOjcLwwYhZXelEpw7h4= X-ZohoMailClient: External The RTC in the Allwinner A733 SoC is compatible with the H616 in terms of its time storage and alarm functionality. However, its internal CCU is different, with additional DCXO handling logic. Add new match data to register a new auxiliary device for its CCU part. Signed-off-by: Junhui Liu --- drivers/rtc/rtc-sun6i.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/rtc/rtc-sun6i.c b/drivers/rtc/rtc-sun6i.c index b4489e0a09ce..a58d9c6b917c 100644 --- a/drivers/rtc/rtc-sun6i.c +++ b/drivers/rtc/rtc-sun6i.c @@ -865,6 +865,11 @@ static const struct sun6i_rtc_match_data sun6i_rtc_mat= ch_data =3D { .flags =3D RTC_LINEAR_DAY, }; =20 +static const struct sun6i_rtc_match_data sun60i_rtc_match_data =3D { + .adev_name =3D "sun60i", + .flags =3D RTC_LINEAR_DAY, +}; + /* * As far as RTC functionality goes, all models are the same. The * datasheets claim that different models have different number of @@ -883,6 +888,8 @@ static const struct of_device_id sun6i_rtc_dt_ids[] =3D= { .data =3D &sun6i_rtc_match_data }, { .compatible =3D "allwinner,sun50i-r329-rtc", .data =3D &sun6i_rtc_match_data }, + { .compatible =3D "allwinner,sun60i-a733-rtc", + .data =3D &sun60i_rtc_match_data }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, sun6i_rtc_dt_ids); --=20 2.52.0