OSDN Git Service

serial: 8250_fintek: UART dynamic clocksource on Fintek F81216H
authorJi-Ze Hong (Peter Hong) <hpeter@gmail.com>
Tue, 3 Oct 2017 03:08:34 +0000 (11:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Oct 2017 18:31:17 +0000 (20:31 +0200)
commit58178914ae5bad449d8e53e38c7171ec85ad2c9a
tree74f86df2b1da7efc18f0b9c2a5d90fe130b60771
parent195638b6d44f22c5fcbd428ebfe4b7c012c576f2
serial: 8250_fintek: UART dynamic clocksource on Fintek F81216H

The F81216H had 4 clocksource 1.8432/18.432/14.769/24MHzand  baud rates can
be up to 1.5Mbits with 24MHz. The register value and mask is the same with
F81866. But F81866 register address is F2h, F81216H is F0h.

We'll implements the dynamic clocksource in fintek_8250_set_termios().

Signed-off-by: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_fintek.c