-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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: serial: uart_mcux_lpuart: add DTR, DSR, and DCD signals #87416
drivers: serial: uart_mcux_lpuart: add DTR, DSR, and DCD signals #87416
Conversation
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.
good addition but the code is so messy, so for maintenance reasons I can't accept it in current state, there are many opportunities for cleanup which I put in the review
d3c2854
to
7af5b29
Compare
Thank you @decsny for your feedback. My code was messy, and your suggestions do improve the readability. Please let me know how this looks to you know. Thanks |
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.
this is much nicer and more reviewable too, thank you for doing that cleanup, I just have a couple minor nits left but they are not blocking
Add support for additional line control signals. Improved configuring uart_config_flow_control options. Signed-off-by: Derek Snell <derek.snell@nxp.com>
7af5b29
to
7916b21
Compare
@abhinavnxp and @nirav-agrawal , FYI Since you are using HW flow control with modules and the line control APIs in LPUART, be aware of this update to the driver. Feel free to test out this update. Best regards |
Add support for additional line control signals. Improved configuring uart_config_flow_control options.
Removed macro UART_LINE_CTRL_ENABLE because some line control signals in the LPUART do not depend on FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT. Added LPUART_HAS_MODEM instead.