[PATCH 00/18] Add Hantro regmap and VC8000 h264 decode support
Mark Brown
broonie at kernel.org
Thu Oct 29 10:48:15 EDT 2020
On Thu, Oct 29, 2020 at 02:15:10PM +0000, Robin Murphy wrote:
> Or maybe the regmap API itself deserves extending with a "deferred"
> operating mode where updates to the cached state can be separated from
> committing that state to the underlying hardware.
> ...which, after a brief code search out of curiosity, apparently already
> exists in the form of regcache_cache_only()/regcache_sync(), so there's
> probably no need to reinvent it :)
Yes, exactly. One of the big use cases for regmap on MMIO devices is
being able to access the register map without the hardware being there,
this would be another application of the cache stuff.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20201029/b5bd9221/attachment.sig>
More information about the Linux-rockchip
mailing list