-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
[topic-gpio] Convert modem drivers to the new API #22168
[topic-gpio] Convert modem drivers to the new API #22168
Conversation
@mike-scott if you have a chance to test this I'd be very thankful. |
All checks are passing now. Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
3269ae0
to
731ebe0
Compare
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.
I tested out these changes by building a sample for the Particle Boron board and enabling networking. The sample ran the same with these changes as it has compared to zephyr::v2.1.0. I did notice one new build warning, which should be simple to resolve.
Do let me know if you need me to run any additional tests.
731ebe0
to
254808f
Compare
254808f
to
2b8287b
Compare
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.
Devicetree flags should still be used for configuration even if raw active value is specified by driver.
2b8287b
to
69a5c7c
Compare
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
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.
Actually, I noticed one issue for discussion.
Convert to the new API using raw access, since it's a common access layer shared by multiple (right now only ublox-sara-r4) modems. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Conver to the new GPIO API using raw access, since the driver has its own macros to define signal levels. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
69a5c7c
to
ad9a5dc
Compare
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.
ok LGTM
Tested-By: Michael Scott mike@foundries.io
|
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.
Approved!
Thanks @mike-scott for the review and testing |
Thanks! |
Completely untested in hardware