Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32: Mass conversion of boards to dts based clock control configuration #34633

Closed
erwango opened this issue Apr 28, 2021 · 2 comments · Fixed by #34744
Closed

STM32: Mass conversion of boards to dts based clock control configuration #34633

erwango opened this issue Apr 28, 2021 · 2 comments · Fixed by #34744
Assignees
Labels
area: Clock Control area: Devicetree Enhancement Changes/Updates/Additions to existing features platform: STM32 ST Micro STM32
Milestone

Comments

@erwango
Copy link
Member

erwango commented Apr 28, 2021

Following merge of #34120, #34609 (done) and #34701 (on-going), dts based clock control configuration will be made available to all STM32 based boards.

This opens the way to a cleaner clock control management on STM32 based targets:

  • centralize handling of alternative clocks (like LSE which is controlled directly in various drivers for now)
  • simplify/clean up clock control driver
  • introduce alternative clock source selection
  • deeper control of clocks in power management (thanks to nodes dependency information provided by device tree)

Though, before doing so, we need to ensure existing Kconfig scheme is not used anymore, in tree and out of tree.
This requires to:

  • convert in tree users
  • deprecate Kconfig scheme and wait for deprecation period to ensure out of tree users have time to take this change into account.

Since this deprecation period will take time, it is requested to convert in tree users and proceed to Kconfig deprecation within DV2.6.0.

Note: Aside from configuration part, this change doesn't introduce change in existing driver behavior. So the risks are limited.

@erwango erwango added the Enhancement Changes/Updates/Additions to existing features label Apr 28, 2021
@erwango erwango added this to the v2.6.0 milestone Apr 28, 2021
@erwango erwango self-assigned this Apr 28, 2021
@erwango erwango added the TSC Topics that need TSC discussion label Apr 28, 2021
@erwango
Copy link
Member Author

erwango commented Apr 29, 2021

Related ticket:

@erwango erwango removed the TSC Topics that need TSC discussion label May 5, 2021
@erwango
Copy link
Member Author

erwango commented May 5, 2021

All boards converted.
Last one : #34744

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Clock Control area: Devicetree Enhancement Changes/Updates/Additions to existing features platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant