aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMario Six2018-10-15 09:24:10 +0200
committerSimon Glass2018-11-14 09:16:27 -0800
commit84ff8f622d2e2aeb67c1cec1c2c814895648fca8 (patch)
treefb70da06172352bae28ed26ecf5872e38d050d88 /arch
parent4d9ada54a269c4ded01d60f7c231fd1a3a436a25 (diff)
regmap: Add raw read/write functions
The regmap functions currently assume that all register map accesses have a data width of 32 bits, but there are maps that have different widths. To rectify this, implement the regmap_raw_read and regmap_raw_write functions from the Linux kernel API that specify the width of a desired read or write operation on a regmap. Implement the regmap_read and regmap_write functions using these raw functions in a backwards-compatible manner. Reviewed-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions