Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] thermal: remove unneeded 'fast_io' parameter in regmap_config
@ 2026-07-05 16:43 Wolfram Sang
  2026-07-06 14:11 ` Miquel Raynal
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Sang @ 2026-07-05 16:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: Wolfram Sang, Miquel Raynal, Rafael J. Wysocki, Daniel Lezcano,
	Zhang Rui, Lukasz Luba, Vasily Khoruzhick, Yangtao Li,
	Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-pm,
	linux-arm-kernel, linux-sunxi

When using MMIO with regmap, fast_io is implied. No need to set it
again.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
No dependencies, can be applied directly to the subsystem tree. Buildbot is
happy, too.

 drivers/thermal/armada_thermal.c | 1 -
 drivers/thermal/sun8i_thermal.c  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
index c2fbdb534f61..252d5afecea1 100644
--- a/drivers/thermal/armada_thermal.c
+++ b/drivers/thermal/armada_thermal.c
@@ -722,7 +722,6 @@ static const struct regmap_config armada_thermal_regmap_config = {
 	.reg_bits = 32,
 	.reg_stride = 4,
 	.val_bits = 32,
-	.fast_io = true,
 };
 
 static int armada_thermal_probe_legacy(struct platform_device *pdev,
diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c
index 22674790629a..284684137c43 100644
--- a/drivers/thermal/sun8i_thermal.c
+++ b/drivers/thermal/sun8i_thermal.c
@@ -149,7 +149,6 @@ static const struct regmap_config config = {
 	.reg_bits = 32,
 	.val_bits = 32,
 	.reg_stride = 4,
-	.fast_io = true,
 	.max_register = 0xfc,
 };
 
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] thermal: remove unneeded 'fast_io' parameter in regmap_config
  2026-07-05 16:43 [PATCH] thermal: remove unneeded 'fast_io' parameter in regmap_config Wolfram Sang
@ 2026-07-06 14:11 ` Miquel Raynal
  0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2026-07-06 14:11 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-kernel, Rafael J. Wysocki, Daniel Lezcano, Zhang Rui,
	Lukasz Luba, Vasily Khoruzhick, Yangtao Li, Chen-Yu Tsai,
	Jernej Skrabec, Samuel Holland, linux-pm, linux-arm-kernel,
	linux-sunxi

Hello,

On 05/07/2026 at 18:43:12 +02, Wolfram Sang <wsa+renesas@sang-engineering.com> wrote:

> When using MMIO with regmap, fast_io is implied. No need to set it
> again.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>

Thanks,
Miquèl


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-06 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-05 16:43 [PATCH] thermal: remove unneeded 'fast_io' parameter in regmap_config Wolfram Sang
2026-07-06 14:11 ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox