Re: [PATCH 2/3] i2c: mediatek: Dump i2c/dma register when a timeout occurs

From: Tzung-Bi Shih
Date: Tue Jun 29 2021 - 00:19:28 EST


On Wed, Jun 9, 2021 at 10:44 AM Kewei Xu <kewei.xu@xxxxxxxxxxxx> wrote:
>
> On Tue, 2021-06-08 at 16:01 +0200, Matthias Brugger wrote:
> > Is this offset only for mt8192 or also for mt8183?
> > In any case that should go in as another patch. Either a fix or a new
> > mt_i2c_regs_v3[]
>
> This offset value is suitable for the IC of mt_i2c_regs_v2 hardware
> design similar to mt8192/8195, not for 8183.
>
> The reason for the modification here is that the previous
> offset information is incorrect, OFFSET_DEBUGSTAT = 0XE4 is
> the correct value.

Please submit another patch for fixing the incorrect value.