[PATCH v4 0/2] i2c: pxa: fix I2C communication on Armada 3700

Gabor Juhos posted 2 patches 1 month ago
drivers/i2c/busses/i2c-pxa.c | 35 ++++++++++++++++++++++++++++-------
1 file changed, 28 insertions(+), 7 deletions(-)
[PATCH v4 0/2] i2c: pxa: fix I2C communication on Armada 3700
Posted by Gabor Juhos 1 month ago
There is a long standing bug which causes I2C communication not to
work on the Armada 3700 based boards. The first patch in the series
fixes that regression. The second patch improves recovery to make it
more robust which helps to avoid communication problems with certain
SFP modules.

Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
---
Changes in v4:
  - rebase on tip of i2c/i2c-host-fixes
  - collect Tested-by tags
  - Link to v3: https://lore.kernel.org/r/20250827-i2c-pxa-fix-i2c-communication-v3-0-052c9b1966a2@gmail.com

Changes in v3:
  - rebase on tip of i2c/for-current
  - remove Imre's tag from the cover letter, and replace his SoB tag to
    Reviewed-by in the individual patches
  - rework the second patch so it does not need changes in the I2C core code,
    and drop the first one as it is not needed now
  - Link to v2: https://lore.kernel.org/r/20250811-i2c-pxa-fix-i2c-communication-v2-0-ca42ea818dc9@gmail.com

Changes in v2:
  - collect offered tags
  - rebase and retest on tip of i2c/for-current
  - Link to v1: https://lore.kernel.org/r/20250511-i2c-pxa-fix-i2c-communication-v1-0-e9097d09a015@gmail.com

---
Gabor Juhos (2):
      i2c: pxa: defer reset on Armada 3700 when recovery is used
      i2c: pxa: handle 'Early Bus Busy' condition on Armada 3700

 drivers/i2c/busses/i2c-pxa.c | 35 ++++++++++++++++++++++++++++-------
 1 file changed, 28 insertions(+), 7 deletions(-)
---
base-commit: b4b4d88ebfbfd3aadb4c9a0f2bfe1abdbaf5822c
change-id: 20250510-i2c-pxa-fix-i2c-communication-3e6de1e3d0c6

Best regards,
-- 
Gabor Juhos <j4g8y7@gmail.com>
Re: [PATCH v4 0/2] i2c: pxa: fix I2C communication on Armada 3700
Posted by Andi Shyti 2 weeks, 1 day ago
Hi Gabor,

> Gabor Juhos (2):
>       i2c: pxa: defer reset on Armada 3700 when recovery is used

I merged this in i2c/i2c-host-fixes.

>       i2c: pxa: handle 'Early Bus Busy' condition on Armada 3700

This one can't really be considered as a fix and I removed the
"Cc: stable" tag from the commit log.

As of now I merged it in my i2c/i2c-host-next, which is my
testing branch. Once the fix will be taken, I will move it to the
i2c/i2c-host for the next merge window.

Thanks,
Andi
Re: [PATCH v4 0/2] i2c: pxa: fix I2C communication on Armada 3700
Posted by Linus Walleij 1 month ago
On Thu, Feb 26, 2026 at 2:11 PM Gabor Juhos <j4g8y7@gmail.com> wrote:

> There is a long standing bug which causes I2C communication not to
> work on the Armada 3700 based boards. The first patch in the series
> fixes that regression. The second patch improves recovery to make it
> more robust which helps to avoid communication problems with certain
> SFP modules.
>
> Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>

OMG what a trainwreck this is, thanks a lot for digging into this and
fixing it Gabor!
Reviewed-by: Linus Walleij <linusw@kernel.org>

Yours,
Linus Walleij