Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH v9] mfd: Add anatop mfd driver | Date | Thu, 15 Mar 2012 15:52:54 +0000 |
| |
On Thursday 15 March 2012, Mark Brown wrote: > There were some other mutterings about using regmap for memory mapped > devices, mostly from the point of view of building framework features > like this on top of it. regmap currently makes some assumptions that > the I/O is going to be slow so approximately any amount of CPU time can > usefully be spent on avoiding I/O but we can probably do something about > that. It also uses mutexes to lock I/O which might not be the most > sensible thing for memory mapped devices, but again that's solveable. > Right now there's no memory mapping support but there's no reason that > can't be added. > > In short, it does seem sensible to want to have some support for this > for devices that use appropriate idioms.
Ok, I see.
I guess there is no reason to change anything in Paul's patch now, but we can keep this in mind if we see a lot of similar drivers in the future.
Thanks,
Arnd
| |