-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Configure lpuart flow control pin mux #69899
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
Configure lpuart flow control pin mux #69899
Conversation
Configure the pins of flow control if it is added in device tree. Signed-off-by: Mark Wang <[email protected]>
test configuring pin mux of lpuart flow control in RT1060 Signed-off-by: Mark Wang <[email protected]>
@MarkWangChinese Doesn't this just check if the FLOWCONTROL state exists and never actually select it ? |
Sorry, I don't get your point, do you mean how to enable the uart flowcontrol? It is enabled by the DT that can be overwritten by overlay file. |
From what I read, err = pinctrl_lookup_state(config->pincfg, PINCTRL_STATE_FLOWCONTROL, &state); only looks up the state but it never actually transitions into that state anywhere ? IMHO this needs to be pinctrl_apply_state(config->pincfg, PINCTRL_STATE_FLOWCONTROL); ? pinctrl_apply_state() checks if the state is valid and if not returns error and in that case it will use "default" pinmux as the lpuart driver code then applies the default state. |
Yes, I think you are right, Thanks. The |
I have created it here: #88866. Thanks for checking :) |
No description provided.