| /linux/drivers/mtd/spi-nor/ |
| H A D | Makefile | 3 spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o 4 spi-nor-objs += atmel.o 5 spi-nor-objs += eon.o 6 spi-nor-objs += esmt.o 7 spi-nor-objs += everspin.o 8 spi-nor-objs += gigadevice.o 9 spi-nor-objs += intel.o 10 spi-nor-objs += issi.o 11 spi-nor-objs += macronix.o 12 spi-nor-objs += micron-st.o [all …]
|
| H A D | sfdp.c | 8 #include <linux/mtd/spi-nor.h> 144 * @nor: pointer to a 'struct spi_nor' 151 static int spi_nor_read_raw(struct spi_nor *nor, u32 addr, size_t len, u8 *buf) in spi_nor_read_raw() argument 156 ret = spi_nor_read_data(nor, addr, len, buf); in spi_nor_read_raw() 171 * @nor: pointer to a 'struct spi_nor' 182 static int spi_nor_read_sfdp(struct spi_nor *nor, u32 addr, in spi_nor_read_sfdp() argument 188 read_opcode = nor->read_opcode; in spi_nor_read_sfdp() 189 addr_nbytes = nor->addr_nbytes; in spi_nor_read_sfdp() 190 read_dummy = nor->read_dummy; in spi_nor_read_sfdp() 192 nor->read_opcode = SPINOR_OP_RDSFDP; in spi_nor_read_sfdp() [all …]
|
| H A D | sysfs.c | 3 #include <linux/mtd/spi-nor.h> 15 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in manufacturer_show() local 17 return sysfs_emit(buf, "%s\n", nor->manufacturer->name); in manufacturer_show() 26 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in partname_show() local 28 return sysfs_emit(buf, "%s\n", nor->info->name); in partname_show() 37 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in jedec_id_show() local 38 const u8 *id = nor->info->id ? nor->info->id->bytes : nor->id; in jedec_id_show() 39 u8 id_len = nor->info->id ? nor->info->id->len : SPI_NOR_MAX_ID_LEN; in jedec_id_show() 58 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in sfdp_read() local 59 struct sfdp *sfdp = nor->sfdp; in sfdp_read() [all …]
|
| H A D | issi.c | 7 #include <linux/mtd/spi-nor.h> 12 is25lp256_post_bfpt_fixups(struct spi_nor *nor, in is25lp256_post_bfpt_fixups() argument 23 nor->params->addr_nbytes = 4; in is25lp256_post_bfpt_fixups() 32 static int pm25lv_nor_late_init(struct spi_nor *nor) in pm25lv_nor_late_init() argument 34 struct spi_nor_erase_map *map = &nor->params->erase_map; in pm25lv_nor_late_init() 132 static void issi_nor_default_init(struct spi_nor *nor) in issi_nor_default_init() argument 134 nor->params->quad_enable = spi_nor_sr1_bit6_quad_enable; in issi_nor_default_init()
|
| /linux/Documentation/devicetree/bindings/spi/ |
| H A D | mediatek,spi-mtk-nor.yaml | 4 $id: http://devicetree.org/schemas/spi/mediatek,spi-mtk-nor.yaml# 7 title: Serial NOR flash controller for MediaTek ARM SoCs 15 SPI NOR flash. There should be only one spi slave device following 17 for devices other than SPI NOR flash due to limited transfer 27 - mediatek,mt8173-nor 28 - mediatek,mt8186-nor 29 - mediatek,mt8192-nor 32 - mediatek,mt2701-nor 33 - mediatek,mt2712-nor 34 - mediatek,mt7622-nor [all …]
|
| H A D | cdns,xspi.yaml | 16 read/write access to slaves such as SPI-NOR flash. 21 - cdns,xspi-nor 22 - marvell,cn10-xspi-nor 55 - marvell,cn10-xspi-nor 81 compatible = "cdns,xspi-nor"; 90 compatible = "jedec,spi-nor"; 96 compatible = "jedec,spi-nor";
|
| H A D | spi-sg2044-nor.yaml | 4 $id: http://devicetree.org/schemas/spi/spi-sg2044-nor.yaml# 7 title: SG2044 SPI NOR controller 18 - sophgo,sg2042-spifmc-nor 19 - sophgo,sg2044-spifmc-nor 47 compatible = "sophgo,sg2044-spifmc-nor";
|
| /linux/drivers/mtd/spi-nor/controllers/ |
| H A D | nxp-spifi.c | 3 * SPI NOR driver for NXP SPI Flash Interface (SPIFI) 18 #include <linux/mtd/spi-nor.h> 58 struct spi_nor nor; member 125 static int nxp_spifi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in nxp_spifi_read_reg() argument 128 struct nxp_spifi *spifi = nor->priv; in nxp_spifi_read_reg() 148 static int nxp_spifi_write_reg(struct spi_nor *nor, u8 opcode, const u8 *buf, in nxp_spifi_write_reg() argument 151 struct nxp_spifi *spifi = nor->priv; in nxp_spifi_write_reg() 172 static ssize_t nxp_spifi_read(struct spi_nor *nor, loff_t from, size_t len, in nxp_spifi_read() argument 175 struct nxp_spifi *spifi = nor->priv; in nxp_spifi_read() 187 static ssize_t nxp_spifi_write(struct spi_nor *nor, loff_t to, size_t len, in nxp_spifi_write() argument [all …]
|
| /linux/Documentation/devicetree/bindings/mtd/ |
| H A D | hisilicon,fmc-spi-nor.txt | 1 HiSilicon SPI-NOR Flash Controller 4 - compatible : Should be "hisilicon,fmc-spi-nor" and one of the following strings: 5 "hisilicon,hi3519-spi-nor" 10 - clocks : handle to spi-nor flash controller clock. 13 spi-nor-controller@10000000 { 14 compatible = "hisilicon,hi3519-spi-nor", "hisilicon,fmc-spi-nor"; 21 compatible = "jedec,spi-nor";
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-spi-devices-spi-nor | 1 What: /sys/bus/spi/devices/.../spi-nor/jedec_id 5 Description: (RO) The JEDEC ID of the SPI NOR flash as reported by the 12 What: /sys/bus/spi/devices/.../spi-nor/manufacturer 16 Description: (RO) Manufacturer of the SPI NOR flash. 22 What: /sys/bus/spi/devices/.../spi-nor/partname 26 Description: (RO) Part name of the SPI NOR flash. 32 What: /sys/bus/spi/devices/.../spi-nor/sfdp 36 Description: (RO) This attribute is only present if the SPI NOR flash
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | mpc8536ds.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 46 label = "ramdisk-nor"; 51 label = "diagnostic-nor"; 57 label = "dink-nor"; 63 label = "kernel-nor"; 68 label = "fs-nor"; 73 label = "dtb-nor"; 78 label = "u-boot-nor"; 145 compatible = "spansion,s25sl12801", "jedec,spi-nor"; [all …]
|
| H A D | p1022ds.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 46 label = "ramdisk-nor"; 52 label = "diagnostic-nor"; 58 label = "dink-nor"; 64 label = "kernel-nor"; 70 label = "jffs2-nor"; 75 label = "dtb-nor"; 81 label = "u-boot-nor"; 163 compatible = "spansion,s25sl12801", "jedec,spi-nor";
|
| H A D | p1020mbg-pc.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 47 label = "NOR DTB Image"; 53 label = "NOR Linux Kernel Image"; 59 label = "NOR Root File System"; 66 label = "NOR Vitesse-7385 Firmware"; 75 label = "NOR U-Boot Image";
|
| H A D | p1021rdb-pc.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 48 label = "NOR Vitesse-7385 Firmware"; 55 label = "NOR DTB Image"; 61 label = "NOR Linux Kernel Image"; 67 label = "NOR JFFS2 Root File System"; 74 label = "NOR QE microcode firmware"; 83 label = "NOR U-Boot Image"; 153 compatible = "spansion,s25sl12801", "jedec,spi-nor";
|
| H A D | p1024rdb.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 48 label = "NOR Vitesse-7385 Firmware"; 55 label = "NOR DTB Image"; 61 label = "NOR Linux Kernel Image"; 67 label = "NOR JFFS2 Root File System"; 75 label = "NOR U-Boot Image"; 132 compatible = "spansion,m25p80", "jedec,spi-nor";
|
| H A D | c293pcie.dts | 13 * * Neither the name of Freescale Semiconductor nor the 74 nor@0,0 { 85 label = "NOR DTB Image"; 91 label = "NOR Linux Kernel Image"; 97 label = "NOR Rootfs Image"; 103 label = "NOR blob encrypted key"; 109 label = "NOR U-Boot Image"; 170 compatible = "spansion,s25sl12801", "jedec,spi-nor";
|
| H A D | p1020rdb-pd.dts | 13 * * Neither the name of Freescale Semiconductor nor the 47 /* NOR, NAND flash, L2 switch and CPLD */ 53 nor@0,0 { 64 label = "NOR DTB Image"; 70 label = "NOR Linux Kernel Image"; 76 label = "NOR Root File System"; 83 label = "NOR Vitesse-7385 Firmware"; 92 label = "NOR U-Boot Image"; 158 compatible = "spansion,s25sl12801", "jedec,spi-nor";
|
| H A D | p1020rdb-pc.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 48 label = "NOR Vitesse-7385 Firmware"; 55 label = "NOR DTB Image"; 61 label = "NOR Linux Kernel Image"; 67 label = "NOR JFFS2 Root File System"; 75 label = "NOR U-Boot Image"; 154 compatible = "spansion,s25sl12801", "jedec,spi-nor";
|
| H A D | p2020rdb-pc.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 48 label = "NOR Vitesse-7385 Firmware"; 55 label = "NOR DTB Image"; 61 label = "NOR Linux Kernel Image"; 67 label = "NOR JFFS2 Root File System"; 75 label = "NOR U-Boot Image"; 154 compatible = "spansion,m25p80", "jedec,spi-nor";
|
| H A D | p1020rdb.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 48 label = "NOR (RO) Vitesse-7385 Firmware"; 55 label = "NOR (RO) DTB Image"; 62 label = "NOR (RO) Linux Kernel Image"; 69 label = "NOR (RW) JFFS2 Root File System"; 77 label = "NOR (RO) U-Boot Image"; 151 compatible = "spansion,s25sl12801", "jedec,spi-nor";
|
| H A D | p1020utm-pc.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 47 label = "NOR DTB Image"; 53 label = "NOR Linux Kernel Image"; 59 label = "NOR Root File System"; 67 label = "NOR U-Boot Image";
|
| H A D | p2020rdb.dts | 31 /* NOR and NAND Flashes */ 36 nor@0,0 { 48 label = "NOR (RO) Vitesse-7385 Firmware"; 55 label = "NOR (RO) DTB Image"; 62 label = "NOR (RO) Linux Kernel Image"; 69 label = "NOR (RW) JFFS2 Root File System"; 77 label = "NOR (RO) U-Boot Image"; 154 compatible = "spansion,s25sl12801", "jedec,spi-nor";
|
| /linux/arch/arm/boot/dts/xilinx/ |
| H A D | zynq-zc770-xm012.dts | 64 label = "nor-fsbl-uboot"; 68 label = "nor-linux"; 72 label = "nor-device-tree"; 76 label = "nor-rootfs"; 80 label = "nor-bitstream";
|
| /linux/Documentation/devicetree/bindings/mtd/partitions/ |
| H A D | brcm,bcm963xx-cfe-nor-partitions.txt | 1 Broadcom BCM963XX CFE Loader NOR Flash Partitions 5 NOR. The first erase block used for the CFE bootloader, the last for an 12 - compatible : must be "brcm,bcm963xx-cfe-nor-partitions" 22 compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | st,stm32-fmc2-ebi-props.yaml | 21 4: Asynchronous mode 2 NOR. 22 5: Asynchronous mode B NOR. 23 6: Asynchronous mode C NOR. 24 7: Asynchronous mode D NOR. 27 10: Synchronous read synchronous write NOR. 28 11: Synchronous read asynchronous write NOR. 42 NOR and PSRAM transactions type). By default, Address/Data
|