diff options
| author | Loic Poulain <loic.poulain@oss.qualcomm.com> | 2026-10-02 11:13:48 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-02 13:10:59 +0200 |
| commit | 008e08b1ee0f807254bd61f3582cb60f24bdf103 (patch) | |
| tree | 3d2b0e1e41d6e9373a61a72b803ab0d9136bbf49 /tools/lib/python/kdoc/python_version.py | |
| parent | 586df7d0a3f7dd465006ffa9d892cd8a31a97917 (diff) | |
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>
Link: https://patch.msgid.link/20261002101352.1084447-6-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
