[PATCH v2 5/7] i2c: npcm: Modify the client address assignment

Andy Shevchenko andriy.shevchenko at linux.intel.com
Mon Sep 2 21:54:31 AEST 2024


On Mon, Sep 02, 2024 at 09:40:09AM +0800, Tyrone Ting wrote:
> Andy Shevchenko <andriy.shevchenko at linux.intel.com> 於 2024年8月31日 週六 上午3:16寫道:
> > On Fri, Aug 30, 2024 at 11:46:38AM +0800, Tyrone Ting wrote:
> > > Store the client address earlier since it's used in the i2c_recover_bus
> > > logic flow.
> >
> > Here no explanation why it's now left-shifted by one bit.
> 
> The address is stored from bit 1 to bit 7 in the register for sending
> the i2c address later.

Yes, but previously it was stored w/o that shift.

> I'll write some comments about the left-shifted by one bit behavior
> above this modification in next patch set.

-- 
With Best Regards,
Andy Shevchenko




More information about the openbmc mailing list