* [PATCH] clk: microchip: rename clk-core to clk-pic32
@ 2026-02-25 17:44 Conor Dooley
2026-02-25 18:03 ` Brian Masney
0 siblings, 1 reply; 2+ messages in thread
From: Conor Dooley @ 2026-02-25 17:44 UTC (permalink / raw)
To: linux-clk
Cc: conor, Conor Dooley, Michael Turquette, Stephen Boyd,
Brian Masney, Claudiu Beznea, Thomas Bogendoerfer, linux-kernel,
Waldemar Brodkorb
From: Conor Dooley <conor.dooley@microchip.com>
clk-core is a confusingly generic name, since it is only used by a
single platform and it uses very similar naming to the "soft" IP cores
for use in FPGA fabric (CoreClock or similar is what that would be
called, although nothing like that exists right now) that the FPGA
business unit produces. Rename it to clk-pic32, matching the prefix
used by most functions in the driver. As far as I can tell, impact
on whatever users may (or may not...) exist for the platform is minimal
as it's built-in only and the functions are called directly from
clk-pic32mzda.c
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
Compile tested only of course.
CC: Michael Turquette <mturquette@baylibre.com>
CC: Stephen Boyd <sboyd@kernel.org>
CC: Conor Dooley <conor.dooley@microchip.com>
CC: Brian Masney <bmasney@redhat.com>
CC: Claudiu Beznea <claudiu.beznea@tuxon.dev>
CC: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
CC: linux-kernel@vger.kernel.org
TO: linux-clk@vger.kernel.org
CC: Waldemar Brodkorb <wbx@openadk.org>
drivers/clk/microchip/Makefile | 2 +-
drivers/clk/microchip/{clk-core.c => clk-pic32.c} | 2 +-
drivers/clk/microchip/{clk-core.h => clk-pic32.h} | 0
drivers/clk/microchip/clk-pic32mzda.c | 2 +-
4 files changed, 3 insertions(+), 3 deletions(-)
rename drivers/clk/microchip/{clk-core.c => clk-pic32.c} (99%)
rename drivers/clk/microchip/{clk-core.h => clk-pic32.h} (100%)
diff --git a/drivers/clk/microchip/Makefile b/drivers/clk/microchip/Makefile
index 13250e04e46cf..8e60bc1a03ae7 100644
--- a/drivers/clk/microchip/Makefile
+++ b/drivers/clk/microchip/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_COMMON_CLK_PIC32) += clk-core.o
+obj-$(CONFIG_COMMON_CLK_PIC32) += clk-pic32.o
obj-$(CONFIG_PIC32MZDA) += clk-pic32mzda.o
obj-$(CONFIG_MCHP_CLK_MPFS) += clk-mpfs.o
obj-$(CONFIG_MCHP_CLK_MPFS) += clk-mpfs-ccc.o
diff --git a/drivers/clk/microchip/clk-core.c b/drivers/clk/microchip/clk-pic32.c
similarity index 99%
rename from drivers/clk/microchip/clk-core.c
rename to drivers/clk/microchip/clk-pic32.c
index 692152b5094e0..9d128fba2cdea 100644
--- a/drivers/clk/microchip/clk-core.c
+++ b/drivers/clk/microchip/clk-pic32.c
@@ -11,7 +11,7 @@
#include <linux/iopoll.h>
#include <linux/platform_data/pic32.h>
-#include "clk-core.h"
+#include "clk-pic32.h"
/* OSCCON Reg fields */
#define OSC_CUR_MASK 0x07
diff --git a/drivers/clk/microchip/clk-core.h b/drivers/clk/microchip/clk-pic32.h
similarity index 100%
rename from drivers/clk/microchip/clk-core.h
rename to drivers/clk/microchip/clk-pic32.h
diff --git a/drivers/clk/microchip/clk-pic32mzda.c b/drivers/clk/microchip/clk-pic32mzda.c
index 27599829ea40a..e11cbdd982a61 100644
--- a/drivers/clk/microchip/clk-pic32mzda.c
+++ b/drivers/clk/microchip/clk-pic32mzda.c
@@ -14,7 +14,7 @@
#include <linux/platform_device.h>
#include <asm/traps.h>
-#include "clk-core.h"
+#include "clk-pic32.h"
/* FRC Postscaler */
#define OSC_FRCDIV_MASK 0x07
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: microchip: rename clk-core to clk-pic32
2026-02-25 17:44 [PATCH] clk: microchip: rename clk-core to clk-pic32 Conor Dooley
@ 2026-02-25 18:03 ` Brian Masney
0 siblings, 0 replies; 2+ messages in thread
From: Brian Masney @ 2026-02-25 18:03 UTC (permalink / raw)
To: Conor Dooley
Cc: linux-clk, Conor Dooley, Michael Turquette, Stephen Boyd,
Claudiu Beznea, Thomas Bogendoerfer, linux-kernel,
Waldemar Brodkorb
On Wed, Feb 25, 2026 at 05:44:52PM +0000, Conor Dooley wrote:
> From: Conor Dooley <conor.dooley@microchip.com>
>
> clk-core is a confusingly generic name, since it is only used by a
> single platform and it uses very similar naming to the "soft" IP cores
> for use in FPGA fabric (CoreClock or similar is what that would be
> called, although nothing like that exists right now) that the FPGA
> business unit produces. Rename it to clk-pic32, matching the prefix
> used by most functions in the driver. As far as I can tell, impact
> on whatever users may (or may not...) exist for the platform is minimal
> as it's built-in only and the functions are called directly from
> clk-pic32mzda.c
>
> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-25 18:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-25 17:44 [PATCH] clk: microchip: rename clk-core to clk-pic32 Conor Dooley
2026-02-25 18:03 ` Brian Masney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox