On Thu, Apr 25, 2013 at 02:27:32PM +0200, Laurent Pinchart wrote: > On Thursday 25 April 2013 13:16:49 Mark Brown wrote: > > Yes, this is commonly done with MFDs for example. > I've had a quick look at the code, the regmap is passed through platform data > to the subdevices. With such an approach I could even pass the lock down to > the regulator driver (not that it would be a good idea of course). Yes, or if the subdevice knows that its parent will always have a regmap it can use dev_get_regmap() on the parent.