commit | 7eb2476dbf60075a8ac185f0a4520ee8e4245e54 | [log] [tgz] |
---|---|---|
author | Pratyush Yadav <p.yadav@ti.com> | Thu Sep 24 10:04:14 2020 +0530 |
committer | Tom Rini <trini@konsulko.com> | Wed Sep 30 11:55:22 2020 -0400 |
tree | 1b7a060901775e87954bfcc9c3dff11b4de041c3 | |
parent | 3b94e5dfa99a8bd71cb323a72ff27fda71aa4a8f [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>