Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation/ABI: document the nvmem sysfs files

NVMEM has been in kernel since v4.2 but the ABI document was missing
since then. userspace interface did not change since then and seems
stable, so this patch documents the nvmem ABI.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Srinivas Kandagatla and committed by
Greg Kroah-Hartman
c26bbb3c 917c8c25

+20
+19
Documentation/ABI/stable/sysfs-bus-nvmem
··· 1 + What: /sys/bus/nvmem/devices/.../nvmem 2 + Date: July 2015 3 + KernelVersion: 4.2 4 + Contact: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 5 + Description: 6 + This file allows user to read/write the raw NVMEM contents. 7 + Permissions for write to this file depends on the nvmem 8 + provider configuration. 9 + 10 + ex: 11 + hexdump /sys/bus/nvmem/devices/qfprom0/nvmem 12 + 13 + 0000000 0000 0000 0000 0000 0000 0000 0000 0000 14 + * 15 + 00000a0 db10 2240 0000 e000 0c00 0c00 0000 0c00 16 + 0000000 0000 0000 0000 0000 0000 0000 0000 0000 17 + ... 18 + * 19 + 0001000
+1
MAINTAINERS
··· 9466 9466 S: Maintained 9467 9467 F: drivers/nvmem/ 9468 9468 F: Documentation/devicetree/bindings/nvmem/ 9469 + F: Documentation/ABI/stable/sysfs-bus-nvmem 9469 9470 F: include/linux/nvmem-consumer.h 9470 9471 F: include/linux/nvmem-provider.h 9471 9472