[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180809101453.GD6132@sirena.org.uk>
Date: Thu, 9 Aug 2018 11:14:53 +0100
From: Mark Brown <broonie@...nel.org>
To: Stefan Popa <stefan.popa@...log.com>
Cc: jic23@...nel.org, lars@...afoo.de, Michael.Hennerich@...log.com,
knaack.h@....de, pmeerw@...erw.net, mark.rutland@....com,
davem@...emloft.net, mchehab+samsung@...nel.org,
gregkh@...uxfoundation.org, akpm@...ux-foundation.org,
robh+dt@...nel.org, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Crestez Dan Leonard <leonard.crestez@...el.com>
Subject: Re: [PATCH v5 3/6] regmap: Add regmap_noinc_read API
On Tue, Aug 07, 2018 at 05:52:17PM +0300, Stefan Popa wrote:
> From: Crestez Dan Leonard <leonard.crestez@...el.com>
>
> 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(-)
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists