Thread (15 messages) flat view 15 messages, 3 authors, 2021-06-14

Re: [PATCH v9 5/5] nvmem: eeprom: add documentation of sysfs fram and sernum file

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-06-11 08:53:27
Also in: lkml

On Fri, Jun 11, 2021 at 07:26:52AM +0200, Jiri Prchal wrote:
quoted hunk ↗ jump to hunk
Added sysfs fram and sernum file documentation.

Signed-off-by: Jiri Prchal <redacted>
---
v5: new
v6: no change here
v7: no change here
v8: added fram file doc
v9: rewritten description
---
 .../ABI/testing/sysfs-class-spi-eeprom        | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-class-spi-eeprom
diff --git a/Documentation/ABI/testing/sysfs-class-spi-eeprom b/Documentation/ABI/testing/sysfs-class-spi-eeprom
new file mode 100644
index 000000000000..4e69c78f9f65
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-spi-eeprom
@@ -0,0 +1,20 @@
+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.
+
+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, capable
+	of 10^14 read/write cycles and 151 years data retention.
Are you sure of these statistics?  Don't promise something here that
might not be true, this is not a marketing document :)

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help