[PATCH 02/13] mtd: nand: fsmc: rework fsmc_nand_setup() to use ->setup_data_interface()
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Mar 22 15:05:53 PDT 2017
Hello,
On Wed, 22 Mar 2017 22:56:17 +0100, Boris Brezillon wrote:
> I'm not sure this is such a good idea to move default and DT timings
> setting in the ->setup_data_interface() hook.
>
> ONFI NANDs are changing an internal parameter to switch to a specific
> timing mode. If you let the core think that you configured the
> controller to support this timing mode, while you actually configured
> it with the default or DT timings it might not work as expected.
So what do you suggest to keep the compatibility with the existing DT
binding for this NAND controller?
We also need to take into account that the timings need to be
reconfigured upon ->resume().
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the linux-mtd
mailing list