lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250917-backfield-saint-98ade84229e5@spud>
Date: Wed, 17 Sep 2025 18:37:46 +0100
From: Conor Dooley <conor@...nel.org>
To: Robert Marko <robert.marko@...tura.hr>
Cc: p.zabel@...gutronix.de, robh@...nel.org, krzk+dt@...nel.org,
	conor+dt@...nel.org, Steen.Hegelund@...rochip.com,
	daniel.machon@...rochip.com, UNGLinuxDriver@...rochip.com,
	lars.povlsen@...rochip.com, devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	luka.perkov@...tura.hr, benjamin.ryzman@...onical.com
Subject: Re: [PATCH 2/2] reset: sparx5: add LAN969x support

On Wed, Sep 17, 2025 at 01:12:36PM +0200, Robert Marko wrote:
> LAN969x uses the same reset configuration as LAN966x so lets add support
> for it as well.
> 
> Signed-off-by: Robert Marko <robert.marko@...tura.hr>
> ---
>  drivers/reset/Kconfig                  | 2 +-
>  drivers/reset/reset-microchip-sparx5.c | 3 +++
>  2 files changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
> index 78b7078478d4..35cb84d1de4e 100644
> --- a/drivers/reset/Kconfig
> +++ b/drivers/reset/Kconfig
> @@ -170,7 +170,7 @@ config RESET_LPC18XX
>  
>  config RESET_MCHP_SPARX5
>  	tristate "Microchip Sparx5 reset driver"
> -	depends on ARCH_SPARX5 || SOC_LAN966 || MCHP_LAN966X_PCI || COMPILE_TEST
> +	depends on ARCH_SPARX5 || ARCH_LAN969X ||SOC_LAN966 || MCHP_LAN966X_PCI || COMPILE_TEST
                                                 ^ missing space here.

>  	default y if SPARX5_SWITCH
>  	select MFD_SYSCON
>  	help
> diff --git a/drivers/reset/reset-microchip-sparx5.c b/drivers/reset/reset-microchip-sparx5.c
> index 6d3e75b33260..28ad8f1298a0 100644
> --- a/drivers/reset/reset-microchip-sparx5.c
> +++ b/drivers/reset/reset-microchip-sparx5.c
> @@ -198,6 +198,9 @@ static const struct of_device_id mchp_sparx5_reset_of_match[] = {
>  	}, {
>  		.compatible = "microchip,lan966x-switch-reset",
>  		.data = &reset_props_lan966x,
> +	}, {
> +		.compatible = "microchip,lan969x-switch-reset",
> +		.data = &reset_props_lan966x,

These are identically handled, a fallback compatible will suffice.

>  	},
>  	{ }
>  };
> -- 
> 2.51.0
> 

Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ