diff options
| author | Loic Poulain <loic.poulain@oss.qualcomm.com> | 2026-08-06 16:38:37 +0200 |
|---|---|---|
| committer | Srinivas Kandagatla <srini@kernel.org> | 2026-09-21 10:26:42 +0100 |
| commit | 9c6cab93dcd47c3075d896c777567b9d8f813d18 (patch) | |
| tree | 60f628a35649c516231e82a25a0753206b36ab46 /tools/perf/scripts/python | |
| parent | 07242f2fa13247d558352d481a05a97793f9ab1d (diff) | |
| download | linux-next-9c6cab93dcd47c3075d896c777567b9d8f813d18.tar.gz linux-next-9c6cab93dcd47c3075d896c777567b9d8f813d18.zip | |
nvmem: layouts: Support fixed-layout as the nvmem device node itself
of_nvmem_layout_get_container() only looks for a child node named
"nvmem-layout" to locate the cell definitions. This does not cover
providers whose device tree node is itself the fixed-layout container,
such as an eMMC boot partition block device whose fwnode points directly
at a "fixed-layout" compatible partitions node.
When no "nvmem-layout" child is present, fall back to returning the nvmem
device node itself if it is compatible with "fixed-layout", so that its
cells are parsed by nvmem_add_cells_from_fixed_layout().
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
