diff options
| author | Mario Six <mario.six@gdsys.cc> | 2018-10-15 09:24:10 +0200 |
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2018-11-14 09:16:27 -0800 |
| commit | 84ff8f622d2e2aeb67c1cec1c2c814895648fca8 (patch) | |
| tree | fb70da06172352bae28ed26ecf5872e38d050d88 /scripts/checkpatch.pl | |
| parent | 4d9ada54a269c4ded01d60f7c231fd1a3a436a25 (diff) | |
| download | u-boot-84ff8f622d2e2aeb67c1cec1c2c814895648fca8.tar.gz u-boot-84ff8f622d2e2aeb67c1cec1c2c814895648fca8.tar.xz u-boot-84ff8f622d2e2aeb67c1cec1c2c814895648fca8.zip | |
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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
