summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-nvmem-cells
blob: 7af70adf3690e3b0b3a3c148a087ecb3f788d54a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>@<where>, with
		<name> being the cell name and <where> its location in the NVMEM
		device, in hexadecimal (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
		  00000000  54 4e 34 38 4d 2d 50 2d  44 4e         |TN48M-P-DN|
		  0000000a