u-boot-brain/drivers/mtd/nand/raw
Masahiro Yamada 8ccfbfb3e1 mtd: rawnand: denali: optimize timing parameters for data interface
Based on Linux commit 1dfac31a5a63ac04a9b5fbc3f5105a586560f191

This commit improves the ->setup_data_interface() hook.

The denali_setup_data_interface() needs the frequency of clk_x
and the ratio of clk_x / clk.

The latter is currently hardcoded in the driver, like this:

  #define DENALI_CLK_X_MULT       6

The IP datasheet requires that clk_x / clk be 4, 5, or 6.  I just
chose 6 because it is the most defensive value, but it is not optimal.
By getting the clock rate of both "clk" and "clk_x", the driver can
compute the timing values more precisely.

To not break the existing platforms, the fallback value, 50 MHz is
provided.  It is true for all upstreamed platforms.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-12-29 11:38:37 +09:00
..
am335x_spl_bch.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
arasan_nfc.c mtd: nand: Arasan: Add subpage configuration support 2018-11-26 10:50:54 +01:00
atmel_nand_ecc.h mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
atmel_nand.c nand: atmel: Initialize pmecc smu with correct size 2018-10-22 09:18:49 -04:00
davinci_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
denali_dt.c mtd: rawnand: denali: optimize timing parameters for data interface 2018-12-29 11:38:37 +09:00
denali_spl.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
denali.c mtd: rawnand: denali: optimize timing parameters for data interface 2018-12-29 11:38:37 +09:00
denali.h mtd: rawnand: denali: optimize timing parameters for data interface 2018-12-29 11:38:37 +09:00
fsl_elbc_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
fsl_elbc_spl.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
fsl_ifc_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
fsl_ifc_spl.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
fsl_upm.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
fsmc_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
kb9202_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
Kconfig mtd: rename nand into rawnand in Kconfig prompt 2018-09-20 20:10:49 +05:30
kirkwood_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
kmeter1_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
lpc32xx_nand_mlc.c mtd: nand: lpc32xx mlc: predefine number of NAND chips to support 2018-11-16 13:34:36 -05:00
lpc32xx_nand_slc.c mtd: nand: lpc32xx slc: disable DMA support in SPL builds 2018-11-16 13:34:37 -05:00
Makefile mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
mxc_nand_spl.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
mxc_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
mxc_nand.h mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
mxs_nand_dt.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
mxs_nand_spl.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
mxs_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
mxs_nand.h mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_base.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_bbt.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_bch.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_ecc.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_ids.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_plat.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_spl_load.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_spl_loaders.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_spl_simple.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_timings.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_util.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
omap_elm.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
omap_gpmc.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
pxa3xx_nand.c mtd: rawnand: pxa3xx: fix 2kiB pages with 8b strength chips layout 2018-11-22 11:38:13 +05:30
pxa3xx_nand.h mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
sunxi_nand_spl.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
sunxi_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
tegra_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
tegra_nand.h mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
vf610_nfc.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
zynq_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30