linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: christopher tyerman <linuxkernel@fbautosys.co.uk>,
	Lee Jones <lee.jones@linaro.org>, Pavel Machek <pavel@ucw.cz>,
	linux-spi <linux-spi@vger.kernel.org>
Subject: Re: Remap, SPI and parity bit
Date: Mon, 15 Nov 2021 18:36:38 +0000	[thread overview]
Message-ID: <YZKotsvqQJDUSglx@sirena.org.uk> (raw)
In-Reply-To: <CAHp75VeAJ5QBcWmXwcVs8A_nzy9DRQ-eGjK1iuN2F1k1mXiv8g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

On Mon, Nov 15, 2021 at 05:14:52PM +0200, Andy Shevchenko wrote:
> On Sun, Nov 14, 2021 at 8:41 PM christopher tyerman
> 
> > I'm trying to use regmaps where possible and I can define a regmap, e.g.

...

> > however so far i cannot currently see how to automatically calculate it
> > without replacing large chunks of code

This seems like a sign that you should be extending the core so that it
supports having a parity bit, it looks like there's at least some other
parts with this functionality. The pattern seems to be a bit that that
it's a bit at some specified offset which is the parity of all other
non-pad bits in the write.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      reply	other threads:[~2021-11-16  1:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-14 18:41 Remap, SPI and parity bit christopher tyerman
2021-11-15 15:14 ` Andy Shevchenko
2021-11-15 18:36   ` Mark Brown [this message]

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=YZKotsvqQJDUSglx@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=andy.shevchenko@gmail.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=linuxkernel@fbautosys.co.uk \
    --cc=pavel@ucw.cz \
    /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).