Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator

From: Mark Brown
Date: Tue Aug 25 2015 - 09:51:04 EST


On Tue, Aug 25, 2015 at 01:03:04PM +0300, Grygorii Strashko wrote:
> On 08/19/2015 09:11 PM, Mark Brown wrote:

> > So substract this address from the start of the resource to get the
> > offset? Or provide a wrapper function in the resource code which does
> > that.

> I'd be very appreciated if you have and can share any thought on
> How can we get this absolute base address to substract?

Ask the syscon device for its resource? Or have it provide an absolute
address based interface for that matter?

Attachment: signature.asc
Description: Digital signature