mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 15:41:36 +00:00
266570f496
NVMEM layouts are used to generate NVMEM cells during runtime. Think of an EEPROM with a well-defined conent. For now, the content can be described by a device tree or a board file. But this only works if the offsets and lengths are static and don't change. One could also argue that putting the layout of the EEPROM in the device tree is the wrong place. Instead, the device tree should just have a specific compatible string. Right now there are two use cases: (1) The NVMEM cell needs special processing. E.g. if it only specifies a base MAC address offset and you need to add an offset, or it needs to parse a MAC from ASCII format or some proprietary format. (Post processing of cells is added in a later commit). (2) u-boot environment parsing. The cells don't have a particular offset but it needs parsing the content to determine the offsets and length. Co-developed-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20230404172148.82422-14-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
80211 | ||
acpi | ||
backlight | ||
cxl | ||
dmaengine | ||
driver-model | ||
early-userspace | ||
firmware | ||
fpga | ||
gpio | ||
hte | ||
i3c | ||
iio | ||
md | ||
media | ||
mei | ||
memory-devices | ||
mmc | ||
mtd | ||
nfc | ||
nvdimm | ||
pci | ||
phy | ||
pldmfw | ||
pm | ||
rapidio | ||
serial | ||
soundwire | ||
surface_aggregator | ||
thermal | ||
tty | ||
usb | ||
virtio | ||
xilinx | ||
aperture.rst | ||
auxiliary_bus.rst | ||
basics.rst | ||
clk.rst | ||
component.rst | ||
connector.rst | ||
console.rst | ||
dcdbas.rst | ||
devfreq.rst | ||
device_link.rst | ||
device-io.rst | ||
dma-buf.rst | ||
edac.rst | ||
eisa.rst | ||
firewire.rst | ||
frame-buffer.rst | ||
generic-counter.rst | ||
hsi.rst | ||
i2c.rst | ||
index.rst | ||
infiniband.rst | ||
infrastructure.rst | ||
input.rst | ||
interconnect.rst | ||
io_ordering.rst | ||
io-mapping.rst | ||
ioctl.rst | ||
ipmb.rst | ||
ipmi.rst | ||
isa.rst | ||
isapnp.rst | ||
libata.rst | ||
mailbox.rst | ||
men-chameleon-bus.rst | ||
message-based.rst | ||
misc_devices.rst | ||
miscellaneous.rst | ||
mtdnand.rst | ||
ntb.rst | ||
nvmem.rst | ||
parport-lowlevel.rst | ||
pin-control.rst | ||
pps.rst | ||
ptp.rst | ||
pwm.rst | ||
regulator.rst | ||
reset.rst | ||
rfkill.rst | ||
s390-drivers.rst | ||
scsi.rst | ||
slimbus.rst | ||
sm501.rst | ||
spi.rst | ||
switchtec.rst | ||
sync_file.rst | ||
target.rst | ||
uio-howto.rst | ||
vfio-mediated-device.rst | ||
vfio-pci-device-specific-driver-acceptance.rst | ||
vfio.rst | ||
vme.rst | ||
w1.rst | ||
xillybus.rst | ||
zorro.rst |