JZ4750 and JZ4755 have an extra clock divisor in CGU called CPCCR.ECS. It needs to be handled properly in the early console driver. v4: - move duplicate code - apply Paul's description for the quirk & commit msg v3: - fix build errors v2: - serial moved into separate patchset - code refactored to avoid peek in CGU register - Krzysztof's ack picked v1: - big patchset for the whole JZ4755 support Siarhei Volkau (2): dt-bindings: serial: ingenic: Add support for the JZ4750/55 SoCs serial: 8250/ingenic: Add support for the JZ4750/JZ4755 .../bindings/serial/ingenic,uart.yaml | 4 +++ drivers/tty/serial/8250/8250_ingenic.c | 32 +++++++++++++++++-- 2 files changed, 33 insertions(+), 3 deletions(-) -- 2.36.1