mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
36ac022862
Add support to show the manufacturer, the partname and JEDEC identifier as well as to dump the SFDP table. Not all flashes list their SFDP table contents in their datasheet. So having that is useful. It might also be helpful in bug reports from users. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Acked-by: Pratyush Yadav <p.yadav@ti.com>
31 lines
931 B
Text
31 lines
931 B
Text
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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
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.
|