[PATCH v12 1/1] serial: core: Start managing serial controllers to enable runtime PM

Tony Lindgren tony at atomide.com
Tue Jun 6 05:20:59 PDT 2023


* Chen-Yu Tsai <wenst at chromium.org> [230606 09:17]:
> I ended up following 8250_dw's design, which seemed less convoluted.
> The original code was waaay too convoluted.

OK that looks good to me thanks. Good to hear you got it sorted out.

The 8250_dw style runtime PM is a good solution for simple cases. Where
it won't work are SoCs where runtime PM calls need to propagate up the
bus hierarchy. For example, 8250_omap needs runtime PM calls for the
interconnect and power domain to get register access working.

> BTW, the Bluetooth breakage seems like a different problem.

OK seems like we're good to go then :)

Regards,

Tony



More information about the Linux-mediatek mailing list