Skip to contentSkip to conversation

drivers/serial && drivers/char/serial.c in 2.5 && 2.4...

DISCUSSION Guennadi Liakhovetski 1 participant 1 message Apr 17, 2002 1 message not in the archive TTY layer and serial drivers

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hello all

On our StrongARM board we are preserving power by disabling / enabling an 16550 UART. Until now we were doing this in a separate application. But a better idea would be to have a (arch-specific, of course) pm-call in uart_open/close (or serial8250_startup/shutdown) functions. How can we do this? Currently there's just a call to pm_access in uart_start, which is a dummy, but uart_close DOES have a call to pm_send, but we anyway have to add knowledge about this specific UART to the driver, right? And we need a wakeup call in uart_open, I think.

Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany