public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* GPMC omap nand using CS1
@ 2021-12-13 10:18 Romain Naour
  2021-12-13 17:50 ` Miquel Raynal
  0 siblings, 1 reply; 4+ messages in thread
From: Romain Naour @ 2021-12-13 10:18 UTC (permalink / raw)
  To: linux-mtd

Hello,

I'm using an AM3505 cpu with two nand device, nand0 use CS0 and nand1 use CS1.

The nand0 is ok but nand1 is not detected.
I get "nand: No NAND device found"

Regarding the devicetree for nand1, I did something similar to omap3430-sdp.dts
where the nand is on CS1.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/omap3430-sdp.dts?h=v5.15.6#n102

I'm not sure this dts actually works since in nand_base.c nand_detect() call
nand_reset(chip, 0) with cs = 0.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/mtd/nand/raw/nand_base.c?h=v5.15.6#n4945

It seems it was possible to use two nand on gpmc (kernel 3.16):

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/343017/am335x-gpmc-with-two-nand-flash-in-device-tree

Best regards,
Romain

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-14  8:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-13 10:18 GPMC omap nand using CS1 Romain Naour
2021-12-13 17:50 ` Miquel Raynal
2021-12-13 18:53   ` Romain Naour
2021-12-14  8:53     ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox