zephyr/drivers/serial
Daniel Leung 8a3273aeb6 arm/fsl_frdm_k64f: serial/uart_k20: rework UART clock gating
The code to poke the system integration module to disable clock gating
for UARTs only works for UART0-3 since all the bits are in the same
register. However, clocks for UART4 and UART5 are controlled by
another register. This means that we have been writing to the wrong
bit for enabling UART4.

This patch fixes this issue, and moves the clock gating clock into
board initialization. The incorrect code has also been removed to
prevent accidental mis-use. The dev_data struct is no longer needed
for uart_k20, so that is removed as well.

Change-Id: I67845a417e43647bf0ffcbdbda34ce68fa887713
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:25:06 -05:00
..
Kconfig serial: simplify interrupt config options 2016-02-05 20:25:05 -05:00
Kconfig.k20 serial/k20: refactor (again) to conform to driver model 2016-02-05 20:24:56 -05:00
Kconfig.ns16550 serial/ns16550: refactor (again) to conform to driver model 2016-02-05 20:24:56 -05:00
Kconfig.nsim uart/nsim: Make config for uart/nsim explicit 2016-02-05 20:24:57 -05:00
Kconfig.stellaris serial/stellaris: refactor (again) to conform to driver model 2016-02-05 20:24:56 -05:00
Makefile uart/nsim: Make config for uart/nsim explicit 2016-02-05 20:24:57 -05:00
uart_k20.c arm/fsl_frdm_k64f: serial/uart_k20: rework UART clock gating 2016-02-05 20:25:06 -05:00
uart_k20_priv.h arm/fsl_frdm_k64f: serial/uart_k20: rework UART clock gating 2016-02-05 20:25:06 -05:00
uart_ns16550.c uart: remove uart_devs[] 2016-02-05 20:24:56 -05:00
uart_nsim.c serial/nsim: refactor (again) to conform to driver model 2016-02-05 20:24:56 -05:00
uart_stellaris.c uart: remove uart_devs[] 2016-02-05 20:24:56 -05:00