]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for uarts other than the serial console in TI OMAP SoCs.
authorian <ian@FreeBSD.org>
Wed, 21 Aug 2013 14:33:02 +0000 (14:33 +0000)
committerian <ian@FreeBSD.org>
Wed, 21 Aug 2013 14:33:02 +0000 (14:33 +0000)
commit13ce4e66a1bca0366fbfd59ac247c90903fbccbd
tree65abce488aee09faa6bb84b4d4accd161b605cbb
parent29f631efba73763ec8798a40c3ff8ca7dee4e9ff
Add support for uarts other than the serial console in TI OMAP SoCs.

The TI uart hardware is ns16550-compatible, except that before it can
be used the clocks and power have to be enabled and a non-standard
mode control register has to be set to put the device in uart mode
(as opposed to irDa or other serial protocols).  This adds the extra
code in an extension to the standard ns8250 probe routine, and the
rest of the driver is just the standard ns8250 code.
sys/arm/ti/files.ti
sys/boot/fdt/dts/am335x.dtsi
sys/dev/uart/uart.h
sys/dev/uart/uart_bus_fdt.c
sys/dev/uart/uart_cpu_fdt.c
sys/dev/uart/uart_dev_ti8250.c [new file with mode: 0644]