diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2021-01-13 19:39:15 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-02-01 10:05:43 +0100 |
commit | 399758c48f7680e0e80f67a2ad49207f51cb41dd (patch) | |
tree | 0a6008464d87239d1d5ac65ba5db4c04e6260b4e /tools/perf/util | |
parent | 1266d0110fcedb08c996124ddb33bddd98ed61f5 (diff) |
tty: serial: fsl_lpuart: fix uart baud divider overflow
For low baudrates the uart baudrate divider can overflow, i.e. the
sbr register must stay within [1..8191].
With an input frequency of 80MHz and a baudrate of 1200 the following
register settings are calculated.
sbr: 16666, osr: 4
Fix this.
Related-to: ELB-3517
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions