tty: of_serial: support for 32 bit accesses
authorJamie Iles <jamie@jamieiles.com>
Mon, 27 Jun 2011 12:32:34 +0000 (13:32 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 30 Jun 2011 19:02:00 +0000 (13:02 -0600)
commit7423734e19e7e0a90e3379152eacca2647f4377e
tree134745d5a331c27fa0a63da59264a2aceaa0d4ac
parent61ab1a90d81b5b8a53fc221a3665715c61614fb7
tty: of_serial: support for 32 bit accesses

Some platforms e.g. TI Davinci require 32-bit accesses to the UARTs.
The of_serial driver currently registers all UARTs as UPIO_MEM.  Add a
new attribute "reg-io-width" to allow the port to be registered with
different IO width requirements.

Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/devicetree/bindings/tty/serial/of-serial.txt
drivers/tty/serial/of_serial.c