tty: ar933x_uart: add device tree support and binding documentation
authorGabor Juhos <juhosg@openwrt.org>
Thu, 29 Aug 2013 06:44:01 +0000 (08:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Aug 2013 21:11:27 +0000 (14:11 -0700)
commitdd910d98a2e240443db0090b0ae8a719a4a460f8
tree4f149a3230c42b8bb2bdf462b69589a9448cf1c6
parent284301ef7c4e5aad2bcb81be5525e4bfc0ba3e31
tty: ar933x_uart: add device tree support and binding documentation

Modify the probe routine to get the port line number
from device tree if the 'of_node' is populated in the
platform device. The driver can be built as module,
thus add an OF specific module device table as well
to support module auto loading.

This makes it possible to use the driver for AR9330
UART devices specified in device tree.

Cc: devicetree@vger.kernel.org
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/tty/serial/qca,ar9330-uart.txt [new file with mode: 0644]
drivers/tty/serial/ar933x_uart.c
This page took 0.034675 seconds and 5 git commands to generate.