Re: [RFC PATCH] i2c: Support Smbus 3.0 block sizes up to 255 bytes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Jul 28, 2020, at 4:40 AM, Daniel Stodden <daniel.stodden@xxxxxxxxx> wrote:
> 
> “3” ;)

Sorry, I got confused. You’re suggesting to label the old calls “2” and
the new ones take the original name.

That’s fine! But we need to figure out what we really require, and which
protocol to prefer.

 * If the new block size can be too large for small clients with Smbus < 3
   slaves, we’re not going to deprecate those.

   But phasing out 32 byte transfers for good would make a simpler header.

 * If some clients need the old calls and make a new i2c_smbusX_data,
   then those aren’t /* deprecated */ any more.

   With the above scheme, we're making i2c_smbus_data size 255 and
   and rename the old type to smbus2.

Btw: I think I was confused because would have called those i2c_smbus1_ then.

Best,
Daniel



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux