-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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: Transition to device tree based pinctrl configuration #28999
Comments
I'm also doing a test to see if we maybe split board changes into 3 groups (nucleo, stm32, other) w/regards to PRs will pass CI. |
It would be great if you can share the script @galak . Once all boards get the right pinctrl included (I guess it will be the case after uart PR) it will help a lot. I can take a couple more drivers, it’s rather quick to add support for pinctrl, so together with the script we can finally get rid of pinmux in a few days :-) |
Happy to share, just need to figure out best way to do that: Here are some areas that we need to look into: I2C: [I2C2 missing] CAN: USB: |
Here the current script: https://github.com/galak/zephyr/tree/st-pin-convert Its kinda in a hackish state and currently line 29 can be hacked to enable different driver classes (mac/sdmmc1 don't have any pins define in the dtsi files right now so they don't do anything). |
Just implemented the DAC part and updated the table. I think we can summarize all board updates into a single commit, as it's only a few lines of code changed in most cases. I can look into the CAN driver later (or tomorrow) as I'm working on that anyway at the moment. |
@martinjaeger for CAN be aware of zephyrproject-rtos/hal_stm32#70 |
@galak, @gmarull, @lochej, @martinjaeger |
Just tested ETH pinctrl dt generation for STM32 as follows (add
Could we give it a try? Just for info: For |
Following merge of #25996, STM32 boards should now be converted to the use of device tree pinctrl definitions.
This ticket aims at tracking the task completion:
For all people that would like to help on this task:
Thanks! But also:
Zephyr github CI could easily be swamped by changes impacting several boards.
Since this task might create numerous PRs impacting lot of boards, please tests changes locally before submission:
Noteworthy related PRs
#29057 (merged):
#29055 (merged):
zephyrproject-rtos/hal_stm32#73 (merged):
#29276
stm32_dt_pinctrl_configure
The text was updated successfully, but these errors were encountered: