• K
    regmap: Add regmap_fields APIs · a0102375
    Kuninori Morimoto 提交于
    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: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Signed-off-by: NMark Brown <broonie@linaro.org>
    a0102375
regmap.c 49.6 KB