Skip to content

Conversation

embRoobin
Copy link
Contributor

@embRoobin embRoobin commented Oct 13, 2025

Summary

This push request enables trigger output (TRGO) configuration for ST pwm instances via devictree.
Therefore the usage of the STM32 interconnect matrix is possible for pwm instances.
API remains unchanged.

What is changed

  • Add new dts-binding to configure source of TRGO signal.
  • Add predefined constants for configuration
  • Add TRGO configuation during instance init.

Alternatives

As described in #70097 an interconnect subsystem would solve the problem as well.

In comparison to a new subsystem this solution is more lightweight on code size and most init time.
Drawback is the hardware dependency to ST devices (but you have to know the hardware interconnect capabilities of your SoC in both cases to archive maximal performance).

@embRoobin
Copy link
Contributor Author

Compliance check is generating warnings since 308e219

@embRoobin embRoobin closed this Oct 13, 2025
@embRoobin embRoobin deleted the st_trimer_external_trigger branch October 13, 2025 05:07
@embRoobin embRoobin restored the st_trimer_external_trigger branch October 13, 2025 05:08
@embRoobin embRoobin reopened this Oct 13, 2025
@embRoobin embRoobin marked this pull request as ready for review October 13, 2025 05:43
@embRoobin embRoobin force-pushed the st_trimer_external_trigger branch 2 times, most recently from 9495183 to 036e026 Compare October 14, 2025 05:48
- Add new dts binding for configurable master mode
- Add required defines for configuration options
- Implement configuration of master mode during device init.

Signed-off-by: Matthias Plöger <[email protected]>
@embRoobin embRoobin force-pushed the st_trimer_external_trigger branch from 036e026 to 497dcc9 Compare October 14, 2025 12:04
@embRoobin embRoobin requested a review from etienne-lms October 14, 2025 12:17
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.

4 participants