Home
last modified time | relevance | path

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

/Linux-v4.19/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 …]
DMakefile9 obj-$(CONFIG_SPI_NXP_SPIFI) += nxp-spifi.o
/Linux-v4.19/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-v4.19/arch/arm/boot/dts/
Dlpc4350-hitex-eval.dts298 spifi_pins: spifi-pins {
301 function = "spifi";
310 function = "spifi";
319 function = "spifi";
451 &spifi {
Dlpc4357-ea4357-devkit.dts381 spifi_pins: spifi-pins {
384 function = "spifi";
393 function = "spifi";
402 function = "spifi";
582 &spifi {
Dlpc18xx.dtsi103 spifi: flash-controller@40003000 { label
104 compatible = "nxp,lpc1773-spifi";
106 reg-names = "spifi", "flash";
109 clock-names = "spifi", "reg";
/Linux-v4.19/
DMAINTAINERS1609 F: drivers/mtd/spi-nor/nxp-spifi.c