Skip to content

Conversation

@avolmat-st
Copy link

This PR depends on the hal_stm32 PR
Update the STM32MP13XX to v1.2.0 tag + various fixes #277 in order to enable i2c and ltdc on the stm32mp13.

It first add new entries necessary to enable some new drivers from the HAL such as DCMIPP.
stm32 clock control updates for the i2c in order to be able to get enough information regarding clocking to properly configure the i2c IP of the MP13.
DT updates for stm32mp13 (i2c) and stm32mp135 (ltdc) in order to describe i2c and ltdc instances
Update of the stm32mp135f-dk dts file to enable instances available on that board.

The I/O expander available on the board (and controlled via i2c) is then added in order to gain access to further peripheral later on (for the time being only led 3 and led 4)

@github-actions
Copy link

github-actions bot commented Apr 30, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_stm32 zephyrproject-rtos/hal_stm32@2373913 zephyrproject-rtos/hal_stm32@fcd3724 (main) zephyrproject-rtos/[email protected]

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions github-actions bot added manifest manifest-hal_stm32 DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Apr 30, 2025
@avolmat-st
Copy link
Author

a first west.yml update is done in order to be able to perform compile test. Such commit will have to be ignored in the final pull request.

erwango
erwango previously approved these changes Apr 30, 2025
Alain Volmat added 5 commits April 30, 2025 14:38
Update hal_stm32 revision to include the MP13 HAL update.

Signed-off-by: Alain Volmat <[email protected]>
Addition of the DCMIPP and DDR modules.

Signed-off-by: Alain Volmat <[email protected]>
Add code to handle stm32_clock_control_get_subsys_rate for all
i2c instances from I2C1 to I2C5.

Signed-off-by: Alain Volmat <[email protected]>
Replace the usage of __HAL_LTDC_RELOAD_CONFIG which is a legacy
API with __HAL_LTDC_RELOAD_IMMEDIATE_CONFIG

Signed-off-by: Alain Volmat <[email protected]>
Add description of all 5 instances (i2c1 to i2c5) available
on the stm32mp13 soc.

Signed-off-by: Alain Volmat <[email protected]>
@avolmat-st
Copy link
Author

Updated west.yml hal_stm32 revision now that hal_stm32 update is merged.

erwango
erwango previously approved these changes Apr 30, 2025
@github-actions github-actions bot removed the DNM (manifest) This PR should not be merged (controlled by action-manifest) label Apr 30, 2025
Copy link
Contributor

@arnopo arnopo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few comments, after that look good to me

Alain Volmat added 5 commits April 30, 2025 16:41
The non-secure LTDC plane has its own register for clock gating hence
add an entry to control this.

Signed-off-by: Alain Volmat <[email protected]>
Add the node describing the LTDC available in the stm32mp135.

Signed-off-by: Alain Volmat <[email protected]>
…board

The stm32mp135f_dk board has 3 i2c instances enabled and feature a
480x272 panel controlled via the LTDC.

Signed-off-by: Alain Volmat <[email protected]>
blue and red leds polarity is ACTIVE_LOW hence correct the
DT to have them behave correctly.

Signed-off-by: Alain Volmat <[email protected]>
The stm32mp135f_dk board embeds an I/O expander to get access
to more I/O. Led 3 (green) and Led 4 (orange) are accessible via this
I/O expander.

Signed-off-by: Alain Volmat <[email protected]>
@erwango erwango assigned erwango and unassigned nordic-krch Apr 30, 2025
@kartben kartben merged commit 9494cf2 into zephyrproject-rtos:main Apr 30, 2025
26 checks passed
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.

5 participants