[U-Boot] [PATCH v1 0/5] regmap: Add a managed API, custom read/write callbacks and support for regmap fields

Jean-Jacques Hiblot jjhiblot at ti.com
Fri Sep 27 13:22:16 UTC 2019

This is the first of a few series, the goal of which is to facilitate
porting drivers from the linux kernel. Most of the series will be about
adding managed API to existing infrastructure (GPIO, reset, phy,...)

This particular series is about regmaps. It adds the managed API, using
the same API as linux. It also adds support for regmap fields and for
custom read/write callbacks.

Jean-Jacques Hiblot (5):
  regmap: Fix potential overflow in regmap_update_bits()
  regmap: Add devm_regmap_init()
  regmap: Allow providing read/write callbacks through struct
  regmap: Add support for regmap fields
  test: dm: Add tests for regmap managed API and regmap fields

 arch/sandbox/dts/test.dts |  13 +++
 drivers/core/regmap.c     | 117 ++++++++++++++++++++++-
 include/regmap.h          | 147 +++++++++++++++++++++++++++++
 test/dm/regmap.c          | 189 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 465 insertions(+), 1 deletion(-)


More information about the U-Boot mailing list