Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
Changes in v3:
- Fix device node pointer leakage
- Move nvmem_add_cells_from_dt() prototype to internals.h
- Enable fixed-layout as built-in by default
- Rebased on v7.1-rc7
- Link to v2: https://lore.kernel.org/r/20260515-mathieu-nvmem-fixed-layout-v2-0-8ac215dd4016@bootlin.com
Changes in v2:
- Fixed dependency on core layout code with CONFIG_NVMEM_LAYOUTS
- Make fixed layout optional
- Link to v1: https://lore.kernel.org/r/20260505-mathieu-nvmem-fixed-layout-v1-1-7f6ecbce108d@bootlin.com
---
Mathieu Dubois-Briand (2):
nvmem: layouts: Add fixed-layout driver
nvmem: layouts: Make the fixed-layout driver optional
MAINTAINERS | 5 ++++
drivers/nvmem/core.c | 24 ++-------------
drivers/nvmem/internals.h | 2 ++
drivers/nvmem/layouts.c | 11 -------
drivers/nvmem/layouts/Kconfig | 9 ++++++
drivers/nvmem/layouts/Makefile | 1 +
drivers/nvmem/layouts/fixed-layout.c | 58 ++++++++++++++++++++++++++++++++++++
include/linux/nvmem-provider.h | 6 ++++
8 files changed, 83 insertions(+), 33 deletions(-)
---
base-commit: 4549871118cf616eecdd2d939f78e3b9e1dddc48
change-id: 20260504-mathieu-nvmem-fixed-layout-24c6f8500bf6
Best regards,
--
Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>