-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Revert "driver: serial: uart_ns16550: Add pm support for uart_ns16550 driver" #93568
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
Revert "driver: serial: uart_ns16550: Add pm support for uart_ns16550 driver" #93568
Conversation
… driver" This reverts commit fd88386, it breaks uart support on ITE platforms when PM is enabled but PM_RUNTIME is not, possibly others as well. Signed-off-by: Fabio Baltieri <[email protected]>
cc fimohame |
|
shouldnt you be filing a bug? |
Sure why not, added and linked. |
I also can't quite figure what the story was with the original change, the message
is misleading, that commit does NOT enable pm device runtime support, it implements suspend as a no-op and resume as a reconfigure, a bit of context would have helped. |
Update: this is broken on Realtek platforms as well |
This reverts commit fd88386, it breaks uart support on ITE platforms when PM is enabled but PM_RUNTIME is not, possibly others as well.
I folks, this caused a regression downstream, I'd normally figure out a workaround and fix forward but something seems off so I'd ask you folks to rework this: seems like the implementation is a no-op for suspend and a reconfigure for resume, I've no doubt it works in your case but it doesn't for ITE, not entirely sure what breaks specifically but since ITE uses (sadly) system managed runtime this causes the uart to be reconfigued every time the CPU wakes up and there's no way of preventing it, so even if I figure how to make it cope with the continuous reconfiguration, I'd rather not do it in the first place.
fimohame@ could you rework this to add a property and only enable it on platforms that actually need it?
One more for #75963
Fixes #93572