~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/stable/sysfs-bus-nvmem

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/stable/sysfs-bus-nvmem (Architecture sparc64) and /Documentation/ABI/stable/sysfs-bus-nvmem (Architecture ppc)


  1 What:           /sys/bus/nvmem/devices/.../for      1 What:           /sys/bus/nvmem/devices/.../force_ro
  2 Date:           June 2024                           2 Date:           June 2024
  3 KernelVersion:  6.11                                3 KernelVersion:  6.11
  4 Contact:        Marek Vasut <marex@denx.de>          4 Contact:        Marek Vasut <marex@denx.de>
  5 Description:                                        5 Description:
  6                 This read/write attribute allo      6                 This read/write attribute allows users to set read-write
  7                 devices as read-only and back       7                 devices as read-only and back to read-write from userspace.
  8                 This can be used to unlock and      8                 This can be used to unlock and relock write-protection of
  9                 devices which are generally lo      9                 devices which are generally locked, except during sporadic
 10                 programming operation.             10                 programming operation.
 11                 Read returns '0' or '1' for re     11                 Read returns '0' or '1' for read-write or read-only modes
 12                 respectively.                      12                 respectively.
 13                 Write parses one of 'YyTt1NnFf     13                 Write parses one of 'YyTt1NnFf0', or [oO][NnFf] for "on"
 14                 and "off", i.e. what kstrtoboo     14                 and "off", i.e. what kstrtobool() supports.
 15                 Note: This file is only presen     15                 Note: This file is only present if CONFIG_NVMEM_SYSFS
 16                 is enabled.                        16                 is enabled.
 17                                                    17 
 18 What:           /sys/bus/nvmem/devices/.../nvm     18 What:           /sys/bus/nvmem/devices/.../nvmem
 19 Date:           July 2015                          19 Date:           July 2015
 20 KernelVersion:  4.2                                20 KernelVersion:  4.2
 21 Contact:        Srinivas Kandagatla <srinivas.k     21 Contact:        Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
 22 Description:                                       22 Description:
 23                 This file allows user to read/     23                 This file allows user to read/write the raw NVMEM contents.
 24                 Permissions for write to this      24                 Permissions for write to this file depends on the nvmem
 25                 provider configuration.            25                 provider configuration.
 26                 Note: This file is only presen     26                 Note: This file is only present if CONFIG_NVMEM_SYSFS
 27                 is enabled                         27                 is enabled
 28                                                    28 
 29                 ex::                               29                 ex::
 30                                                    30 
 31                   hexdump /sys/bus/nvmem/devic     31                   hexdump /sys/bus/nvmem/devices/qfprom0/nvmem
 32                                                    32 
 33                   0000000 0000 0000 0000 0000      33                   0000000 0000 0000 0000 0000 0000 0000 0000 0000
 34                   *                                34                   *
 35                   00000a0 db10 2240 0000 e000      35                   00000a0 db10 2240 0000 e000 0c00 0c00 0000 0c00
 36                   0000000 0000 0000 0000 0000      36                   0000000 0000 0000 0000 0000 0000 0000 0000 0000
 37                   ...                              37                   ...
 38                   *                                38                   *
 39                   0001000                          39                   0001000
 40                                                    40 
 41 What:           /sys/bus/nvmem/devices/.../typ     41 What:           /sys/bus/nvmem/devices/.../type
 42 Date:           November 2018                      42 Date:           November 2018
 43 KernelVersion:  5.0                                43 KernelVersion:  5.0
 44 Contact:        Alexandre Belloni <alexandre.be     44 Contact:        Alexandre Belloni <alexandre.belloni@bootlin.com>
 45 Description:                                       45 Description:
 46                 This read-only attribute allow     46                 This read-only attribute allows user to read the NVMEM
 47                 device type. Supported types a     47                 device type. Supported types are "Unknown", "EEPROM",
 48                 "OTP", "Battery backed", "FRAM     48                 "OTP", "Battery backed", "FRAM".
 49                 Note: This file is only presen     49                 Note: This file is only present if CONFIG_NVMEM_SYSFS
 50                 is enabled.                        50                 is enabled.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php