Re: using the same regmap by multiple device drivers

From: Vitaly Andrianov
Date: Wed Jun 29 2016 - 14:40:13 EST


On 06/29/2016 02:31 PM, Mark Brown wrote:
On Wed, Jun 29, 2016 at 01:19:37PM -0400, Vitaly Andrianov wrote:

Here is my question. Is that actually possible to use in regmap framework
the same registers in multiple different drivers?

Of course, this is how the vast majority of MFDs work. The regmap has
no idea what's calling it, it can't tell if a call comes from one driver
or another.

Thank you.