Greetings, please find the patch that allows passing the pointer to custom power management routine (via platform_device) to 8250 serial driver. Please note that the interface to the outer world (i. e. exported functions) remained the same. Best regards, Vitaly