Messages in this thread | | | Date | Tue, 3 Oct 2023 15:14:55 +0300 | From | Tony Lindgren <> | Subject | Re: [PATCH v12 1/1] serial: core: Start managing serial controllers to enable runtime PM |
| |
Hi,
* Maximilian Luz <luzmaximilian@gmail.com> [231003 11:57]: > A bad workaround is to disable runtime PM, e.g. via > > echo on > /sys/bus/serial-base/devices/dw-apb-uart.4:0/dw-apb-uart.4:0.0/power/control
If the touchscreen controller driver(s) are using serdev they are children of the dw-apb-uart.4:0.0 and can use runtime PM calls to block the parent device from idling as necessary. The hierarchy unless changed using ignore_children.
Then when the children are done, seem like dw-apb-uart driver should use force_suspend and force_resume calls in the system suspend path.
Do you have some mainline kernel test case available or is this still out of tree code?
Regards,
Tony
| |