[U-Boot] [PATCH v2 0/2] regmap: add regmap_update_bits and sandbox R/W test

Neil Armstrong narmstrong at baylibre.com
Fri Apr 27 09:56:13 UTC 2018


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



More information about the U-Boot mailing list