[PATCH v5 0/1] ACPI: platform: ACPI 6.5 fixed clock support

From: Paul Cercueil

Date: Fri Nov 20 2026 - 11:10:45 EST


Hi Rafael,

Here's the v5 of my patchset that adds partial support for ACPI 6.5
clock resources.

I don't modify clk_find() anymore. Instead, the first clock is now
registered without a connection name (con_id is NULL) which means that
it can be obtained with clk_get(NULL). Every subsequent ACPI fixed clock
found will have a name, "acpi-clkX".

Each clock is also now registered to the clk core using a system-wide
identifier derived from the ACPI device name.

Changelog since v4:

- Old patch [1/2] "clkdev: Improve clock discovery with clk_find()" is
gone.

- [1/1] (previously [2/2]):
Register fixed clock as "<ACPI_ID>-clkX" because we need a
system-wide identifier there, and we don't have the 16-characters
limit there.
Register the first clock to clkdev without a name, so that
clk_get(NULL) will obtain it.
Register every other clock for that ACPI device with a "acpi-clkX"
name.

Cheers,
-Paul

Paul Cercueil (1):
ACPI: platform: Add basic support for ACPI 6.5 fixed clock resources

drivers/acpi/acpi_platform.c | 75 ++++++++++++++++++++++++++++++++++++
1 file changed, 75 insertions(+)

--
2.47.3