u-boot-brain/drivers/serial
Andy Shevchenko c5f8dd482b serial: Add serial driver for Intel MID
Add a specific serial driver for Intel MID platforms.

It has special fractional divider which can be programmed via UART_PS,
UART_MUL, and UART_DIV registers.

The UART clock is calculated as

	UART clock = XTAL * UART_MUL / UART_DIV

The baudrate is calculated as

	baud rate = UART clock / UART_PS / DLAB

Initialize fractional divider correctly for Intel Edison platform.

For backward compatibility we have to set initial DLAB value to 16
and speed to 115200 baud, where initial frequency is 29491200Hz, and
XTAL frequency is 38.4MHz.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2017-04-10 10:02:03 +08:00
..
altera_jtag_uart.c altera_jtag_uart: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
altera_uart.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
arm_dcc.c serial: dcc: Move driver to DM 2016-02-25 19:06:37 -05:00
atmel_usart.c serial: atmel_usart: Support enable an early debug UART 2016-10-28 18:37:15 +02:00
atmel_usart.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig serial: Add serial driver for Intel MID 2017-04-10 10:02:03 +08:00
lpc32xx_hsuart.c serial: lpc32xx hsuart: port driver to driver model 2016-01-13 21:05:22 -05:00
Makefile serial: Add serial driver for Intel MID 2017-04-10 10:02:03 +08:00
mcfuart.c m68k: add DM model serial driver 2016-05-17 09:54:43 -06:00
ns16550.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
sandbox.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
serial_ar933x.c ar933x: serial: Remove the explicit pinctrl setting 2016-05-21 01:36:38 +02:00
serial_arc.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
serial_bcm283x_mu.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
serial_efi.c debug_uart: Adjust the declaration of debug_uart_init() 2015-10-21 07:46:50 -06:00
serial_intel_mid.c serial: Add serial driver for Intel MID 2017-04-10 10:02:03 +08:00
serial_linflexuart.c serial: Introduce linflex uart support 2016-06-13 08:56:02 -04:00
serial_lpuart.c serial: lpuart: add i.MX7ULP support 2017-03-17 09:27:08 +01:00
serial_meson.c arm: add initial support for Amlogic Meson and ODROID-C2 2016-05-27 15:39:47 -04:00
serial_msm.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
serial_mvebu_a3700.c serial: Add serial_mvebu_a3700 for Armada 3700 SoC 2016-09-27 17:29:52 +02:00
serial_mxc.c dm: imx: serial: add i.MX6UL support 2017-03-19 17:24:13 +01:00
serial_ns16550.c serial: Remove serial_putc_raw_dev 2016-01-25 10:39:45 -05:00
serial_pic32.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
serial_pl01x_internal.h dm: serial: Tidy up the pl01x driver 2014-10-22 10:36:57 -06:00
serial_pl01x.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
serial_pxa.c serial: pxa: integrate optional driver model handling 2016-11-23 13:53:20 +01:00
serial_rockchip.c rockchip: serial: Adapt rockchip of-platdata driver for rk3188 2017-03-16 16:03:44 -06:00
serial_s5p.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
serial_sh.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
serial_sh.h arm: rmobile: Add BLANCHE board support 2016-08-17 10:25:35 +09:00
serial_sti_asc.c STiH410: Add STi serial driver 2017-03-14 20:40:19 -04:00
serial_stm32.c serial: serial_stm32: move clock config from driver to board 2016-02-08 10:10:36 -05:00
serial_stm32x7.c stm32f7: serial: use clock driver to enable clock 2017-03-17 14:15:13 -04:00
serial_stm32x7.h stm32x7: add support for stm32x7 serial driver 2016-02-24 18:43:54 -05:00
serial_uniphier.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
serial_xuartlite.c serial: uartlite: Add support for debug console 2016-01-27 15:55:49 +01:00
serial_zynq.c zynq: Move zynq to clock framework 2017-02-17 10:22:46 +01:00
serial-uclass.c Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig 2016-10-23 18:34:17 -04:00
serial.c Fix typo: firstly -> first. 2015-12-05 18:22:23 -05:00
usbtty.c serial: Move carriage return before line feed for some serial drivers 2016-03-14 15:34:50 -06:00
usbtty.h omap: clean-up dead configs 2014-08-09 11:17:04 -04:00