Skip to content

Conversation

@mathieuchopstm
Copy link
Contributor

Replace the existing Kconfig-based mechanism to select the power supply with a Devicetree-based approach, inspired by the STM32WB0 implementation.

Commits could be reorganized: currently, they're split by series, but also squash SoC DTSI and board DTS changes together - I could mark properties as not required initially then perform updates separately, and make required in a last-pass commit if that sounds cleaner.

Introduce a new binding for the power controller of STM32H7 series.

Signed-off-by: Mathieu Choplain <[email protected]>
Add node representing the Power Controller to SoC DTSI of STM32H7 series,
and update DTS of all STM32H7-based boards since the new node has required
properties.

Signed-off-by: Mathieu Choplain <[email protected]>
Replace the existing infrastructure to specify power supply configuration
through Kconfig with Devicetree. Also update all boards that were defining
the Kconfig to no longer do so.

Signed-off-by: Mathieu Choplain <[email protected]>
Introduce a new binding for the Power Controller of the STM32H7R/S series.

Signed-off-by: Mathieu Choplain <[email protected]>
Add node representing the Power Controller to SoC DTSI of STM32H7RS series,
and update DTS of all STM32H7RS-based boards since the new node has
required properties.

Signed-off-by: Mathieu Choplain <[email protected]>
Replace the existing infrastructure to specify power supply configuration
through Kconfig with Devicetree. Also update all boards that were defining
the Kconfig to no longer do so.

Signed-off-by: Mathieu Choplain <[email protected]>
Introduce power controller binding for series equipped with two voltage
regulators (LDO + SMPS).

Signed-off-by: Mathieu Choplain <[email protected]>
Replace the existing infrastructure to specify power supply configuration
through Kconfig with Devicetree.
Set the LDO as default to reduce out-of-tree breakage - most users were
relying on LDO being the default and it is harmless to use LDO if board
is designed for SMPS. (Existing SMPS users should break anyways since the
Kconfig symbol no longer exists, but this ensures they actively set the
power supply to SMPS in DT)

Signed-off-by: Mathieu Choplain <[email protected]>
Replace the existing infrastructure to specify power supply configuration
through Kconfig with Devicetree, and update all boards according to new
mechanism.

Signed-off-by: Mathieu Choplain <[email protected]>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants