diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-09-01 20:30:50 -0700 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-17 13:46:57 +0100 |
commit | a0102375ee82db1e08324b1a21484854cf2c1677 (patch) | |
tree | c24bd05318c5bb9211c0b38867dfa9d0eb99bd8d /drivers/base/devres.c | |
parent | fdf200290581150f7b69148abf6ca860684cbfbb (diff) | |
download | talos-obmc-linux-a0102375ee82db1e08324b1a21484854cf2c1677.tar.gz talos-obmc-linux-a0102375ee82db1e08324b1a21484854cf2c1677.zip |
regmap: Add regmap_fields APIs
Current Linux kernel is supporting regmap_field method
and it is very useful feature.
It needs one regmap_filed for one register access.
OTOH, there is multi port device which
has many same registers in the market.
The difference for each register access is
only its address offset.
Current API needs many regmap_field for such device,
but it is not good.
This patch adds new regmap_fileds API which can care
about multi port/offset access via regmap.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/base/devres.c')
0 files changed, 0 insertions, 0 deletions