This patchset adds the regmap_update_bits() to easy read/modify/write
like the Linux ragmap API.

The second patch adds a read/update_bits/write test to call these functions
but we cannot check the behaviour since io read/write is not implemented
on the sandbox arch.

Changes since v1:
 - moved from include to regmap.c
 - added a sandbox test

Neil Armstrong (2):
  regmap: add regmap_update_bits() helper
  test: regmap: add read/modify/write test

 drivers/core/regmap.c | 14 ++++++++++++++
 include/regmap.h      | 10 ++++++++++
 test/dm/regmap.c      | 24 ++++++++++++++++++++++++
 3 files changed, 48 insertions(+)

-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to