* [PATCH 01/11] rtc: sa1100: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-01 0:45 ` [PATCH 02/11] rtc: ds1685: " Alexandre Belloni
` (9 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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 @@
#define RTC_DEF_DIVIDER (32768 - 1)
#define RTC_DEF_TRIM 0
-#define RTC_FREQ 1024
-
static irqreturn_t sa1100_rtc_interrupt(int irq, void *dev_id)
{
@@ -202,7 +200,6 @@ int sa1100_rtc_init(struct platform_device *pdev, struct sa1100_rtc *info)
}
info->rtc->ops = &sa1100_rtc_ops;
- info->rtc->max_user_freq = RTC_FREQ;
info->rtc->range_max = U32_MAX;
ret = devm_rtc_register_device(info->rtc);
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH 02/11] rtc: ds1685: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
2025-11-01 0:45 ` [PATCH 01/11] rtc: sa1100: stop setting max_user_freq Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-02 6:51 ` Joshua Kinard
2025-11-01 0:45 ` [PATCH 03/11] rtc: pic32: " Alexandre Belloni
` (8 subsequent siblings)
10 siblings, 1 reply; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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 = RTC_TIMESTAMP_BEGIN_2000;
rtc_dev->range_max = RTC_TIMESTAMP_END_2099;
- /* Maximum periodic rate is 8192Hz (0.122070ms). */
- rtc_dev->max_user_freq = 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
/*
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* Re: [PATCH 02/11] rtc: ds1685: stop setting max_user_freq
2025-11-01 0:45 ` [PATCH 02/11] rtc: ds1685: " Alexandre Belloni
@ 2025-11-02 6:51 ` Joshua Kinard
0 siblings, 0 replies; 15+ messages in thread
From: Joshua Kinard @ 2025-11-02 6:51 UTC (permalink / raw)
To: Alexandre Belloni, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc
On 10/31/2025 20:45, Alexandre Belloni wrote:
> 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 <alexandre.belloni@bootlin.com>
> ---
> 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 = RTC_TIMESTAMP_BEGIN_2000;
> rtc_dev->range_max = RTC_TIMESTAMP_END_2099;
>
> - /* Maximum periodic rate is 8192Hz (0.122070ms). */
> - rtc_dev->max_user_freq = 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
>
>
> /*
>
Acked-by: Joshua Kinard <linux@kumba.dev>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 03/11] rtc: pic32: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
2025-11-01 0:45 ` [PATCH 01/11] rtc: sa1100: stop setting max_user_freq Alexandre Belloni
2025-11-01 0:45 ` [PATCH 02/11] rtc: ds1685: " Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-01 0:45 ` [PATCH 04/11] rtc: renesas-rtca3: " Alexandre Belloni
` (7 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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;
- pdata->rtc->max_user_freq = 128;
-
pic32_rtc_setfreq(&pdev->dev, 1);
ret = devm_request_irq(&pdev->dev, pdata->alarm_irq,
pic32_rtc_alarmirq, 0,
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH 04/11] rtc: renesas-rtca3: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
` (2 preceding siblings ...)
2025-11-01 0:45 ` [PATCH 03/11] rtc: pic32: " Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-01 15:00 ` Claudiu Beznea
2025-11-01 0:45 ` [PATCH 05/11] rtc: rv3028: " Alexandre Belloni
` (6 subsequent siblings)
10 siblings, 1 reply; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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-rtca3.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);
priv->rtc_dev->ops = &rtca3_ops;
- priv->rtc_dev->max_user_freq = 256;
priv->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_2000;
priv->rtc_dev->range_max = RTC_TIMESTAMP_END_2099;
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* Re: [PATCH 04/11] rtc: renesas-rtca3: stop setting max_user_freq
2025-11-01 0:45 ` [PATCH 04/11] rtc: renesas-rtca3: " Alexandre Belloni
@ 2025-11-01 15:00 ` Claudiu Beznea
0 siblings, 0 replies; 15+ messages in thread
From: Claudiu Beznea @ 2025-11-01 15:00 UTC (permalink / raw)
To: Alexandre Belloni, Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc
On 11/1/25 02:45, Alexandre Belloni wrote:
> 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 <alexandre.belloni@bootlin.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
> ---
> 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-rtca3.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);
>
> priv->rtc_dev->ops = &rtca3_ops;
> - priv->rtc_dev->max_user_freq = 256;
> priv->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_2000;
> priv->rtc_dev->range_max = RTC_TIMESTAMP_END_2099;
>
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 05/11] rtc: rv3028: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
` (3 preceding siblings ...)
2025-11-01 0:45 ` [PATCH 04/11] rtc: renesas-rtca3: " Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-01 0:45 ` [PATCH 06/11] rtc: rv3032: " Alexandre Belloni
` (5 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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 = rv3028;
devm_rtc_nvmem_register(rv3028->rtc, &eeprom_cfg);
- rv3028->rtc->max_user_freq = 1;
-
#ifdef CONFIG_COMMON_CLK
rv3028_clkout_register_clk(rv3028, client);
#endif
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH 06/11] rtc: rv3032: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
` (4 preceding siblings ...)
2025-11-01 0:45 ` [PATCH 05/11] rtc: rv3028: " Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-01 0:45 ` [PATCH 07/11] rtc: rv8803: " Alexandre Belloni
` (4 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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 = rv3032;
devm_rtc_nvmem_register(rv3032->rtc, &eeprom_cfg);
- rv3032->rtc->max_user_freq = 1;
-
#ifdef CONFIG_COMMON_CLK
rv3032_clkout_register_clk(rv3032, client);
#endif
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH 07/11] rtc: rv8803: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
` (5 preceding siblings ...)
2025-11-01 0:45 ` [PATCH 06/11] rtc: rv3032: " Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-01 0:45 ` [PATCH 08/11] rtc: rx6110: " Alexandre Belloni
` (3 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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)
devm_rtc_nvmem_register(rv8803->rtc, &nvmem_cfg);
- rv8803->rtc->max_user_freq = 1;
-
return 0;
}
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH 08/11] rtc: rx6110: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
` (6 preceding siblings ...)
2025-11-01 0:45 ` [PATCH 07/11] rtc: rv8803: " Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-01 0:45 ` [PATCH 09/11] rtc: rx8010: " Alexandre Belloni
` (2 subsequent siblings)
10 siblings, 0 replies; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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, struct device *dev)
if (err)
return err;
- rx6110->rtc->max_user_freq = 1;
-
return 0;
}
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH 09/11] rtc: rx8010: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
` (7 preceding siblings ...)
2025-11-01 0:45 ` [PATCH 08/11] rtc: rx6110: " Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-01 0:45 ` [PATCH 10/11] rtc: rx8025: " Alexandre Belloni
2025-11-01 0:45 ` [PATCH 11/11] rtc: sh: " Alexandre Belloni
10 siblings, 0 replies; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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)
}
rx8010->rtc->ops = &rx8010_rtc_ops;
- rx8010->rtc->max_user_freq = 1;
rx8010->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000;
rx8010->rtc->range_max = RTC_TIMESTAMP_END_2099;
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH 10/11] rtc: rx8025: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
` (8 preceding siblings ...)
2025-11-01 0:45 ` [PATCH 09/11] rtc: rx8010: " Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-01 0:45 ` [PATCH 11/11] rtc: sh: " Alexandre Belloni
10 siblings, 0 replies; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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);
}
- rx8025->rtc->max_user_freq = 1;
-
set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rx8025->rtc->features);
clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rx8025->rtc->features);
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* [PATCH 11/11] rtc: sh: stop setting max_user_freq
2025-11-01 0:45 [PATCH 00/11] Stop setting max_user_freq in rtc drivers Alexandre Belloni
` (9 preceding siblings ...)
2025-11-01 0:45 ` [PATCH 10/11] rtc: rx8025: " Alexandre Belloni
@ 2025-11-01 0:45 ` Alexandre Belloni
2025-11-01 16:28 ` Wolfram Sang
10 siblings, 1 reply; 15+ messages in thread
From: Alexandre Belloni @ 2025-11-01 0:45 UTC (permalink / raw)
To: Joshua Kinard, Claudiu Beznea, Ovidiu Panait
Cc: linux-rtc, linux-kernel, linux-renesas-soc, Alexandre Belloni
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 <alexandre.belloni@bootlin.com>
---
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);
rtc->rtc_dev->ops = &sh_rtc_ops;
- rtc->rtc_dev->max_user_freq = 256;
if (rtc->capabilities & RTC_CAP_4_DIGIT_YEAR) {
rtc->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_1900;
--
2.51.1
^ permalink raw reply related [flat|nested] 15+ messages in thread* Re: [PATCH 11/11] rtc: sh: stop setting max_user_freq
2025-11-01 0:45 ` [PATCH 11/11] rtc: sh: " Alexandre Belloni
@ 2025-11-01 16:28 ` Wolfram Sang
0 siblings, 0 replies; 15+ messages in thread
From: Wolfram Sang @ 2025-11-01 16:28 UTC (permalink / raw)
To: Alexandre Belloni
Cc: Joshua Kinard, Claudiu Beznea, Ovidiu Panait, linux-rtc,
linux-kernel, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
On Sat, Nov 01, 2025 at 01:45:13AM +0100, Alexandre Belloni wrote:
> 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 <alexandre.belloni@bootlin.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread