On Tue, Mar 29, 2022 at 05:24:29PM +0200, Miquel Raynal wrote: > From: Phil Edworthy <phil.edworthy@xxxxxxxxxxx> > > Renesas RZ/N1 SoC features a slightly modified DW UART. > > On this SoC, the CPR register value is known but not synthetized in > hardware. We hence need to provide a CPR value in the platform > data. This version of the controller also relies on acting as flow > controller when using DMA, so we need to provide the > 'IS_DMA_FLOW_CONTROLLER' quirk. ... > - { .compatible = "renesas,rzn1-uart" }, > + { .compatible = "renesas,rzn1-uart", .data = &dw8250_renesas_rzn1_data }, Btw, you may avoid if (pdata) checks if you add a stub in the first place here. It will also make this patch shorter. -- With Best Regards, Andy Shevchenko