Linux 6.11-rc1
[linux-2.6-microblaze.git] / Documentation / ABI / testing / sysfs-bus-spi-devices-spi-nor
1 What:           /sys/bus/spi/devices/.../spi-nor/jedec_id
2 Date:           April 2021
3 KernelVersion:  5.14
4 Contact:        linux-mtd@lists.infradead.org
5 Description:    (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
12 What:           /sys/bus/spi/devices/.../spi-nor/manufacturer
13 Date:           April 2021
14 KernelVersion:  5.14
15 Contact:        linux-mtd@lists.infradead.org
16 Description:    (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
22 What:           /sys/bus/spi/devices/.../spi-nor/partname
23 Date:           April 2021
24 KernelVersion:  5.14
25 Contact:        linux-mtd@lists.infradead.org
26 Description:    (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
32 What:           /sys/bus/spi/devices/.../spi-nor/sfdp
33 Date:           April 2021
34 KernelVersion:  5.14
35 Contact:        linux-mtd@lists.infradead.org
36 Description:    (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.