[v4,0/2] serial: 8250/ingenic: Add support for the JZ4750

Message ID 20221031184041.1338129-1-lis8215@gmail.com
Headers
Series serial: 8250/ingenic: Add support for the JZ4750 |

Message

Siarhei Volkau Oct. 31, 2022, 6:40 p.m. UTC
  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(-)