1192048e5SMiquel RaynalWhat: /sys/bus/nvmem/devices/.../cells/<cell-name> 2192048e5SMiquel RaynalDate: May 2023 3192048e5SMiquel RaynalKernelVersion: 6.5 4192048e5SMiquel RaynalContact: Miquel Raynal <miquel.raynal@bootlin.com> 5192048e5SMiquel RaynalDescription: 6192048e5SMiquel Raynal The "cells" folder contains one file per cell exposed by the 7*e20f378dSArnd Bergmann NVMEM device. The name of the file is: "<name>@<byte>,<bit>", 8*e20f378dSArnd Bergmann with <name> being the cell name and <where> its location in 9*e20f378dSArnd Bergmann the NVMEM device, in hexadecimal bytes and bits (without the 10*e20f378dSArnd Bergmann '0x' prefix, to mimic device tree node names). The length of 11*e20f378dSArnd Bergmann the file is the size of the cell (when known). The content of 12*e20f378dSArnd Bergmann the file is the binary content of the cell (may sometimes be 13*e20f378dSArnd Bergmann ASCII, likely without trailing character). 14192048e5SMiquel Raynal Note: This file is only present if CONFIG_NVMEM_SYSFS 15192048e5SMiquel Raynal is enabled. 16192048e5SMiquel Raynal 17192048e5SMiquel Raynal Example:: 18192048e5SMiquel Raynal 19*e20f378dSArnd Bergmann hexdump -C /sys/bus/nvmem/devices/1-00563/cells/product-name@d,0 20192048e5SMiquel Raynal 00000000 54 4e 34 38 4d 2d 50 2d 44 4e |TN48M-P-DN| 21192048e5SMiquel Raynal 0000000a 22