All of lore.kernel.org
 help / color / mirror / Atom feed
* VF610 NAND driver on MPC5125
@ 2017-10-20 12:00 Rodolfo Giometti
  0 siblings, 0 replies; only message in thread
From: Rodolfo Giometti @ 2017-10-20 12:00 UTC (permalink / raw)
  To: Stefan Agner; +Cc: linux-mtd

Hello,

I'm trying to use this driver on a custom board based on MPC5125 equipped with a 
NAND chip TH58NVG5S0FTAK (which should be compatible with MT29F16G08AJADAWP).

Below is my DTS section NFC related:

         nfc@40000000 {
                 compatible = "fsl,vf610-nfc";
                 #address-cells = <0x1>;
                 #size-cells = <0x0>;
                 reg = <0x40000000 0x100000>;
                 interrupts = <0x6 0x8>;
                 interrupt-parent = <0x1>;
                 bank-width = <0x1>;
                 write-size = <4096>; // Page size
                 spare-size = <128>;  // OOB size
                 chips = <0x1>;
                 clocks = <&clks MPC512x_CLK_NFC>;
                 clock-names = "ipg";

                 nand@0 {
                         compatible = "fsl,vf610-nfc-nandcs";
                         reg = <0>;
                         nand-bus-width = <8>;
                         nand-ecc-mode = "hw";
                         nand-ecc-strength = <32>;
                         nand-ecc-step-size = <2048>;
                         nand-on-flash-bbt;
                 };
         };

Just enabling the driver as is I get the following:

[    0.886396] vf610_nfc 40000000.nfc: Timeout while waiting for BUSY.
[    0.998378] vf610_nfc 40000000.nfc: Timeout while waiting for BUSY.
[    1.110378] vf610_nfc 40000000.nfc: Timeout while waiting for BUSY.
[    1.222378] vf610_nfc 40000000.nfc: Timeout while waiting for BUSY.
[    1.334381] vf610_nfc 40000000.nfc: Timeout while waiting for BUSY.
[    1.340590] nand: No NAND device found

Any advice regarding why I get these timeout messages?

Thanks in advance,

Rodolfo

-- 

HCE Engineering                      e-mail: giometti@hce-engineering.it
GNU/Linux Solutions                          giometti@enneenne.com
Linux Device Driver                          giometti@linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti
Cosino Project - the quick prototyping embedded system - www.cosino.it
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-20 12:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-20 12:00 VF610 NAND driver on MPC5125 Rodolfo Giometti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.