-
Notifications
You must be signed in to change notification settings - Fork 8.2k
CC13XX CC26XX : transition from pinmux to pinctrl #44492
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
CC13XX CC26XX : transition from pinmux to pinctrl #44492
Conversation
|
@cfriedt @bwitherspoon Can you please review the PR? |
cfriedt
left a comment
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.
LGTM - thanks so much for getting these changes in!
@vaishnavachath - would be great if you could convince TI to allow you to be platform maintainer for Zephyr 😃
967e044 to
272d876
Compare
mbolivar-nordic
left a comment
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.
Other than @gmarull's comment on missing examples and details, the bindings changes LGTM.
|
@vaishnavachath - can you make the changes requested by @gmarull ? |
@cfriedt , Yes I will send the updates soon. I have made the trivial updates but on the standard pin properties suggestion, had slight confusion whether to provide all the pin properties configuration option through DT or to provide a relevant subset(pull, mode, input-enable), of the configuration as pin properties. |
272d876 to
5295a86
Compare
|
@gmarull @cfriedt @mbolivar-nordic , I have made the suggested changes, can you please review the updates.
|
mbolivar-nordic
left a comment
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.
Bindings LGTM. The rest I only reviewed quickly, but it all seems reasonable as well. Thanks for the update!
|
@vaishnavachath - looks like some minor changes to get the last two tests to pass. Are you running with Twister? |
gmarull
left a comment
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.
LGTM, one minor non-blocking nitpick
e9bc04a
5295a86 to
e9bc04a
Compare
Add pinctrl driver for CC13XX/CC26XX family of SoCs to facilitate transition from pinmux to pinctrl. `IOCPortConfigureSet()` from TI hal driverlib used to implement the generic pinctrl driver. Signed-off-by: Vaishnav Achath <[email protected]>
This commit has the necessary changes to update the consumers of pinmux driver(SPI, I2C, UART) and update the board specific files to use the pinctrl interface. Signed-off-by: Vaishnav Achath <[email protected]>
all the consumers of the obsolete pinmux driver is updated to use pinctrl API, this commit removes the pinmux driver and assosciated sections. Signed-off-by: Vaishnav Achath <[email protected]>
e9bc04a to
c251fb9
Compare
@cfriedt made small mistake in cc26xx dtsi while updating which is fixed now and tests are passing. |
This pull request contains the changes to migrate from pinmux to pinctrl API for CC13XX and CC26XX based platforms as outlined in #39740 .
The pull request contains the following changes in the respective commits:
The change-set was tested on CC1352R sensor-tag to verify the I2C/SPI/UART IOC functionality is not broken.