mbox series

[0/2] mtd: spinand: Resolve GigaDevice/ESMT ID clash

Message ID 20240125200108.24374-1-ezra@easyb.ch
Headers show
Series mtd: spinand: Resolve GigaDevice/ESMT ID clash | expand

Message

Ezra Buehler Jan. 25, 2024, 8:01 p.m. UTC
From: Ezra Buehler <ezra.buehler@husqvarnagroup.com>

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(-)

Comments

Dmitry Rokosov Jan. 26, 2024, 11:09 a.m. UTC | #1
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 <ezra.buehler@husqvarnagroup.com>
> 
> 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(-)
>