linux/drivers/nvmem/layouts
Mathieu Dubois-Briand b5be879519 nvmem: layouts: Add fixed-layout driver
Current implementation isn't working well when device tree nodes have a
phandle on a fixed-layout nvmem node. As the fixed layout is handled in
nvmem core, no driver is ever associated with the layout, and the device
consumer driver probe is deferred indefinitely.

Remove the specific handling of fixed-layout and add a layout driver.
This makes the fixed-layout similar to all other layouts, fixing the
whole issue.

Fixes: fc29fd821d ("nvmem: core: Rework layouts to become regular devices")
Cc: stable@vger.kernel.org
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Link: https://patch.msgid.link/20260724223404.629248-3-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-07-31 11:00:13 +02:00
..
fixed-layout.c nvmem: layouts: Add fixed-layout driver 2026-07-31 11:00:13 +02:00
Kconfig nvmem: layouts: add U-Boot env layout 2024-09-11 16:05:15 +02:00
Makefile nvmem: layouts: Add fixed-layout driver 2026-07-31 11:00:13 +02:00
onie-tlv.c nvmem: layouts: onie-tlv: fix hang on unknown types 2026-06-05 17:18:58 +02:00
sl28vpd.c nvmem: layouts: sl28vpd: drop driver owner initialization 2024-05-03 07:26:38 +02:00
u-boot-env.c kernel.h: drop hex.h and update all hex.h users 2026-01-20 19:44:19 -08:00
u-boot-env.h nvmem: layouts: add U-Boot env layout 2024-09-11 16:05:15 +02:00