Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor

Source file repositories/reference/linux-study-clean/Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor

File Facts

System
Linux kernel
Corpus path
Documentation/ABI/testing/sysfs-bus-spi-devices-spi-nor
Extension
[no extension]
Size
1353 bytes
Lines
41
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: Documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

What:		/sys/bus/spi/devices/.../spi-nor/jedec_id
Date:		April 2021
KernelVersion:	5.14
Contact:	linux-mtd@lists.infradead.org
Description:	(RO) The JEDEC ID of the SPI NOR flash as reported by the
		flash device.

		The attribute is not present if the flash doesn't support
		the "Read JEDEC ID" command (9Fh). This is the case for
		non-JEDEC compliant flashes.

What:		/sys/bus/spi/devices/.../spi-nor/manufacturer
Date:		April 2021
KernelVersion:	5.14
Contact:	linux-mtd@lists.infradead.org
Description:	(RO) Manufacturer of the SPI NOR flash.

		The attribute is not present if the flash device isn't
		known to the kernel and is only probed by its SFDP
		tables.

What:		/sys/bus/spi/devices/.../spi-nor/partname
Date:		April 2021
KernelVersion:	5.14
Contact:	linux-mtd@lists.infradead.org
Description:	(RO) Part name of the SPI NOR flash.

		The attribute is optional. User space should not rely on
		it to be present or even correct. Instead, user space
		should read the jedec_id attribute.

What:		/sys/bus/spi/devices/.../spi-nor/sfdp
Date:		April 2021
KernelVersion:	5.14
Contact:	linux-mtd@lists.infradead.org
Description:	(RO) This attribute is only present if the SPI NOR flash
		device supports the "Read SFDP" command (5Ah).

		If present, it contains the complete SFDP (serial flash
		discoverable parameters) binary data of the flash.

Annotation

Implementation Notes