Lines Matching full:gpmi
3 * Freescale GPMI NAND Flash Driver
19 #include "gpmi-nand.h"
20 #include "gpmi-regs.h"
23 /* Resource names for the GPMI NAND driver. */
24 #define GPMI_NAND_GPMI_REGS_ADDR_RES_NAME "gpmi-nand"
46 * SFTRST needs 3 GPMI clocks to settle, the reference manual in clear_poll_bit()
200 dev_err(this->dev, "Show GPMI registers :\n"); in gpmi_dump_info()
570 * <1> Firstly, we should know what's the GPMI-clock means.
571 * The GPMI-clock is the internal clock in the gpmi nand controller.
572 * If you set 100MHz to gpmi nand controller, the GPMI-clock's period
573 * is 10ns. Mark the GPMI-clock's period as GPMI-clock-period.
576 * The frequency on the nand chip pins is derived from the GPMI-clock.
582 * G : the GPMI clock, such as 100MHz.
588 * The GPMI implements a feedback read strobe to sample the read data.
622 * tRP = (GPMI-clock-period) * DATA_SETUP
624 * 4.2) From the aspect of the GPMI nand controller:
628 * if (GPMI-clock-period > DLL_THRETHOLD)
629 * RP = GPMI-clock-period / 2;
631 * RP = GPMI-clock-period;
633 * Set the HW_GPMI_CTRL1:HALF_PERIOD if GPMI-clock-period
731 /* Wait 64 clock cycles before using the GPMI after enabling the DLL */ in gpmi_nfc_apply_timings()
751 /* Only MX6 GPMI controller can reach EDO timings */ in gpmi_setup_interface()
1035 * Set the default value for the gpmi clock. in gpmi_get_clks()
1561 * The tricky part in the GPMI/BCH controller is that it stores ECC bits
1568 * of the layout used by the GPMI controller.
1646 * The tricky part in the GPMI/BCH controller is that it stores ECC bits
1653 * of the layout used by the GPMI controller.
1680 * beginning of the page, as imposed by the GPMI layout. in gpmi_ecc_write_page_raw()
2413 mtd->name = "gpmi-nand"; in gpmi_nand_init()
2465 .compatible = "fsl,imx23-gpmi-nand",
2468 .compatible = "fsl,imx28-gpmi-nand",
2471 .compatible = "fsl,imx6q-gpmi-nand",
2474 .compatible = "fsl,imx6sx-gpmi-nand",
2477 .compatible = "fsl,imx7d-gpmi-nand",
2578 /* re-init the GPMI registers */ in gpmi_pm_resume()
2581 dev_err(this->dev, "Error setting GPMI : %d\n", ret); in gpmi_pm_resume()
2621 .name = "gpmi-nand",
2631 MODULE_DESCRIPTION("i.MX GPMI NAND Flash Controller Driver");