tty: serial: altera_uart: Add devicetree support
commit7c9325d79a3c3d51c98812161d47876d6830c062
authorTobias Klauser <tklauser@distanz.ch>
Fri, 18 Feb 2011 10:35:32 +0000 (18 11:35 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 1 Mar 2011 16:38:27 +0000 (1 09:38 -0700)
treee749efa50ac29719d4ff159f94f03abc455cee06
parentd714d1979d7b4df7e2c127407f4014ce71f73cd0
tty: serial: altera_uart: Add devicetree support

With the recent switch of the (currently still out-of-tree) Nios2 Linux
port to devicetree we want to be able to retrieve the resources and
properties from dts.

The old method to retrieve resources and properties from platform data
is still supported.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/devicetree/bindings/serial/altera_uart.txt [new file with mode: 0644]
drivers/tty/serial/altera_uart.c