]> Git Repo - J-u-boot.git/commit
regmap: Support reading from specific range
authorMario Six <[email protected]>
Mon, 15 Oct 2018 07:24:11 +0000 (09:24 +0200)
committerSimon Glass <[email protected]>
Wed, 14 Nov 2018 17:16:27 +0000 (09:16 -0800)
commitd5c7bd985d759b7aade2700c11890821e6187e4b
tree1ae2265b0c770b50524fb4e0655d74a866c24422
parent84ff8f622d2e2aeb67c1cec1c2c814895648fca8
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: Anatolij Gustschin <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Mario Six <[email protected]>
drivers/core/regmap.c
include/regmap.h
This page took 0.02814 seconds and 4 git commands to generate.