serial/ns16550: Precision clock synthesizer

Set the FIFO control register while DLAB == 1 in the line control
register.  At least on the QorIQ T4240 the driver still works with the
re-ordered FIFO control register access.
This commit is contained in:
Sebastian Huber
2018-07-31 11:38:56 +02:00
parent 8a78b784c4
commit a7cd4b737c
2 changed files with 68 additions and 13 deletions

View File

@@ -69,6 +69,7 @@ typedef struct {
uint32_t clock;
uint32_t initial_baud;
bool has_fractional_divider_register;
bool has_precision_clock_synthesizer;
uint8_t modem_control;
uint8_t line_control;
uint32_t baud_divisor;