Repository navigation
Conversation
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>
Collaborator
|
Hello @passgat This rename does not comply for our downstream release. It will not be compatible with our downstream kernel clock naming. Thomas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.