| 1 |
What: /sys/bus/nvmem/devices/.../cells/<cell-name> |
| 2 |
Date: May 2023 |
| 3 |
KernelVersion: 6.5 |
| 4 |
Contact: Miquel Raynal <[email protected]> |
| 5 |
Description: |
| 6 |
The "cells" folder contains one file per cell exposed by the |
| 7 |
NVMEM device. The name of the file is: "<name>@<byte>,<bit>", |
| 8 |
with <name> being the cell name and <where> its location in |
| 9 |
the NVMEM device, in hexadecimal bytes and bits (without the |
| 10 |
'0x' prefix, to mimic device tree node names). The length of |
| 11 |
the file is the size of the cell (when known). The content of |
| 12 |
the file is the binary content of the cell (may sometimes be |
| 13 |
ASCII, likely without trailing character). |
| 14 |
Note: This file is only present if CONFIG_NVMEM_SYSFS |
| 15 |
is enabled. |
| 16 |
|
| 17 |
Example:: |
| 18 |
|
| 19 |
hexdump -C /sys/bus/nvmem/devices/1-00563/cells/product-name@d,0 |
| 20 |
00000000 54 4e 34 38 4d 2d 50 2d 44 4e |TN48M-P-DN| |
| 21 |
0000000a |