zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.9k stars 6.64k forks source link

drivers: pinctrl: add pinctrl driver for armv7-m/armv8-m #52435

Open henrikbrixandersen opened 1 year ago

henrikbrixandersen commented 1 year ago

Is your enhancement proposal related to a problem? Please describe. As noted in #39740 the armv7m/armv8-m implementations uses a custom pinctrl implementation (as seen in https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/arm/v2m_musca_b1/pinmux.c and https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/arm/mps2_an385/pinmux.c).

Describe the solution you'd like The armv7m/armv8-m implementations should use one of the standard Zephyr pinctrl devicetree representations as described in https://docs.zephyrproject.org/latest/hardware/pinctrl/index.html#devicetree-representation along with a pinctrl driver.

Describe alternatives you've considered None.

Additional context None.

microbuilder commented 10 months ago

@ithinuel Do you have the bandwidth to look at this after the holidays? If you don't, let me know and I'll schedule time in for it myself. It completely fell off my radar. 😬

ithinuel commented 10 months ago

I think I should be àble to do that at some point in this quarter. 👍

henrikbrixandersen commented 3 months ago

@ithinuel Any plans to address this?

ithinuel commented 2 months ago

Yes, although low in priority. Should it be escalated to a higher prio?

henrikbrixandersen commented 2 months ago

Yes, although low in priority. Should it be escalated to a higher prio?

Well, pinmux was deprecated in Zephyr v3.2 and the plan was to remove all non-pinctrl muxing too. This was nearly two years ago. I think this deserves some attention.