Re: [PATCH] tty: ar933x_uart: add device tree support and binding documentation

Gabor Juhos
2013-08-29T09:43:46Z

2013.08.29. 8:44 keltezéssel, Gabor Juhos írta:
> 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.

Erm, the last statement is not true. I forgot to send the patch which makes it
possible to build the driver as a module. I did that a few minutes ago.

>
> 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>
> ---
> The patch is agains the 'tty-next' branch of the
> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tree
> ---
> .../bindings/tty/serial/qca,ar9330-uart.txt | 34 ++++++++++++++++++++
> drivers/tty/serial/ar933x_uart.c | 28 ++++++++++++++--
> 2 files changed, 59 insertions(+), 3 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/tty/serial/qca,ar9330-uart.txt

Additionally, according to the recent thread [1] on the linux-serial list the
binding doc should go into bindings/serial.

Please drop this patch. I will send an updated version.

-Gabor

1. http://marc.info/?l=linux-serial&m=137771717313040&w=2
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html