From: Mark Brown <broonie@kernel.org>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Jim Wylder <jwylder@google.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
kernel-team@android.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] regmap-i2c: Subtract reg size from max_write
Date: Tue, 4 Jun 2024 12:50:11 +0100 [thread overview]
Message-ID: <fba0b9ec-744b-4b8f-acdb-becb7d14ee93@sirena.org.uk> (raw)
In-Reply-To: <CAHp75Vfgu0eXXJ_FTgMC-VUzTRSo7zoA4C9j3WsevPzhajpDSA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 539 bytes --]
On Tue, Jun 04, 2024 at 12:15:33PM +0300, Andy Shevchenko wrote:
> The only difference AFAICS is the case 2.
> Do we need to patch regmap SPI for that?
> I think SPI just works since we don't really have devices that use
> less than 8 bits per register, and hence we never enter into such a
It's not a practical issue as far as I'm aware, I don't think anyone
actually uses weird padding like that but in principal I think so.
> case (while I2C is naturally using 7-bit addresses).
Realistically not, the 8th bit is a read/write bit.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2024-06-04 11:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-23 21:14 Jim Wylder
2024-05-24 4:18 ` Greg Kroah-Hartman
2024-05-29 11:08 ` Mark Brown
2024-06-02 7:29 ` Andy Shevchenko
2024-06-03 12:08 ` Mark Brown
2024-06-04 9:15 ` Andy Shevchenko
2024-06-04 11:50 ` 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=fba0b9ec-744b-4b8f-acdb-becb7d14ee93@sirena.org.uk \
--to=broonie@kernel.org \
--cc=andy.shevchenko@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jwylder@google.com \
--cc=kernel-team@android.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@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
all inboxes | Powered by JetHome®