[PATCH v3 5/9] regmap: Add regmap_init_mem_range()

Tom Rini trini at konsulko.com
Thu Oct 1 16:08:48 CEST 2020


On Thu, Sep 24, 2020 at 10:04:14AM +0530, Pratyush Yadav wrote:

> Right now, the base of a regmap can only be obtained from the device
> tree. This makes it impossible for devices which calculate the base at
> runtime to use a regmap. An example of such a device is the Cadence
> Sierra PHY.
> 
> Allow creating a regmap with one range whose start and size can be
> specified by the driver based on calculations at runtime.
> 
> Signed-off-by: Pratyush Yadav <p.yadav at ti.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201001/1aef94bd/attachment.sig>


More information about the U-Boot mailing list