aboutsummaryrefslogtreecommitdiff
path: root/Documentation/ABI/stable/sysfs-bus-nvmem
blob: c399323f37de370d561f65a6bebda93c14e5f0c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
What:		/sys/bus/nvmem/devices/.../nvmem
Date:		July 2015
KernelVersion:  4.2
Contact:	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Description:
		This file allows user to read/write the raw NVMEM contents.
		Permissions for write to this file depends on the nvmem
		provider configuration.
		Note: This file is only present if CONFIG_NVMEM_SYSFS
		is enabled

		ex::

		  hexdump /sys/bus/nvmem/devices/qfprom0/nvmem

		  0000000 0000 0000 0000 0000 0000 0000 0000 0000
		  *
		  00000a0 db10 2240 0000 e000 0c00 0c00 0000 0c00
		  0000000 0000 0000 0000 0000 0000 0000 0000 0000
		  ...
		  *
		  0001000