From: Neil Armstrong Date: Fri, 27 Apr 2018 11:56:13 +0200 Subject: [U-Boot] [PATCH v2 0/2] regmap: add regmap_update_bits and sandbox R/W test Message-ID: <1524822975-22120-1-git-send-email-narmstrong@baylibre.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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