hal_stm32
hal_stm32 copied to clipboard
dts: st: h7: pinctrl.dtsi files including DCMI pins
Generate DCMI pins definitions for H7 family.
Related PR:
- https://github.com/zephyrproject-rtos/zephyr/pull/71462
- https://github.com/zephyrproject-rtos/zephyr/pull/71463
Looks good to me but would it be possible to generate pins as well for other series? I know driver is H7 specific for now (at least only validated on H7), but support might be extended in future. Having pins already available would be a good start. This is the way we're proceeding in general.
Hi, @erwango.
I have two questions about the files generated after run the Python script:
- Do I have to add also the new dtsi files related to STM32H523, STM32H533, STM32H7R, and STM32H7s families? Those files are totally new.
- I noticed that in
stm32h725iekx-pinctrl.dtsi,stm32h725igkx-pinctrl.dtsi,stm32h730ibkxq-pinctrl.dtsi, andstm32h735igkx-pinctrl.dtsifiles, theadc3_inp16_ph5was removed. Do I have to accept this modification? I'll check if something similar happens with other files.
Thanks for raising this @CharlesDias. This probably comes from the fact that you're generating from a latest version of open_pin_data repo. 2 options:
- Keep working with this commit, but then do it in 2 passes: first new batch from the new version w/o dcmi files, then add the new pinctrl, generate once again and provide the new signals in a 3 commit. In this case, don't forget to update commit used in https://github.com/zephyrproject-rtos/hal_stm32/blob/main/dts/README.rst (or maybe it is done automatically)
- Generate from SHA1 version provided in https://github.com/zephyrproject-rtos/hal_stm32/blob/main/dts/README.rst. And let the open_pin_data update aside for now.
Hi, @erwango.
I choose the second option. ;-)
This is fine for me now, but please update the first commit title to remove H7 reference, as pr is stm32 generic now.
This is fine for me now, but please update the first commit title to remove H7 reference, as pr is stm32 generic now.
Ping @CharlesDias. I'm queuing https://github.com/zephyrproject-rtos/hal_stm32/pull/210
This is fine for me now, but please update the first commit title to remove H7 reference, as pr is stm32 generic now.
Hi, @erwango.
Done!