diff options
author | Pratyush Yadav <p.yadav@ti.com> | 2020-09-24 10:04:14 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-30 11:55:22 -0400 |
commit | 0e01a7c3f4b6a42f768a19f7fc1df92d3e3b5d37 (patch) | |
tree | 1b7a060901775e87954bfcc9c3dff11b4de041c3 /drivers/gpio/stm32_gpio.c | |
parent | 7aa5ddffe7fbafe7ef828088ba1dbc76270300c5 (diff) |
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: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio/stm32_gpio.c')
0 files changed, 0 insertions, 0 deletions