Skip to content
Commit 0e01a7c3 authored by Pratyush Yadav's avatar Pratyush Yadav Committed by Tom Rini
Browse files

regmap: Add regmap_init_mem_range()



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: default avatarPratyush Yadav <p.yadav@ti.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 7aa5ddff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment