]> www.infradead.org Git - users/jedix/linux-maple.git/commit
reset: mchp: sparx5: Fix for lan966x
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Thu, 27 Feb 2025 10:55:02 +0000 (11:55 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 13 Mar 2025 08:40:26 +0000 (09:40 +0100)
commit0e2268f88bb27ef14ac3de1bc4df29ff12bb28cb
tree48944d375b5e645f4d15facca70df8325e485183
parent2014c95afecee3e76ca4a56956a936e23283f05b
reset: mchp: sparx5: Fix for lan966x

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 devm_ioremap, this seems to fix the issue as we use the same
region also for other devices.

Fixes: 0426a920d6269c ("reset: mchp: sparx5: Map cpu-syscon locally in case of LAN966x")
Reviewed-by: Herve Codina <herve.codina@bootlin.com>
Tested-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20250227105502.25125-1-horatiu.vultur@microchip.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-microchip-sparx5.c