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

Arnd Bergmann arnd at arndb.de
Wed Oct 2 03:58:13 PDT 2024


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



More information about the linux-arm-kernel mailing list