diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2025-11-24 12:27:48 -0600 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2025-11-26 10:27:29 -0600 |
| commit | c70b9d5fdcd707ddac29284ea425fd433f374696 (patch) | |
| tree | 56deaa210d8c7c371bb4cd33e3f5a573520390c9 /tools/lib/python/kdoc/kdoc_re.py | |
| parent | a1f2c2d55a81c38d63c251ebb7e73e00be37c229 (diff) | |
remoteproc: qcom: Use of_reserved_mem_region_* functions for "memory-region"
Use the newly added of_reserved_mem_region_to_resource() and
of_reserved_mem_region_count() functions to handle "memory-region"
properties.
The error handling is a bit different in some cases. Often
"memory-region" is optional, so failed lookup is not an error. But then
an error in of_reserved_mem_lookup() is treated as an error. However,
that distinction is not really important. Either the region is available
and usable or it is not. So now, it is just
of_reserved_mem_region_to_resource() which is checked for an error.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20251124182751.507624-2-robh@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
