-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
drivers: pinctrl: add pinctrl support for arm mps2 and mps3 boards #86155
Conversation
tests/cmake/hwm/board_extend/oot_root/boards/arm/mps2/mps2_an521-common.dtsi
Outdated
Show resolved
Hide resolved
Have pushed a new patch which should deal with all the comments and have also added another board (beetle) since we very recently managed to get it supported with pinctrl as well. |
@gmarull could you please have another look at the PR? |
Hi @gmarull could you please have another look at the PR? |
Hi @gmarull, if the last 2 are the only review comments left then I would like to do them as a follow up PR. I will be migrating the rest of arm reference boards based on this PR soon and can address these as part of that. |
The select at soc level is just wrong, soc code does not use pinctrl APIs. |
ok in that case I'll address both today, but do you see any other issue with the PR? |
nope |
60bf6fc
to
153ec10
Compare
please, no reverts within PR commits. It's a transient work that does not need to reach main. |
6e428a3
to
9a6cd70
Compare
@gmarull, the commits are fixed and ci has passed. Could you please have another look? |
Adds necessary pinctrl support to Arm SBCon I2C driver. Signed-off-by: Samuel Chee <samche01@arm.com> Signed-off-by: Sudan Landge <sudan.landge@arm.com>
Adds necessary pinctrl support for Arm cmsdk uart driver Signed-off-by: Samuel Chee <samche01@arm.com> Signed-off-by: Sudan Landge <sudan.landge@arm.com>
Adds pinctrl driver for all Arm mps2 targets. Signed-off-by: Samuel Chee <samche01@arm.com> Signed-off-by: Sudan Landge <sudan.landge@arm.com>
Migrates mps2 targets away from the pinmux driver to the new pinctrl driver. Signed-off-by: Samuel Chee <samche01@arm.com> Signed-off-by: Sudan Landge <sudan.landge@arm.com>
Adds pinctrl driver for all Arm mps3 targets Signed-off-by: Samuel Chee <samche01@arm.com> Signed-off-by: Sudan Landge <sudan.landge@arm.com>
Adds initial pinctrl support to all arm mps3 board targets. Signed-off-by: Samuel Chee <samche01@arm.com> Signed-off-by: Sudan Landge <sudan.landge@arm.com>
Adds pinctrl driver for the v2m_beetle board target. Signed-off-by: Samuel Chee <samche01@arm.com> Signed-off-by: Sudan Landge <sudan.landge@arm.com>
Adds initial pinctrl support to arm v2m_beetle board target. Signed-off-by: Samuel Chee <samche01@arm.com> Signed-off-by: Sudan Landge <sudan.landge@arm.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a comment regarding DT: it should likely be defined as in STM32.
pinctrl: pinctrl { | ||
compatible = "arm,mps3-pinctrl"; | ||
status = "okay"; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a memory mapped device?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, because there isn't a separate pinctlr device and pins are managed by gpio controller.
Also, I had a quick look at STM32 DT https://github.com/zephyrproject-rtos/hal_stm32/blob/main/dts/st/mp1/stm32mp135faex-pinctrl.dtsi but didn't find anything different, could you please share more details on what you were referring to?
The existing pinmux drivers is soon to be deprecated. Hence this pr implements new pinctrl support for Arm's mps2, mps3 and v2m_beetle board targets. Hence this pr does the following: