On Fri, 30 Jul 2021 22:36:45 +0200 Tobias Nygren <t...@netbsd.org> wrote:
> On Fri, 30 Jul 2021 17:25:46 -0300 (ADT) > Jared McNeill <jmcne...@invisible.ca> wrote: > > > Why only A20? > > It is the hardware I have on hand. If you know specifically which > SoCs need this, the compat_data array can be extended. > I guess maybe these also? > allwinner,sun4i-a10 > allwinner,sun6i-a31 Apparently it can be an issue on relatively speaking newer SoCs too. For example the H6 does not have DesignWare specific register, and comes with 256-byte FIFO instead of 64-byte. It's not possible to deduce from the manual what DesignWare revision is used but I guess I can go over the data sheets of currently released SoCs and build a matrix of the proper values regardless of DesignWare revision.