Skip to content

dts: stm32mp25: rename the PCIe bus SCMI clock - #5

Closed
passgat wants to merge 1 commit into
STMicroelectronics:4.0.0-stm32mpfrom
passgat:stm32mp25-rename-scmi-pcie-clock
Closed

passgat wants to merge 1 commit into
STMicroelectronics:4.0.0-stm32mpfrom
passgat:stm32mp25-rename-scmi-pcie-clock

Conversation

@passgat

@passgat passgat commented Oct 22, 2026

Copy link
Copy Markdown

The PCIe bus clock is exposed to the Cortex-A35 agent through SCMI with the ck_icn_p_pcie domain name, which is also the name of the same clock in the mainline Linux stm32mp25 RCC driver. When the mainline kernel is used, the SCMI clock driver registers ck_icn_p_pcie first and the RCC driver fails to probe, leaving the system without clock tree, console and SD card:

stm32mp25_rcc 44200000.clock-controller: error -EEXIST: failed to register clk 'ck_icn_p_pcie' (ck_icn_p_pcie+0x8/0x38)
stm32mp25_rcc 44200000.clock-controller: probe with driver stm32mp25_rcc failed with error -17

Mainline Linux does not use this SCMI clock: the PCIe nodes reference the RCC clock directly (<&rcc CK_BUS_PCIE>).

Rename the SCMI clock domain to ck_scmi_icn_pcie. Only the name exposed through SCMI changes: the SCMI clock ID (CK_SCMI_ICN_PCIE) is unchanged, so device trees referencing this clock by its ID are not affected.

The PCIe bus clock is exposed to the Cortex-A35 agent through SCMI with
the ck_icn_p_pcie domain name, which is also the name of the same clock
in the mainline Linux stm32mp25 RCC driver. When the mainline kernel
is used, the SCMI clock driver registers ck_icn_p_pcie first and the
RCC driver fails to probe, leaving the system without clock tree,
console and SD card:

  stm32mp25_rcc 4420000.clock-controller: error -EEXIST: failed to register clk 'ck_icn_p_pcie' (ck_icn_p_pcie+0x8/0x38)
  stm32mp25_rcc 4420000.clock-controller: probe with driver stm32mp25_rcc failed with error -17

Mainline Linux does not use this SCMI clock: the PCIe nodes reference
the RCC clock directly (<&rcc CK_BUS_PCIE>).

Rename the SCMI clock domain to ck_scmi_icn_pcie. Only the name exposed
through SCMI changes: the SCMI clock ID (CK_SCMI_ICN_PCIE) is unchanged,
so device trees referencing this clock by its ID are not affected.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
@tbourgoi

Copy link
Copy Markdown
Collaborator

Hello @passgat

This rename does not comply for our downstream release. It will not be compatible with our downstream kernel clock naming.
Since this repository is for our downstream release. I does not need to be compliant with mainline Linux.
So I will close this PR.

Thomas

@tbourgoi tbourgoi closed this Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants