xref: /linux/Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor (revision eeb9f5c2dcec90009d7cf12e780e7f9631993fc5)
1What:		/sys/bus/spi/devices/.../spi-nor/jedec_id
2Date:		April 2021
3KernelVersion:	5.14
4Contact:	linux-mtd@lists.infradead.org
5Description:	(RO) The JEDEC ID of the SPI NOR flash as reported by the
6		flash device.
7
8		The attribute is not present if the flash doesn't support
9		the "Read JEDEC ID" command (9Fh). This is the case for
10		non-JEDEC compliant flashes.
11
12What:		/sys/bus/spi/devices/.../spi-nor/manufacturer
13Date:		April 2021
14KernelVersion:	5.14
15Contact:	linux-mtd@lists.infradead.org
16Description:	(RO) Manufacturer of the SPI NOR flash.
17
18		The attribute is not present if the flash device isn't
19		known to the kernel and is only probed by its SFDP
20		tables.
21
22What:		/sys/bus/spi/devices/.../spi-nor/partname
23Date:		April 2021
24KernelVersion:	5.14
25Contact:	linux-mtd@lists.infradead.org
26Description:	(RO) Part name of the SPI NOR flash.
27
28		The attribute is optional. User space should not rely on
29		it to be present or even correct. Instead, user space
30		should read the jedec_id attribute.
31
32What:		/sys/bus/spi/devices/.../spi-nor/sfdp
33Date:		April 2021
34KernelVersion:	5.14
35Contact:	linux-mtd@lists.infradead.org
36Description:	(RO) This attribute is only present if the SPI NOR flash
37		device supports the "Read SFDP" command (5Ah).
38
39		If present, it contains the complete SFDP (serial flash
40		discoverable parameters) binary data of the flash.
41