Skip to content
Commit d5c7bd98 authored by Mario Six's avatar Mario Six Committed by Simon Glass
Browse files

regmap: Support reading from specific range



It is useful to be able to treat the different ranges of a regmap
separately to be able to use distinct offset for them, but this is
currently not implemented in the regmap API.

To preserve backwards compatibility, add regmap_read_range and
regmap_write_range functions that take an additional parameter
'range_num' that identifies the range to operate on.

Reviewed-by: default avatarAnatolij Gustschin <agust@denx.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarMario Six <mario.six@gdsys.cc>
parent 84ff8f62
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