Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 lines
870 B
Plaintext
22 lines
870 B
Plaintext
What: /sys/bus/nvmem/devices/.../cells/<cell-name>
|
|
Date: May 2023
|
|
KernelVersion: 6.5
|
|
Contact: Miquel Raynal <miquel.raynal@bootlin.com>
|
|
Description:
|
|
The "cells" folder contains one file per cell exposed by the
|
|
NVMEM device. The name of the file is: "<name>@<byte>,<bit>",
|
|
with <name> being the cell name and <where> its location in
|
|
the NVMEM device, in hexadecimal bytes and bits (without the
|
|
'0x' prefix, to mimic device tree node names). The length of
|
|
the file is the size of the cell (when known). The content of
|
|
the file is the binary content of the cell (may sometimes be
|
|
ASCII, likely without trailing character).
|
|
Note: This file is only present if CONFIG_NVMEM_SYSFS
|
|
is enabled.
|
|
|
|
Example::
|
|
|
|
hexdump -C /sys/bus/nvmem/devices/1-00563/cells/product-name@d,0
|
|
00000000 54 4e 34 38 4d 2d 50 2d 44 4e |TN48M-P-DN|
|
|
0000000a
|