From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 6E94C34D387; Sat, 1 Nov 2025 00:45:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957914; cv=none; b=ZEIaDpiQx2cFcBXZMNb8t+epn83dYOdeBQxaEhOmPk59ijHnD+nyK8H2f8z1XFQwSRsEDoBE8+18w1hko1V9dOaPMfZ6gDdAnbhblliQrtNfd6opPCQ+n6DwzySvpTesiFK+xj2q0iXV5cMnnazdVbUJQlWr5+JNzUF5RgFQzIs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957914; c=relaxed/simple; bh=bPDRA39AMGijEr/F0ZVGd4wstedUgrZ02mKZabeRt8I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oi+YzF6Iik2yUoGfqr8HOkqzBoqsNFttGPWUMdUJxQLvNJw8xBYGdorzJZxjrrs6kM12jQi62JXcyjOBKzkcfXnEfc4BVvaN3IIlJi4JOYZX3T/9fvmJfPNZ5N0QxY2wxDopWlD6MNJdxFKFm24BQS9r65n0n09I0w0lp3Mo2AY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=XTJXexuE; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="XTJXexuE" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 1025DC0E964; Sat, 1 Nov 2025 00:44:49 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 9C4F46070B; Sat, 1 Nov 2025 00:45:09 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 66CB21181ABB0; Sat, 1 Nov 2025 01:45:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957909; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=IWoFmTgj8NX7O1NsecPxWoINumPPI8umaHSHSRynp3c=; b=XTJXexuE41/x5yWVZJCM4J/2oIcHRNTmR+fmnbF+zjlqKRE4A1k1JxjKI1biod85mg7x+q 6YefOj7N5iDAHAnyMfzwAr32v7tUhNgv2HEHORBgkNHRkDEleAWtj2YgUHwJjbM+54bwpp 8fKV9OSToPyNz9Va0tl5pdIkKxGwjrtXY0YJqX3jD1MJ++GeQlk2rYAkaE4940r2nxdMmd JQBcLnh4oaUVtgZbEMvrZ6Q0cj8D7QWzjEihYswjcKk9qdMK+LuMj95BawEUa5m5J4/DUI 3zmwCGSUYk6NCwHqYku4BQIPhOtOFoZ4fQ2A06y/1IZqJJqf1iMH/Q47pLgM3A== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:03 +0100 Subject: [PATCH 01/11] rtc: sa1100: stop setting max_user_freq 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: <20251101-max_user_freq-v1-1-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-sa1100.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c index 1ad93648d69c..26b2f4184ecc 100644 --- a/drivers/rtc/rtc-sa1100.c +++ b/drivers/rtc/rtc-sa1100.c @@ -40,8 +40,6 @@ =20 #define RTC_DEF_DIVIDER (32768 - 1) #define RTC_DEF_TRIM 0 -#define RTC_FREQ 1024 - =20 static irqreturn_t sa1100_rtc_interrupt(int irq, void *dev_id) { @@ -202,7 +200,6 @@ int sa1100_rtc_init(struct platform_device *pdev, struc= t sa1100_rtc *info) } =20 info->rtc->ops =3D &sa1100_rtc_ops; - info->rtc->max_user_freq =3D RTC_FREQ; info->rtc->range_max =3D U32_MAX; =20 ret =3D devm_rtc_register_device(info->rtc); --=20 2.51.1 From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 B2CD734D3B8 for ; Sat, 1 Nov 2025 00:45:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957914; cv=none; b=TwEgkkPyLFRtAKwEGrUZqGXZErfLZCA3d5D812y3//z5fygYMb23FxXZMUv127uqECAH1J/5Xn1/uJ3qlldUOQiZeKT8DwwguXuk24ieMFzAPv9sD7How5GbeZFbJLNXYFiRvKSCc9lHUtY7daSftcWcAFYuzepGRxsBysB5x4g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957914; c=relaxed/simple; bh=Hp7qc3W8zHx5BjX2uw9UknBJdIDnl0H5unrLfP4AWyo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SazDBkY/WUJWJKa567Bb3nU5hRujdbeY8mpRkQf/c+/gy7vPiTo9CKFRr4I0A+SCs3e/2fSYW8xo+oMpl0zNiCsUp1yY7mj71AjxgG8TvogCWaEs5EO6Vd8gXdb6G5YguHtTeT2typ3Au3WlSPDuodDCo2uwlXqyx3MH/qnVpYE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=2F1E6Bpt; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="2F1E6Bpt" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 786BCC0E966; Sat, 1 Nov 2025 00:44:50 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 07EED6070B; Sat, 1 Nov 2025 00:45:11 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 156E71181ABB0; Sat, 1 Nov 2025 01:45:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957910; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=FwZ98ZMyqKR4GwNmGRjh6+TVLupgXCI0Xx1xIMNf2Tc=; b=2F1E6Bpt6P14InlhIREs+3na2XBFZtI4bIoiI/UzHJ6NR4pq7KTHZrFjK/S5peRXPqF0Ja OdOkSXld4VsY4MtFI3/AOhmYW2LADm7H5evtD4WImoGWa0AbGiUA5cGYs2BZxfT/FMixLK 6PCcmGVMe58fL1+HELWB95SZTaHqXLE2XGMfDN+8nLCFjNPtMbDsseEaRdmMk1HK+JeCTl i/0Lt/XAu3nrcdmSBC0nXSn5RDMs9Njse3HE+V101cfMcyDXx1LlGYvqADKQAtSWbsNu6R e6TM2fjVDCBVwCLkVhEjQOe6k66LsBqi4tzFvvamTeDC0ZSArIrDY33UDqdemg== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:04 +0100 Subject: [PATCH 02/11] rtc: ds1685: stop setting max_user_freq 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: <20251101-max_user_freq-v1-2-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni Acked-by: Joshua Kinard --- drivers/rtc/rtc-ds1685.c | 3 --- include/linux/rtc/ds1685.h | 1 - 2 files changed, 4 deletions(-) diff --git a/drivers/rtc/rtc-ds1685.c b/drivers/rtc/rtc-ds1685.c index 97423f1d0361..5fc8e36b1abf 100644 --- a/drivers/rtc/rtc-ds1685.c +++ b/drivers/rtc/rtc-ds1685.c @@ -1268,9 +1268,6 @@ ds1685_rtc_probe(struct platform_device *pdev) rtc_dev->range_min =3D RTC_TIMESTAMP_BEGIN_2000; rtc_dev->range_max =3D RTC_TIMESTAMP_END_2099; =20 - /* Maximum periodic rate is 8192Hz (0.122070ms). */ - rtc_dev->max_user_freq =3D RTC_MAX_USER_FREQ; - /* See if the platform doesn't support UIE. */ if (pdata->uie_unsupported) clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc_dev->features); diff --git a/include/linux/rtc/ds1685.h b/include/linux/rtc/ds1685.h index 01da4582db6d..8ec0ebfaef04 100644 --- a/include/linux/rtc/ds1685.h +++ b/include/linux/rtc/ds1685.h @@ -324,7 +324,6 @@ struct ds1685_rtc_platform_data { #define RTC_SQW_2HZ 0x0f /* 0 1 1 1 1 */ #define RTC_SQW_0HZ 0x00 /* 0 0 0 0 0 */ #define RTC_SQW_32768HZ 32768 /* 1 - - - - */ -#define RTC_MAX_USER_FREQ 8192 =20 =20 /* --=20 2.51.1 From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 3E1ED15E5DC; Sat, 1 Nov 2025 00:45:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957916; cv=none; b=OlU86NUs55Sae9rGaiLwZKhPhri9/2CYL74t0fp5bkUuLrisMxEUjXvKodI/WHjV2A7JSylJNXvCWFY5GFoJk1sktfnDhh8/wCX5GCGX0AwVKwdqzTCRUWzkkH4qCgDc/cXSE1wZSYEemecdMJEnTHfT4Pm6rqSUzYqorqKIHcU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957916; c=relaxed/simple; bh=/jxoynyBaShK9+FI01QQ2oG3U0XL7BViJ01AF3IPgDQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lOXvbi5Z82+xINcqiO86pztw0Ty5k9OrLGewKV4ub36783bcHphyISB1h5dU/LBkmlXiJz/Q1m4kQHi1w2U2y6TGFv/b5TWtZJH5xDb/5ZtH6IGFNiiGdoUPXVtp7mU/qO3HHSLeyPdg2bdtoohmwJUL371rFMSiGwgNJLTAFgU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=qxNkHPW7; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="qxNkHPW7" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 548384E4145A; Sat, 1 Nov 2025 00:45:12 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 2A0576070B; Sat, 1 Nov 2025 00:45:12 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 43C5E1181ABB0; Sat, 1 Nov 2025 01:45:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957911; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=+Sw9x0lfyio5hvi1NamAm1DllHegD6Zt+iX/+ppYJlQ=; b=qxNkHPW793gPbeLrQ2Hp+9nGDA+z6vuaawfwLa41vpdCHUFmck8TRtzoH2BdxlaMkOOvgu 0YcRv65emeDyp9NXHFNzn4CWSGEwOj0dL0s9lVbnV0CsH+/CIWYN1xbg7fghoP7NJtNpNi yiX2e1riNgulC7kKJ/rvAhVGMKtDbTIppi99j7Aq7Ue5weAzsRzVNz5N9MOvVXhges+BhT minJ6WhUtbHe6/5oylAzUOeQMfTSLcjgmMoD0sEAIviGy3HeFtHWe0Dvs6L24IGv8zeBxa hH6yFGVYYRPWQSCLGQsXVsrxqJJDASpjvLj+DCVbtEH6+9bp4ur9uKDffBy1tA== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:05 +0100 Subject: [PATCH 03/11] rtc: pic32: stop setting max_user_freq 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: <20251101-max_user_freq-v1-3-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-pic32.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rtc/rtc-pic32.c b/drivers/rtc/rtc-pic32.c index 2812da2c50c5..52c11532bc3a 100644 --- a/drivers/rtc/rtc-pic32.c +++ b/drivers/rtc/rtc-pic32.c @@ -340,8 +340,6 @@ static int pic32_rtc_probe(struct platform_device *pdev) if (ret) goto err_nortc; =20 - pdata->rtc->max_user_freq =3D 128; - pic32_rtc_setfreq(&pdev->dev, 1); ret =3D devm_request_irq(&pdev->dev, pdata->alarm_irq, pic32_rtc_alarmirq, 0, --=20 2.51.1 From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 5E4351F2BA4 for ; Sat, 1 Nov 2025 00:45:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957917; cv=none; b=EoZHw7w9XHcUd9c+y3sBaRUOLqlWx6oWdqvzalkoHmqkqnlh1aF4am6WAUYtG+h98KWMJFGnZzWMi1b4W5kqa/AhKIGOBvMzQBYAvhmW/kd00Pb8WuDZsNjOo4Zb2imWcRQAaJ/h+GC7IPmCR4933EwqrUi5X2Lk1HDLS8Qm9UU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957917; c=relaxed/simple; bh=mDI6feqcRrUy3mbxyhCEd5Um1z0QOl3NJhKDJNC32X8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MzN7iwzjWPe7APYleWQ1QtrLHYGTjjUbQA1xVVgRKHbh7LDBT8QfsNc+/xjypU2DbgYjJ4r/S2WJJYnh6rzAlobXk9JNlatw4qnbCUIchn++RDWgQpteid8Rk/fIIhfSMBvyfHIem+Ab6EWIRgKP6MD8TRD6FipaoDFxZORYWas= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=mlB/RF9h; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="mlB/RF9h" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 67D6B1A17CF; Sat, 1 Nov 2025 00:45:13 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 399C46070B; Sat, 1 Nov 2025 00:45:13 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5EC141181ABB0; Sat, 1 Nov 2025 01:45:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957912; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=rIIYHDjHQ2HoARYwD0t1QwRU8DtbVqJRz4i7rCEVP80=; b=mlB/RF9hex6Fd8YTOfwqDaY2Ln39X2s8SYJANS9IdxYqP+VK/wlgJ+0bPXSYiHugTyFZJa E/jTajTFbzazNJNToal3Z1XtrYcv0IctnUAsI43NgdYw27H/Odt1p1RDc1MDO0nEx66C3L tdJi/P8SgZblYGkb0VGH9/Vvtvos2ER5U5JPLQmmD+5o/LLKxsYPwUI19HeqMkfuVNNUCS pEwSGRunbjDnRtD/w0ZNcFMP1h5bLIzNufpoyh+g+8/RIJGkTBWFS3sQHH0HnAkbDGzjD2 M6NmTSStMS8wiPEPQ9LwHNtW3WFOX+lZAxVXVG6rOPBzWekRQvdsVBUMbTF/OA== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:06 +0100 Subject: [PATCH 04/11] rtc: renesas-rtca3: stop setting max_user_freq 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: <20251101-max_user_freq-v1-4-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni Reviewed-by: Claudiu Beznea --- drivers/rtc/rtc-renesas-rtca3.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-renesas-rtca3.c b/drivers/rtc/rtc-renesas-rtca= 3.c index ab816bdf0d77..a238ead6cf1a 100644 --- a/drivers/rtc/rtc-renesas-rtca3.c +++ b/drivers/rtc/rtc-renesas-rtca3.c @@ -772,7 +772,6 @@ static int rtca3_probe(struct platform_device *pdev) return PTR_ERR(priv->rtc_dev); =20 priv->rtc_dev->ops =3D &rtca3_ops; - priv->rtc_dev->max_user_freq =3D 256; priv->rtc_dev->range_min =3D RTC_TIMESTAMP_BEGIN_2000; priv->rtc_dev->range_max =3D RTC_TIMESTAMP_END_2099; =20 --=20 2.51.1 From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 30E9E212578 for ; Sat, 1 Nov 2025 00:45:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957918; cv=none; b=GTf8KzqvoIiUEqWuq200KRYF6axejv48Zi0jjEzwrvKrIDSWHyiHDezMFuPNmbJ3pogVtrS0NOESyNeg880ro7RjhT1qc6raVhg2pmf9HiaFXZWapZpV4DleQGnx7LSpcsUS5mRCHgO0SyKSAT2BBd16x7GGqcRCjMZup/hY1lo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957918; c=relaxed/simple; bh=7DU3Gb5mwsAeENslrMgvCkryaEbOjjfdSj/H9XV0hlA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JtR5lI0wWDiDJHrxeH3TVNb0hOY2N+T2e84xh1cyAF6AjMrXx9NaWM0E15lYehJZxVTLDbfpdbzFoLgrO49doR6siSkPafwMBBW8P4H1475F2+xqCFGAU3Wi189H2tQCEw1nwx/aI82TRez1XiN13lmROD/9vtSuvzwLocuWlwk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=okML6Mft; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="okML6Mft" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 800AE4E4145C for ; Sat, 1 Nov 2025 00:45:14 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 57FBB6070B; Sat, 1 Nov 2025 00:45:14 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5A99C1181ABB0; Sat, 1 Nov 2025 01:45:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957913; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=e2RdZS4TbDlJ0vf5dfnSXerXLEXyBmJL02eBs2hVtXc=; b=okML6MftxczWzrG2b6rZoDJvlqq+VkxyoC/NZ2gIU9BRYfSkw+uO9UGClgAEO2G0TqUCj+ bj6S4ue80eaAUKtpB1Gm/W2FogwLC7rtO3mZPIaFnzBvDQC/7OdwQlfXoVO8TVSns4I9QH Y+OZpgiw8Vjga+T8EfWSGxWfJlzfHtt8Wof2NlucnWik6Rh7zaKGWjoL7b6xz+5P2ePHA+ V0SQRxnf8FuWev/Ck0CuNVRVUm/le/hamOD1On1tnFYirDDO9oIiM5oLrKphJgfFtdyFD/ mQq+DyreZnieTUWUZitTw1dBYtIfbpIGIlBkkdn9fxZlsu1cAkCi4MW9WgY7Dg== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:07 +0100 Subject: [PATCH 05/11] rtc: rv3028: stop setting max_user_freq 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: <20251101-max_user_freq-v1-5-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rv3028.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rtc/rtc-rv3028.c b/drivers/rtc/rtc-rv3028.c index c2a531f0e125..d96f6bb68850 100644 --- a/drivers/rtc/rtc-rv3028.c +++ b/drivers/rtc/rtc-rv3028.c @@ -1023,8 +1023,6 @@ static int rv3028_probe(struct i2c_client *client) eeprom_cfg.priv =3D rv3028; devm_rtc_nvmem_register(rv3028->rtc, &eeprom_cfg); =20 - rv3028->rtc->max_user_freq =3D 1; - #ifdef CONFIG_COMMON_CLK rv3028_clkout_register_clk(rv3028, client); #endif --=20 2.51.1 From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 4B73222156F; Sat, 1 Nov 2025 00:45:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957919; cv=none; b=A4vBEQo6myS6phZQo/tZ5oomc7wAfmZklDnyWRiWSpui1W37Di08A6z+MOYZmqErKeoTOg9evDiX7GUAsiKWHVDCzzUkX8ZOTJSY1XQvh3PWcG/Le85iXy8LMkbSPAJK6shpJG5PvL9gK2BDPZ2p8MPFNWvgquc+IuZpWoGEE0M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957919; c=relaxed/simple; bh=sGH6upfh+TcClYAnuHx8xUZYfzOcEBal6VRL0R94VlY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mRgRliwAC5v62P7iFImfStgTRv4dtJ7WvAd6UovPsJu86+IxzhZ2wc9N79ir14dK8hFN8Ec2qTqy+dUSZlSgeRPTUSa9L5udtJqEd5S/5oy3v/uV06th3euUnrs1K+Cuom+izOwPoksXrMlEdXM+AqpHbHKEW5FjKER+pxA7Qzg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=nPK/nqUq; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="nPK/nqUq" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id C2F75C0E963; Sat, 1 Nov 2025 00:44:54 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 5B03C6070B; Sat, 1 Nov 2025 00:45:15 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7CA131181ABB0; Sat, 1 Nov 2025 01:45:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957914; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=jDWyGb3RRZopHXhl6YMWKxHX2sGWn7H5g8JS5Vz0uiM=; b=nPK/nqUqEn2kTLz3gc3toNoFTXxr2gUQiL4+dZ0g+A4Yu9eto86wjrkqJvbJ6tcyoD4FPN dcoBBHqemR0tHjSw1ysAukaLU3tPY8uDR04aeT/VzNbg4z9RZk8ndSIemUvbxVYGMF7jVC GLjQDfGlyvKvlxa+kgJh5qbwXbkwmDTvw3k8gSPRiVnxdW9AzYyYhKlvs+eLvwD/WHA3Z1 9XkDydrAVgr0o4I/qI5flYP6nJBOIAA7qXy6UVYDsdB7vlDSTGTQ+yYwjjnp4qHrgGkyag nuOgXLyc4cOs4adi2nHbgRVwtemRrqvjNfj2oIuaIfl5IW6z7YiwpZrzXYnMKA== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:08 +0100 Subject: [PATCH 06/11] rtc: rv3032: stop setting max_user_freq 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: <20251101-max_user_freq-v1-6-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rv3032.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rtc/rtc-rv3032.c b/drivers/rtc/rtc-rv3032.c index b8376bd1d905..6c09da7738e1 100644 --- a/drivers/rtc/rtc-rv3032.c +++ b/drivers/rtc/rtc-rv3032.c @@ -968,8 +968,6 @@ static int rv3032_probe(struct i2c_client *client) eeprom_cfg.priv =3D rv3032; devm_rtc_nvmem_register(rv3032->rtc, &eeprom_cfg); =20 - rv3032->rtc->max_user_freq =3D 1; - #ifdef CONFIG_COMMON_CLK rv3032_clkout_register_clk(rv3032, client); #endif --=20 2.51.1 From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 F3CB7223DD5 for ; Sat, 1 Nov 2025 00:45:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957920; cv=none; b=HCH/sKt6kDXXguXK9tMd9ORE4EIF4AC5pmTaQQXhjbAPlKX8F9A0JIqZpo4WNGp0xozXkM8v6T6MuojJ7hD9/RXFs1QtBzfNcaIErr921wZCfypriWkKhcAVXTNOGL2JOdG9z8AbFnvEUw/AyOOBd2U/2rCkpInkwZdry+2LQes= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957920; c=relaxed/simple; bh=GobNp8G3Ev64l8yEWW4+TcrOQJ0KYKgHNjJ650ShNLw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nScdKFqhyTWJIxcqHKkiUfvv+w9tPMnIPQ+vWl1cb2HVxwXzcZ+qfzZpkQOJNj48Kha5hs+KVGMmQ+D3wLQ3/a9CcolG/gQAyiu6L5/SXZxDbcHKtxqVMaFm8DWYNJN1N3ho61p2cnl4PWALf+aDTwud/xeYOkNPgOeaAUKApto= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=D9E/bU3H; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="D9E/bU3H" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 7CEC94E4144A; Sat, 1 Nov 2025 00:45:16 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 541596070B; Sat, 1 Nov 2025 00:45:16 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 714351181ABB0; Sat, 1 Nov 2025 01:45:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957915; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=9O6YhW97T7eOntyjEzyP3IadqCae0DdHScd0olQJcs8=; b=D9E/bU3HKp7S33VJgVZJJmODBSAty3I8mpo9/hPz5ga4i79ZkBr1oR44RuSr1bpo/gHany nDNbjwBaoR0JG2v35CEAc+KYm3l8cNfE2WejkncCAIQZUZoenmggZYrOkgVQhPsVmTQjtA srbKryRJyAqVj8m7KJ/Sv/HSjSJwSnca6zbUsrbDUsJ8Jkj5XsqM8vsy/PcPMzGI91jWLz p14YfA19KAVjroOl6AODmLaufI8Hsia2FBe1+TjhgGjyrFdP1miKVrym6TEboulOeLEHYM QR8YoTmaJBF26DmGepNchaqpJ9mi7JqJ2rkaYDWJ3FnLWl2qv0NXSLtcU92dmw== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:09 +0100 Subject: [PATCH 07/11] rtc: rv8803: stop setting max_user_freq 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: <20251101-max_user_freq-v1-7-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rv8803.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rtc/rtc-rv8803.c b/drivers/rtc/rtc-rv8803.c index 1327251e527c..4e9e04cbec89 100644 --- a/drivers/rtc/rtc-rv8803.c +++ b/drivers/rtc/rtc-rv8803.c @@ -738,8 +738,6 @@ static int rv8803_probe(struct i2c_client *client) =20 devm_rtc_nvmem_register(rv8803->rtc, &nvmem_cfg); =20 - rv8803->rtc->max_user_freq =3D 1; - return 0; } =20 --=20 2.51.1 From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 4DE2322FE15 for ; Sat, 1 Nov 2025 00:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957922; cv=none; b=L4CDVBUICypDjR/aDC4Gxoy9qJ8rsXHcML73YURrbRM7OjpOv6BFLJX3Dxhrag4bg36ti02nnAbhJ/gdGHwDjDz77MBPA9jEBwEyNPK8qaDg3vR+Eib6drm6FZ52v0v+UW/pTAeSwQVW3mNz2IWwFmPmBOmLYPN5dRlNJMMCJRs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957922; c=relaxed/simple; bh=Fv2Q+Pc3Cbz9NsFabzY3O6hrENIlZ1AR/am3rMC1pOo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LsVsKbRdvJYGb0Y8twxinv4KXcRjL38qg0hq/zk7z6kGcuLhpASZr4xXB/tpoGxyX0BLAAeUVM262fK+AW1/7Qp4vDd71IC0P8s6akg2jLfDypkZUBZr8ct/WEWvdXkyRvO7MREdMzTaSCybCEtVxWSQuuhtcwZ4hB708PaWpyo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=ymqvfxk3; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="ymqvfxk3" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id DC2DEC0E966; Sat, 1 Nov 2025 00:44:56 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 716296070B; Sat, 1 Nov 2025 00:45:17 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 578C01181ABD2; Sat, 1 Nov 2025 01:45:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957916; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=9ISPyZ2sYo5mkihKAAgI3YiQvJpREmCo2BpCfHsdfhg=; b=ymqvfxk33OYlO+xtgyrWu79Qgx8oXy/9ZGzbRxSJNXCADP0Xw7E6/rVfS4aAhflyTqOHkr xXpPCQUHdwk4LItydVCVP8naOCTzKgzKOGbh7dnVY4ZRjX5ae5uYHjLMb2IsQukNS2kU8h iY7Ikvt1FVpTxSZHnXZvGlXIqRqSY/k/HO3EQe4FR4PthMSdFalAEm8e3jnPyBiRIcmzux gyKGOH7BFkDrPq6Hhhjn2dhJlNr4+c0uYykLxYR3V4jRttmAp8EnuXDaHMR2BkW4Kk25Sj SkLBhVTId9vLO3fBlXMG220WT8U2td9kvwz/La+VK/+MRyyQVnBtcsIIP3q7NQ== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:10 +0100 Subject: [PATCH 08/11] rtc: rx6110: stop setting max_user_freq 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: <20251101-max_user_freq-v1-8-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rx6110.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rtc/rtc-rx6110.c b/drivers/rtc/rtc-rx6110.c index 7c423d672adb..07bf35ac8d79 100644 --- a/drivers/rtc/rtc-rx6110.c +++ b/drivers/rtc/rtc-rx6110.c @@ -324,8 +324,6 @@ static int rx6110_probe(struct rx6110_data *rx6110, str= uct device *dev) if (err) return err; =20 - rx6110->rtc->max_user_freq =3D 1; - return 0; } =20 --=20 2.51.1 From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 EBAFF1F4CBC for ; Sat, 1 Nov 2025 00:45:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957921; cv=none; b=L4hAS02x+E5SKPdd0qfSUF27mu4HT8HHA/aW5eZpVX1E0KQJ774PX7aPQmAgZ6JbmlsGILhlRQsSeIAeW2WsvJE/zk6tdHv8/8gX65WAo30UVzq6Xq8wMfHtPH7f9rHhL523DRUdpVzMFzvbEqq6ichUZK2X1ZA4pqmjzMUZ1m8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957921; c=relaxed/simple; bh=xnoN+bZ7BzR8Qts48YavtXOfkoBwhFeOsUT1FTtebOk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=L3zkAS7F+Il8PDEn5Aherhp74D6to7K8789/a8eG61yafes9Ii8Ht6dBPzqBXRCWG9Ab9lyFJ/om1/7P7M+qA0n/hVx6mVJ6Mzx275eX433O8rdhVrjzcbK7ANnbuyT1YvPd6fjW2PhmAl1vkY6rFHN6Q4jm/77X4LJCE/PouIc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=rYNbK0i1; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="rYNbK0i1" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id EE512C0E967; Sat, 1 Nov 2025 00:44:57 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 85F686070B; Sat, 1 Nov 2025 00:45:18 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 940AD1181ABB0; Sat, 1 Nov 2025 01:45:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957918; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=WqPUvAWPFRuEPa0v7vatFRnWyFkHeKpRcwMEpG002Cc=; b=rYNbK0i14AFE5mma5sHvOClLxJ1EWM/ZOAxkfMReGoRjxYUNkCrNDnltfxELOHRB6X+zci 5CM28++tyuJFG5TtyzDB03VWEvGWkJRgUw5GoJqDxx87cPnUCKOHNfX0cHhiFmxqCfag/X ulqKTMEElXgDGVaO4XeBnIHNHdPiJoWoKT4n4dWsDUVPjFhjMgjbFqPUk4p/VdLonbTDzw p/hTVBrl3A880XnsoLIYKTCcAmWJvIhOWgKi1PK+oKlZ/gBg3MmNg+b1u/W2rtcMO2LNes aF6aQOS3DsFgzwx2eHL2N9qHKHnHlCAuUjWVD07g1SSwfHWTgo3VYgv8AtDyCw== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:11 +0100 Subject: [PATCH 09/11] rtc: rx8010: stop setting max_user_freq 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: <20251101-max_user_freq-v1-9-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rx8010.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-rx8010.c b/drivers/rtc/rtc-rx8010.c index 2b6198d1cf81..171240e50f48 100644 --- a/drivers/rtc/rtc-rx8010.c +++ b/drivers/rtc/rtc-rx8010.c @@ -412,7 +412,6 @@ static int rx8010_probe(struct i2c_client *client) } =20 rx8010->rtc->ops =3D &rx8010_rtc_ops; - rx8010->rtc->max_user_freq =3D 1; rx8010->rtc->range_min =3D RTC_TIMESTAMP_BEGIN_2000; rx8010->rtc->range_max =3D RTC_TIMESTAMP_END_2099; =20 --=20 2.51.1 From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 88EDF1F5851 for ; Sat, 1 Nov 2025 00:45:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957923; cv=none; b=sapwHh1xiwJPcO6Kmnn5wD4d85GhlJz5shLv6RhMrOge3+AsYGqgwsKlewyFaBYhiy3fEOP58g/2h47lVY3NLUGDS6S3myRQF63sNBa4DzlD0SVF9ZftGfEDdPhwFeSBlD/C3iPB1FiliLqprBYtqE2jfu7hScEjVhZrk6kH3R4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957923; c=relaxed/simple; bh=1f6MR0MiAHQdxR7gpnJkL5A1h0+6bW3LcsOnk0DeMKE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UQV2+k92hDr80SHJQTBHc/RQuaPhtQeVJjaQjft0HZGi5g2bIvp+5gPm7Sv7bLVREwDaBKsXkA8gwOmrdCt9vYXQBjIBPLsy7+AFV9SebglkzwKw4m+pAT4jcgfA0hWpXTeMRRq1WeO+rOgY1x2kdmKD3qnAe5p9IHockJoxCY4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=AkQ5uQ3E; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="AkQ5uQ3E" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id DDE121A1697; Sat, 1 Nov 2025 00:45:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id B30A86070B; Sat, 1 Nov 2025 00:45:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BA1911181ABB0; Sat, 1 Nov 2025 01:45:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957919; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=plz341VcZ204tSoODz8pylkp/qt2TMoiA4BDjs1J680=; b=AkQ5uQ3EP8GULGLHklk7NASbY0MWH4a2cDxolDspFTAoPNxHo+TIHljnR0368xOCs3Ee7Q eoFlhMdMupUYsyP9KEmVmj8GZcagZ/kZxqGBs9x1qCe6bBrHin+RVSTlTlO04mMAXSRzpU GeSUmtR7AGiiFnepfXR5p7rdY6kcRHxz+S9r3qHal3TsOIkF6PAi6tLZgA9n7mc51KR2JK UU2f3wFedca7X1azAYbyo5GLrEA+CeAMFV31HMhcRjLWxbefMnDjeVp/sUzcz0xAw9/40+ yCxI2oPjKlGyu0Jb6zBYqOKHPiC6HoUKLCi2XiS8A9RGJTxbJJoJI35WBgViVg== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:12 +0100 Subject: [PATCH 10/11] rtc: rx8025: stop setting max_user_freq 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: <20251101-max_user_freq-v1-10-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rx8025.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx8025.c index aabe62c283a1..07119985fa83 100644 --- a/drivers/rtc/rtc-rx8025.c +++ b/drivers/rtc/rtc-rx8025.c @@ -565,8 +565,6 @@ static int rx8025_probe(struct i2c_client *client) clear_bit(RTC_FEATURE_ALARM, rx8025->rtc->features); } =20 - rx8025->rtc->max_user_freq =3D 1; - set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rx8025->rtc->features); clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rx8025->rtc->features); =20 --=20 2.51.1 From nobody Sun Feb 8 23:26:02 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 C123524DD01 for ; Sat, 1 Nov 2025 00:45:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957925; cv=none; b=K2EnCRo3y6nXJK4kMxZufQzPK74w71DTbkgLQ/5u6chfVRG93KNdpcN0hvwdS+41sCeQWhlkmDAQs5TN9WwdfEhaa7iomdMaICUjS0XuUyFBgRBfPu41MUCjMhZVvlvzsUuvM8jdT5ghKEGnkfsyIWS5sMikkNmyt6vGTYQA2so= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761957925; c=relaxed/simple; bh=F9VjP9MZyfC80zjI0pYGFI9I2uGhstvRQgehchEYHNs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mQ5zXOLNBdIw7pD4Km2mCDvqdEzViUlI/ITAWajpPRnpaTnrkUEkW21HtG6W8JLXyZfD6hpFldtqzzUEGMQpK4Z+1QZ7Y9F2QRDdTV/irEhWGkGzPMtKQdPO0siBtj0kryMhU8ahSkJb5fz9ynevAycPRQ+eHatnfmI/ewWVlSU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=hQfxUUh6; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="hQfxUUh6" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 25AE11A17C5 for ; Sat, 1 Nov 2025 00:45:22 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id E69F26070B; Sat, 1 Nov 2025 00:45:21 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id EE7A61181ABD3; Sat, 1 Nov 2025 01:45:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761957920; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=EbRbx1I+mIoxOsRtsB/upoTC4mC2hPcZJGHmdGubXRE=; b=hQfxUUh6LtrT/sJfftbP0Kik80QjzCMT85fTW4m+rM/gQXU2R9pT/G2aLqfMkzdSZKAHBS /MBRuOfRKUI93NAZSfEzgmHNpyIT4zul6t64JqYOiu4F2+dkbxQwYTrqqCwWQVbCQC2g+t QIPsuMSKpx3sdmDPIbHQOpgNqU3KiHN3dIFlv0ZmfAECFcF4Jckikt8izImy3ii+0/9NXb Ks26ez4XuX78BFfK5A5wtMeXXEFFaFR931PnDlouErCz6TlhfLfQRNVyEdQDrhXKii3uEs HkeMKx12+a+/Pb/Wl9I5Gbk7qwDl+3J9RTDrMCciptZFmvvZ51S4IQ2e/u/asg== From: Alexandre Belloni Date: Sat, 01 Nov 2025 01:45:13 +0100 Subject: [PATCH 11/11] rtc: sh: stop setting max_user_freq 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: <20251101-max_user_freq-v1-11-c9a274fd6883@bootlin.com> References: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> In-Reply-To: <20251101-max_user_freq-v1-0-c9a274fd6883@bootlin.com> To: Joshua Kinard , Claudiu Beznea , Ovidiu Panait Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Alexandre Belloni X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 max_user_freq has not been related to the hardware RTC since commit 6610e0893b8b ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Signed-off-by: Alexandre Belloni Reviewed-by: Wolfram Sang --- drivers/rtc/rtc-sh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c index 619800a00479..0510dc64c3e2 100644 --- a/drivers/rtc/rtc-sh.c +++ b/drivers/rtc/rtc-sh.c @@ -423,7 +423,6 @@ static int __init sh_rtc_probe(struct platform_device *= pdev) writeb(tmp, rtc->regbase + RCR1); =20 rtc->rtc_dev->ops =3D &sh_rtc_ops; - rtc->rtc_dev->max_user_freq =3D 256; =20 if (rtc->capabilities & RTC_CAP_4_DIGIT_YEAR) { rtc->rtc_dev->range_min =3D RTC_TIMESTAMP_BEGIN_1900; --=20 2.51.1