Home
last modified time | relevance | path

Searched refs:spifi (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/drivers/mtd/spi-nor/
Dnxp-spifi.c68 static int nxp_spifi_wait_for_cmd(struct nxp_spifi *spifi) in nxp_spifi_wait_for_cmd() argument
73 ret = readb_poll_timeout(spifi->io_base + SPIFI_STAT, stat, in nxp_spifi_wait_for_cmd()
76 dev_warn(spifi->dev, "command timed out\n"); in nxp_spifi_wait_for_cmd()
81 static int nxp_spifi_reset(struct nxp_spifi *spifi) in nxp_spifi_reset() argument
86 writel(SPIFI_STAT_RESET, spifi->io_base + SPIFI_STAT); in nxp_spifi_reset()
87 ret = readb_poll_timeout(spifi->io_base + SPIFI_STAT, stat, in nxp_spifi_reset()
90 dev_warn(spifi->dev, "state reset timed out\n"); in nxp_spifi_reset()
95 static int nxp_spifi_set_memory_mode_off(struct nxp_spifi *spifi) in nxp_spifi_set_memory_mode_off() argument
99 if (!spifi->memory_mode) in nxp_spifi_set_memory_mode_off()
102 ret = nxp_spifi_reset(spifi); in nxp_spifi_set_memory_mode_off()
[all …]
DMakefile3 obj-$(CONFIG_SPI_NXP_SPIFI) += nxp-spifi.o
/linux-4.4.14/Documentation/devicetree/bindings/mtd/
Dnxp-spifi.txt10 - compatible : Should be "nxp,lpc1773-spifi"
13 - reg-names: Should contain the reg names "spifi" and "flash"
16 - clock-names : Should contain the clock names "spifi" and "reg"
35 spifi: spifi@40003000 {
36 compatible = "nxp,lpc1773-spifi";
38 reg-names = "spifi", "flash";
41 clock-names = "spifi", "reg";
/linux-4.4.14/arch/arm/boot/dts/
Dlpc4350-hitex-eval.dts282 spifi_pins: spifi-pins {
285 function = "spifi";
294 function = "spifi";
303 function = "spifi";
428 &spifi {
Dlpc4357-ea4357-devkit.dts374 spifi_pins: spifi-pins {
377 function = "spifi";
386 function = "spifi";
395 function = "spifi";
560 &spifi {
Dlpc18xx.dtsi100 spifi: flash-controller@40003000 { label
101 compatible = "nxp,lpc1773-spifi";
103 reg-names = "spifi", "flash";
106 clock-names = "spifi", "reg";
/linux-4.4.14/
DMAINTAINERS1246 F: drivers/mtd/spi-nor/nxp-spifi.c