On Tue, Aug 07, 2018 at 05:52:17PM +0300, Stefan Popa wrote: > From: Crestez Dan Leonard <leonard.crestez@xxxxxxxxx> > > The regmap API usually assumes that bulk read operations will read a > range of registers but some I2C/SPI devices have certain registers for The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-noinc-read for you to fetch changes up to 74fe7b551f3385fa585d92616c85b3a575b2b2cb: regmap: Add regmap_noinc_read API (2018-08-09 11:00:15 +0100) ---------------------------------------------------------------- regmap: Support non-incrementing registers Some devices have individual registers that don't autoincrement the register address during bulk reads but instead repeatedly read the same value, for example for monitoring GPIOs or ADCs. Add support for these. ---------------------------------------------------------------- Crestez Dan Leonard (1): regmap: Add regmap_noinc_read API drivers/base/regmap/internal.h | 3 ++ drivers/base/regmap/regmap.c | 79 +++++++++++++++++++++++++++++++++++++++++- include/linux/regmap.h | 19 ++++++++++ 3 files changed, 100 insertions(+), 1 deletion(-)
Attachment:
signature.asc
Description: PGP signature