[PATCH v5 0/3] spi: airoha: add support of en7523 SoC (for 6.19)

Mikhail Kshevetskiy posted 3 patches 6 days, 4 hours ago
There is a newer version of this series
.../bindings/spi/airoha,en7581-snand.yaml     |  7 ++++-
arch/arm/boot/dts/airoha/en7523.dtsi          | 20 ++++++++++++++
drivers/spi/spi-airoha-snfi.c                 | 26 ++++++++++++++++++-
3 files changed, 51 insertions(+), 2 deletions(-)
[PATCH v5 0/3] spi: airoha: add support of en7523 SoC (for 6.19)
Posted by Mikhail Kshevetskiy 6 days, 4 hours ago
Airoha EN7523 snfi controller almost identical to AN7581 one, so the same
driver can be used. The only known difference appears in the very specific
boot conditions, when attached serial console force EN7523 SoC boots
in undocumented (reserved) mode. In this mode dma reading of the flash
works incorrectly.

This patch series:
 * add support of EN7523 SoC
 * add spinand node to en7523 dts (so spinand flash finally becomes usable)
 * updates dt-bindings to mark driver as compatible with en7523
 * disable dma usage to prevent possible data damage if booting in
   reserved mode was detected.

This patch series was a part of a bigger series:

  https://lore.kernel.org/lkml/20251012121707.2296160-1-mikhail.kshevetskiy@iopsys.eu/

All patches of the bigger series (except these patches) was already accepted
to linux-next.

Changes v2:
 * small improvement proposed by Lorenzo Bianconi

Changes v3:
 * split multi-line print on a series of single line prints as suggested by
   Mark Brown

Changes v4:
 * improve description of Airoha en7523 SoC specific issue that may
   lead to flash data damaging.
 * add fixes tag

Changes v5:
 * replace 'boot pin' with 'bootstrap pin'
 * do not use caps in some cases
 * always set dma mask (even if dma will not be used et all)

Mikhail Kshevetskiy (3):
  spi: airoha-snfi: en7523: workaround flash damaging if UART_TXD was
    short to GND
  dt-bindings: spi: airoha: add compatible for EN7523
  arm: dts: airoha: en7523: add SNAND node

 .../bindings/spi/airoha,en7581-snand.yaml     |  7 ++++-
 arch/arm/boot/dts/airoha/en7523.dtsi          | 20 ++++++++++++++
 drivers/spi/spi-airoha-snfi.c                 | 26 ++++++++++++++++++-
 3 files changed, 51 insertions(+), 2 deletions(-)

-- 
2.51.0