Re: [U-Boot] [PATCH v2 2/5] regmap: Support reading from specific range

2018-05-04 Thread Mario Six
Hi Simon, On Thu, May 3, 2018 at 4:33 AM, Simon Glass wrote: > Hi Mario, > > On 27 April 2018 at 06:52, Mario Six wrote: >> >> It is useful to be able to treat the different ranges of a regmap >> separately to be able to use distinct offset for them, but this is >> currently not implemented in t

Re: [U-Boot] [PATCH v2 2/5] regmap: Support reading from specific range

2018-05-02 Thread Simon Glass
Hi Mario, On 27 April 2018 at 06:52, Mario Six wrote: > > It is useful to be able to treat the different ranges of a regmap > separately to be able to use distinct offset for them, but this is > currently not implemented in the regmap API. > > To preserve backwards compatibility, add regmap_read_

[U-Boot] [PATCH v2 2/5] regmap: Support reading from specific range

2018-04-27 Thread Mario Six
It is useful to be able to treat the different ranges of a regmap separately to be able to use distinct offset for them, but this is currently not implemented in the regmap API. To preserve backwards compatibility, add regmap_read_ext and regmap_write_ext functions that take an additional paramete