xref: /linux/Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor (revision 06d07429858317ded2db7986113a9e0129cd599b)
136ac0228SMichael WalleWhat:		/sys/bus/spi/devices/.../spi-nor/jedec_id
236ac0228SMichael WalleDate:		April 2021
336ac0228SMichael WalleKernelVersion:	5.14
436ac0228SMichael WalleContact:	linux-mtd@lists.infradead.org
536ac0228SMichael WalleDescription:	(RO) The JEDEC ID of the SPI NOR flash as reported by the
636ac0228SMichael Walle		flash device.
736ac0228SMichael Walle
87d388551SMichael Walle		The attribute is not present if the flash doesn't support
97d388551SMichael Walle		the "Read JEDEC ID" command (9Fh). This is the case for
107d388551SMichael Walle		non-JEDEC compliant flashes.
1136ac0228SMichael Walle
1236ac0228SMichael WalleWhat:		/sys/bus/spi/devices/.../spi-nor/manufacturer
1336ac0228SMichael WalleDate:		April 2021
1436ac0228SMichael WalleKernelVersion:	5.14
1536ac0228SMichael WalleContact:	linux-mtd@lists.infradead.org
1636ac0228SMichael WalleDescription:	(RO) Manufacturer of the SPI NOR flash.
1736ac0228SMichael Walle
180d9270f2SMichael Walle		The attribute is not present if the flash device isn't
190d9270f2SMichael Walle		known to the kernel and is only probed by its SFDP
200d9270f2SMichael Walle		tables.
2136ac0228SMichael Walle
2236ac0228SMichael WalleWhat:		/sys/bus/spi/devices/.../spi-nor/partname
2336ac0228SMichael WalleDate:		April 2021
2436ac0228SMichael WalleKernelVersion:	5.14
2536ac0228SMichael WalleContact:	linux-mtd@lists.infradead.org
2636ac0228SMichael WalleDescription:	(RO) Part name of the SPI NOR flash.
2736ac0228SMichael Walle
28*fc2efaf9SJaimeLiao		The attribute is optional. User space should not rely on
29*fc2efaf9SJaimeLiao		it to be present or even correct. Instead, user space
30*fc2efaf9SJaimeLiao		should read the jedec_id attribute.
3136ac0228SMichael Walle
3236ac0228SMichael WalleWhat:		/sys/bus/spi/devices/.../spi-nor/sfdp
3336ac0228SMichael WalleDate:		April 2021
3436ac0228SMichael WalleKernelVersion:	5.14
3536ac0228SMichael WalleContact:	linux-mtd@lists.infradead.org
3636ac0228SMichael WalleDescription:	(RO) This attribute is only present if the SPI NOR flash
3736ac0228SMichael Walle		device supports the "Read SFDP" command (5Ah).
3836ac0228SMichael Walle
3936ac0228SMichael Walle		If present, it contains the complete SFDP (serial flash
4036ac0228SMichael Walle		discoverable parameters) binary data of the flash.
41