On Thu, Mar 17, 2022 at 06:46:22PM +0100, Miquel Raynal wrote: > The CPR register can give the information whether the IP is DMA capable > or not. Let's extract this information when the CPR register is valid > and use it to discriminate when the DMA cannot be hooked up. > > We assume existing designs either provide a valid CPR register or do not > provide any. ... > + if (!(reg & DW_UART_CPR_DMA_EXTRA)) > + data->no_dma = 1; My question still remains: Does this bit is _guaranteed_ to be set when this IP is integrated on all possible DMAs? -- With Best Regards, Andy Shevchenko