From: Wolfram Sang <wsa@the-dreams.de>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linux-i2c <linux-i2c@vger.kernel.org>
Subject: Re: PMBus and SMBUS_BLOCK with "extended" lenght
Date: Fri, 31 Mar 2017 18:33:36 +0200 [thread overview]
Message-ID: <20170331163336.4sy4br3i2o5etcoe@ninjato> (raw)
In-Reply-To: <1490948247.3177.233.camel@kernel.crashing.org>
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
Hi,
> Did anybody give thoughts to how we could support "smbus" block
> transfers with a size up to 0xff ? This is an extension of smbus
> that part of the PMbus protocol spec.
For completeness, SMBus Spec V3 (released 2015) increased the allowed
transfer size to 255 as well.
>
> Our current code has a lot of places where I2C_SMBUS_BLOCK_MAX is
> hard wired. Including down in almost all drivers.
>
> So it would have to be an evolutionary process.
>
> I was thinking a message flag along with a functionality bit
> maybe ?
I have never really scratched my head about this issue yet and don't
know of any on-going activity. It is notable, though, that we export
I2C_SMBUS_BLOCK_MAX to userspace, too.
Regards,
Wolfram
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-03-31 16:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-31 8:17 PMBus and SMBUS_BLOCK with "extended" lenght Benjamin Herrenschmidt
2017-03-31 16:33 ` Wolfram Sang [this message]
2017-04-19 5:40 ` Benjamin Herrenschmidt
2017-04-19 6:54 ` Wolfram Sang
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=20170331163336.4sy4br3i2o5etcoe@ninjato \
--to=wsa@the-dreams.de \
--cc=benh@kernel.crashing.org \
--cc=linux-i2c@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