[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251125021051.857159-1-mikhail.kshevetskiy@iopsys.eu>
Date: Tue, 25 Nov 2025 05:10:48 +0300
From: Mikhail Kshevetskiy <mikhail.kshevetskiy@...sys.eu>
To: Lorenzo Bianconi <lorenzo@...nel.org>,
Ray Liu <ray.liu@...oha.com>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Andy Shevchenko <andy@...nel.org>,
linux-arm-kernel@...ts.infradead.org,
linux-spi@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org
Cc: Mikhail Kshevetskiy <mikhail.kshevetskiy@...sys.eu>,
Andreas Gnau <andreas.gnau@...sys.eu>
Subject: [PATCH v4 0/3] spi: airoha: add support of en7523 SoC (for 6.19)
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
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 | 34 ++++++++++++++++---
3 files changed, 56 insertions(+), 5 deletions(-)
--
2.51.0
Powered by blists - more mailing lists