Re: [PATCH v2] reset: mchp: sparx5: Fix for lan966x

From: Philipp Zabel
Date: Wed Feb 26 2025 - 05:27:54 EST


On Di, 2025-02-25 at 11:53 +0100, Horatiu Vultur wrote:
> With the blamed commit it seems that lan966x doesn't seem to boot
> anymore when the internal CPU is used.
> The reason seems to be the usage of the devm_of_iomap, if we replace
> this with of_iomap, this seems to fix the issue as we use the same
> region also for other devices.

So the issue is the devm_request_mem_region() called by
devm_ioremap_resource()?

Wouldn't it be easier to switch to devm_ioremap() instead?

regards
Philipp