Hi Andy, andriy.shevchenko@xxxxxxxxxxxxxxx wrote on Fri, 18 Mar 2022 15:50:12 +0200: > 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? I'll get rid of that entirely, let's just hope there is always DMA support. Thanks, Miquèl