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()
202 dev_err(this->dev, "Show GPMI registers :\n"); in gpmi_dump_info()
572 * <1> Firstly, we should know what's the GPMI-clock means.
573 * The GPMI-clock is the internal clock in the gpmi nand controller.
574 * If you set 100MHz to gpmi nand controller, the GPMI-clock's period
575 * is 10ns. Mark the GPMI-clock's period as GPMI-clock-period.
578 * The frequency on the nand chip pins is derived from the GPMI-clock.
584 * G : the GPMI clock, such as 100MHz.
590 * The GPMI implements a feedback read strobe to sample the read data.
624 * tRP = (GPMI-clock-period) * DATA_SETUP
626 * 4.2) From the aspect of the GPMI nand controller:
630 * if (GPMI-clock-period > DLL_THRETHOLD)
631 * RP = GPMI-clock-period / 2;
633 * RP = GPMI-clock-period;
635 * Set the HW_GPMI_CTRL1:HALF_PERIOD if GPMI-clock-period
756 /* Wait 64 clock cycles before using the GPMI after enabling the DLL */ in gpmi_nfc_apply_timings()
778 /* Only MX6 GPMI controller can reach EDO timings */ in gpmi_setup_interface()
1579 * The tricky part in the GPMI/BCH controller is that it stores ECC bits
1586 * of the layout used by the GPMI controller.
1664 * The tricky part in the GPMI/BCH controller is that it stores ECC bits
1671 * of the layout used by the GPMI controller.
1698 * beginning of the page, as imposed by the GPMI layout. in gpmi_ecc_write_page_raw()
2448 mtd->name = "gpmi-nand"; in gpmi_nand_init()
2500 .compatible = "fsl,imx23-gpmi-nand",
2503 .compatible = "fsl,imx28-gpmi-nand",
2506 .compatible = "fsl,imx6q-gpmi-nand",
2509 .compatible = "fsl,imx6sx-gpmi-nand",
2512 .compatible = "fsl,imx7d-gpmi-nand",
2613 /* re-init the GPMI registers */ in gpmi_pm_resume()
2616 dev_err(this->dev, "Error setting GPMI : %d\n", ret); in gpmi_pm_resume()
2656 .name = "gpmi-nand",
2666 MODULE_DESCRIPTION("i.MX GPMI NAND Flash Controller Driver");