arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
Add support for SPI NAND flashes on ARM64 boards/EVMs such as:
1. W35N01JW on AM62x LP SK, AM62Ax SK, J721S2 EVM, J784S4 EVM,
J722S EVM, J742S2 EVM
2. W25N01JW on AM62Lx EVM
by enabling the MTD_SPI_NAND config as a module.
Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
---
Repo: https://github.com/santhosh21/linux/tree/uL_next
Test results: https://gist.github.com/santhosh21/71ab6646dccc238a0b3c47c0382f219a
Regards,
Santhosh.
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index dfa5c8d5b658..69e0c458c763 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -283,6 +283,7 @@ CONFIG_MTD_NAND_BRCMNAND=m
CONFIG_MTD_NAND_FSL_IFC=y
CONFIG_MTD_NAND_QCOM=y
CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_SPI_NAND=m
CONFIG_MTD_UBI=m
CONFIG_MTD_HYPERBUS=m
CONFIG_HBMC_AM654=m
--
2.34.1
On 02/01/2025 13:00, Santhosh Kumar K wrote: > Add support for SPI NAND flashes on ARM64 boards/EVMs such as: > > 1. W35N01JW on AM62x LP SK, AM62Ax SK, J721S2 EVM, J784S4 EVM, > J722S EVM, J742S2 EVM > 2. W25N01JW on AM62Lx EVM > Please use recognizable names. git grep -i on some of above gave me zero results, so no models, no compatibles, no makefile entries use above names. Also really not sure where to look for - which vendor. This is defconfig for all users of arm64, not your private one. Best regards, Krzysztof
Hi, Krzysztof,
On 02/01/25 21:35, Krzysztof Kozlowski wrote:
> On 02/01/2025 13:00, Santhosh Kumar K wrote:
>> Add support for SPI NAND flashes on ARM64 boards/EVMs such as:
>>
>> 1. W35N01JW on AM62x LP SK, AM62Ax SK, J721S2 EVM, J784S4 EVM,
>> J722S EVM, J742S2 EVM
>> 2. W25N01JW on AM62Lx EVM
>>
> Please use recognizable names. git grep -i on some of above gave me zero
> results, so no models, no compatibles, no makefile entries use above
> names. Also really not sure where to look for - which vendor. This is
> defconfig for all users of arm64, not your private one.\
'git grep -i' on most of the above names results it's entry either from
arch/arm64/boot/dts/ti/k3-*.dts or from drivers/mtd/nand/spi/winbond.c
except for W35N01JW and AM62Lx EVM as the series which adds support for
W35N01JW [1] and AM62Lx EVM [2] are yet to be merged.
Some 'git grep -i' results for your reference:
$ git grep -i "AM62x LP SK"
arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts:14: model = "Texas
Instruments AM62x LP SK";
$ git grep -i "J784S4 EVM"
arch/arm64/boot/dts/ti/k3-j784s4-evm.dts:17: model = "Texas
Instruments J784S4 EVM";
$ git grep -i W25N01JW
drivers/mtd/nand/spi/winbond.c:254: SPINAND_INFO("W25N01JW", /*
high-speed 1.8V */
Nit: 'AM62Ax SK' should be 'AM62A7 SK'. I'll edit it in v2.
[1]
https://lore.kernel.org/linux-mtd/20250102115110.1402440-1-s-k6@ti.com/T/#mfbbfc8852e70a077d2adbba0a4fddeed7b4237f1
[2]
https://lore.kernel.org/linux-arm-kernel/20241117-am62lx-v1-0-4e71e42d781d@ti.com/
Thanks and Regards,
Santhosh.
>
> Best regards,
> Krzysztof
© 2016 - 2026 Red Hat, Inc.