From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 2 Aug 2018 00:10:13 +0200 Subject: [U-Boot] [PATCH v3 08/13] regmap: Support reading from specific range In-Reply-To: <20180731100110.4852-8-mario.six@gdsys.cc> References: <20180731100110.4852-1-mario.six@gdsys.cc> <20180731100110.4852-8-mario.six@gdsys.cc> Message-ID: <20180802001013.093d8f84@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 31 Jul 2018 12:01:05 +0200 Mario Six mario.six at gdsys.cc 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_range and > regmap_write_range functions that take an additional parameter > 'range_num' that identifies the range to operate on. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six Reviewed-by: Anatolij Gustschin