On Sun, Jan 10, 2021 at 12:11 AM AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxxx> wrote: > Il 09/01/21 23:11, Linus Walleij ha scritto: > > The major review comment is that it'd be nice if you look into > > using regmaps register cache instead of rolling your own, > > and also possibly using regmaps locking rather than your own > > as a result of that. > > > Actually, I really tried to use regmap's FLAT register cache and after > many, many tries... I had to give up. I just couldn't get it working. :( This needs to be root-caused. The register cache in regmap is for using not for decoration. What is the problems you are seeing? If it is fundamentally so that regmap has limitations that is one thing, but I want to rule out that we're just not using it wrong or that there is a bug in it that we should fix. Looping in Mark Brown the regmap maintainer. Yours, Linus Walleij