Re: [PATCH 1/2] tty: serial8250: add helpers for the DesignWare 8250
From: Arnd Bergmann <arnd@arndb.de>
Date: 2011-08-16 16:58:11
From: Arnd Bergmann <arnd@arndb.de>
Date: 2011-08-16 16:58:11
On Tuesday 16 August 2011, Jamie Iles wrote:
The Synopsys DesignWare 8250 is an 8250 that has an extra interrupt that gets raised when writing to the LCR when busy. To handle this we need special serial_out, serial_in and handle_irq methods. Add a new function serial8250_use_designware_io() that configures a uart_port with these accessors. Cc: Alan Cox <redacted> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jamie Iles <redacted>
Hmm, this looks about as good as the solution that I had in mind (doing a new platform_driver). I can't any obvious advantages either way, so I guess you get to have your version ;-) Acked-by: Arnd Bergmann <arnd@arndb.de>