reset: starfive-jh7110: use platform_ioremap_iomem_byname.
authorsamin <samin.guo@starfivetech.com>
Wed, 5 Jan 2022 06:57:25 +0000 (14:57 +0800)
committersamin <samin.guo@starfivetech.com>
Wed, 5 Jan 2022 07:50:32 +0000 (15:50 +0800)
commit1f2eb3de36ad72a25326f8d3e2c0ee3be4c9df59
tree0a7efc47b86f6298b7c8b1d83c3bfcabb1a1b9b6
parent7793261401ee7f8d5264a58c4baa3b435c2d86ae
reset: starfive-jh7110: use platform_ioremap_iomem_byname.

The reset module is scattered in several domains, and each address
segment may be located in the module device management.

Using devm_platform_get_and_ioremap_resource->devm_ioremap_resource will
cause the address of this segment to be occupied by the reset driver,
and other modules cannot be used, so use ioremap that can be mapped
multiple times instead.

Signed-off-by: samin <samin.guo@starfivetech.com>
drivers/reset/starfive/reset-starfive-jh7110.c