Skip to content

Commit a5f65c7

Browse files
Marek Vasutgregkh
authored andcommitted
nvmem: Document type attribute
Document a type attribute used by userspace to discern different types of NVMEM devices. The implementation is already present, the ABI document is missing, add it. Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20240705074852.423202-14-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ac871d6 commit a5f65c7

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Documentation/ABI/stable/sysfs-bus-nvmem

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,14 @@ Description:
2020
...
2121
*
2222
0001000
23+
24+
What: /sys/bus/nvmem/devices/.../type
25+
Date: November 2018
26+
KernelVersion: 5.0
27+
Contact: Alexandre Belloni <alexandre.belloni@bootlin.com>
28+
Description:
29+
This read-only attribute allows user to read the NVMEM
30+
device type. Supported types are "Unknown", "EEPROM",
31+
"OTP", "Battery backed", "FRAM".
32+
Note: This file is only present if CONFIG_NVMEM_SYSFS
33+
is enabled.

0 commit comments

Comments
 (0)