Re: [PATCH v6 2/7] reset: mchp: sparx5: Use the second reg item when cpu-syscon is not present

From: Arnd Bergmann
Date: Wed Oct 02 2024 - 07:00:00 EST


On Wed, Oct 2, 2024, at 10:19, Herve Codina wrote:
> On Wed, 02 Oct 2024 09:29:35 +0000

> Thanks for this reply.
>
> Exactly, on sparx5 syscon is shared...
> $ git grep 'microchip,sparx5-cpu-syscon'
> ...
> arch/arm64/boot/dts/microchip/sparx5.dtsi:
> compatible = "microchip,sparx5-cpu-syscon", "syscon",
> drivers/mmc/host/sdhci-of-sparx5.c: const char *syscon =
> "microchip,sparx5-cpu-syscon";
> drivers/power/reset/ocelot-reset.c: .syscon =
> "microchip,sparx5-cpu-syscon",
> drivers/spi/spi-dw-mmio.c: const char *syscon_name =
> "microchip,sparx5-cpu-syscon";
> $

Ok, got it. In that case, your suggestion looks fine.

Arnd