aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorAllen Yan <[email protected]>2017-10-13 11:01:51 +0200
committerGreg Kroah-Hartman <[email protected]>2017-10-20 14:20:06 +0200
commit68a0db1d7da20fc99b64debddf71e7c6d1b9e334 (patch)
tree6281a50f9c59ea7490d6aa6278f2124a21367ff2 /lib/mpi/mpi-bit.c
parent9c3d3ee1239bab92d509f334530796d0ced4ca98 (diff)
serial: mvebu-uart: add function to change baudrate
Until now, the first UART port baudrate was set by the bootloader. Add a function allowing to change the baudrate. Changes may be done from userspace but also at probe time by the kernel. Use the simplest method: baudrate divisor. Works for all UART ports until 230400 baud. To achieve higher baudrates, software should implement the fractional divisor feature that allows more accuracy for higher rates. Signed-off-by: Allen Yan <[email protected]> [<[email protected]>: changed termios handling] Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Gregory CLEMENT <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions