2024-01-25 20:02:17

by Ezra Buehler

[permalink] [raw]
Subject: [PATCH 0/2] mtd: spinand: Resolve GigaDevice/ESMT ID clash

From: Ezra Buehler <[email protected]>

Since commit aa08bf187f32 ("mtd: spinand: esmt: add support for
F50D2G41KA") the MT7688-based GARDENA smart Gateway no longer boots.
This is due to an ID clash resulting in the ESMT driver being used
together with our GigaDevice GD5F1GQ5UEYIG.

The following patches resolve the issue for our board. However, I do not
have any ESMT NAND flash chips to further test my changes with.

Ezra Buehler (2):
mtd: spinand: Add support for 5-byte IDs
mtd: spinand: esmt: Extend IDs to 5 bytes

drivers/mtd/nand/spi/esmt.c | 9 ++++++---
include/linux/mtd/spinand.h | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)

--
2.43.0



2024-01-26 11:09:37

by Dmitry Rokosov

[permalink] [raw]
Subject: Re: [PATCH 0/2] mtd: spinand: Resolve GigaDevice/ESMT ID clash

Hello Ezra!

Thank you for the patch series!

We will test it on the our side with ESMT flash and back to you soon.

On Thu, Jan 25, 2024 at 10:01:06PM +0200, Ezra Buehler wrote:
> From: Ezra Buehler <[email protected]>
>
> Since commit aa08bf187f32 ("mtd: spinand: esmt: add support for
> F50D2G41KA") the MT7688-based GARDENA smart Gateway no longer boots.
> This is due to an ID clash resulting in the ESMT driver being used
> together with our GigaDevice GD5F1GQ5UEYIG.
>
> The following patches resolve the issue for our board. However, I do not
> have any ESMT NAND flash chips to further test my changes with.
>
> Ezra Buehler (2):
> mtd: spinand: Add support for 5-byte IDs
> mtd: spinand: esmt: Extend IDs to 5 bytes
>
> drivers/mtd/nand/spi/esmt.c | 9 ++++++---
> include/linux/mtd/spinand.h | 2 +-
> 2 files changed, 7 insertions(+), 4 deletions(-)
>

--
Thank you,
Dmitry