On Wed, 27 May 2020 at 06:52, Pratyush Yadav <p.ya...@ti.com> 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.ya...@ti.com>
> ---
>  drivers/core/regmap.c | 27 +++++++++++++++++++++++++++
>  include/regmap.h      | 19 +++++++++++++++++++
>  2 files changed, 46 insertions(+)
>

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to