On Wed, 12 Nov 2025 22:28:51 +0530, Aswin Murugan wrote:
> The SMEM driver was failing to resolve memory regions on some boards
> because `dev_of_offset()` + `fdtdec_lookup_phandle()` did not yield a
> valid DT node. Modernize the code to use driver-model/ofnode accessors
> and make the probe robust for both DT styles (direct `reg` vs
> `memory-region` phandle).
>
> - qcom_smem_map_memory():
> * Drop fdtdec path; use dev_read_phandle_with_args() +
> ofnode_read_resource().
> * Use dev_read_phandle_with_args() +
> fnode_read_resource().
>
> [...]
Applied, thanks!
[1/1] smem: msm: Fix memory-region lookup, direct <reg> mapping and update SMEM
host count
https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/984ebe2d553b
Best regards,
--
// Casey (she/they)