-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvmem: prepare basics for FRAM support
Added enum and string for FRAM (ferroelectric RAM) to expose it as file named "fram". Added documentation of sysfs file. Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz> Link: https://lore.kernel.org/r/20210611094601.95131-2-jiri.prchal@aksignal.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information
Jiri Prchal
authored and
Greg Kroah-Hartman
committed
Jun 11, 2021
1 parent
989f77e
commit fd307a4
Showing
6 changed files
with
183 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
What: /sys/class/spi_master/spi<bus>/spi<bus>.<dev>/fram | ||
Date: June 2021 | ||
KernelVersion: 5.14 | ||
Contact: Jiri Prchal <jiri.prchal@aksignal.cz> | ||
Description: | ||
Contains the FRAM binary data. Same as EEPROM, just another file | ||
name to indicate that it employs ferroelectric process. | ||
It performs write operations at bus speed - no write delays. | ||
|
||
What: /sys/class/spi_master/spi<bus>/spi<bus>.<dev>/sernum | ||
Date: May 2021 | ||
KernelVersion: 5.14 | ||
Contact: Jiri Prchal <jiri.prchal@aksignal.cz> | ||
Description: | ||
Contains the serial number of the Cypress FRAM (FM25VN) if it is | ||
present. It will be displayed as a 8 byte hex string, as read | ||
from the device. | ||
|
||
This is a read-only attribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters