linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Jonathan Cameron <jic23@cam.ac.uk>
Cc: linux-kernel@vger.kernel.org, Michael.Hennerich@analog.com,
	linux-iio@vger.kernel.org
Subject: Re: [PATCH 1/2] regmap: Support half writes and padding between register and value.
Date: Fri, 9 Sep 2011 09:30:57 -0700	[thread overview]
Message-ID: <20110909163057.GA4070@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <4E6A3F09.5000307@cam.ac.uk>

On Fri, Sep 09, 2011 at 05:30:01PM +0100, Jonathan Cameron wrote:
> On 09/09/11 17:14, Mark Brown wrote:

> > Some devices apparently use an entire byte or word with a magic flag in
> > it to distinguish reads and writes.  These end up looking like 16 bit
> > registers with only the lower 8 bits actually used in the current code.

> Ah, fair enough there is a use case.  Can we add this as an additional patch
> when needed?

Yes, of course.  Only consideration is that the current option needs to
be clearly named to avoid colliding with such an addition.

  reply	other threads:[~2011-09-09 16:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08 14:09 [RFC PATCH 0/2 V2] Using regmap with ADIS devices Jonathan Cameron
2011-09-08 14:09 ` [PATCH 1/2] regmap: Support half writes and padding between register and value Jonathan Cameron
2011-09-08 16:27   ` Mark Brown
2011-09-09  9:44     ` Jonathan Cameron
2011-09-09 16:14       ` Mark Brown
2011-09-09 16:30         ` Jonathan Cameron
2011-09-09 16:30           ` Mark Brown [this message]
2011-09-08 14:09 ` [PATCH 2/2] staging:iio:imu:adis16400 regmap introduction Jonathan Cameron
2011-09-08 16:30   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110909163057.GA4070@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=jic23@cam.ac.uk \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).