[PATCH] reset: drop Kconfig dependencies from symbol RESET_TN48M_CPLD

Randy Dunlap posted 1 patch 1 month ago
drivers/reset/Kconfig |    2 --
1 file changed, 2 deletions(-)
[PATCH] reset: drop Kconfig dependencies from symbol RESET_TN48M_CPLD
Posted by Randy Dunlap 1 month ago
MFD_TN48M_CPLD is an undefined Kconfig symbol, so remove its use
in drivers/reset/Kconfig.
Drop COMPILE_TEST so that the driver can be built at any time.

Fixes: 5cd3921d16b6 ("reset: Add Delta TN48M CPLD reset controller")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Robert Marko <robert.marko@sartura.hr>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

 drivers/reset/Kconfig |    2 --
 1 file changed, 2 deletions(-)

--- linux-next-20260105.orig/drivers/reset/Kconfig
+++ linux-next-20260105/drivers/reset/Kconfig
@@ -362,8 +362,6 @@ config RESET_TI_TPS380X
 
 config RESET_TN48M_CPLD
 	tristate "Delta Networks TN48M switch CPLD reset controller"
-	depends on MFD_TN48M_CPLD || COMPILE_TEST
-	default MFD_TN48M_CPLD
 	help
 	  This enables the reset controller driver for the Delta TN48M CPLD.
 	  It provides reset signals for Armada 7040 and 385 SoC-s, Alleycat 3X
Re: [PATCH] reset: drop Kconfig dependencies from symbol RESET_TN48M_CPLD
Posted by Philipp Zabel 1 month ago
On Mi, 2026-01-07 at 19:42 -0800, Randy Dunlap wrote:
> MFD_TN48M_CPLD is an undefined Kconfig symbol, so remove its use
> in drivers/reset/Kconfig.
> Drop COMPILE_TEST so that the driver can be built at any time.
> 
> Fixes: 5cd3921d16b6 ("reset: Add Delta TN48M CPLD reset controller")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Cc: Robert Marko <robert.marko@sartura.hr>
> Cc: Philipp Zabel <p.zabel@pengutronix.de>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
>  drivers/reset/Kconfig |    2 --
>  1 file changed, 2 deletions(-)
> 
> --- linux-next-20260105.orig/drivers/reset/Kconfig
> +++ linux-next-20260105/drivers/reset/Kconfig
> @@ -362,8 +362,6 @@ config RESET_TI_TPS380X
>  
>  config RESET_TN48M_CPLD
>  	tristate "Delta Networks TN48M switch CPLD reset controller"
> -	depends on MFD_TN48M_CPLD || COMPILE_TEST
> -	default MFD_TN48M_CPLD
>  	help
>  	  This enables the reset controller driver for the Delta TN48M CPLD.
>  	  It provides reset signals for Armada 7040 and 385 SoC-s, Alleycat 3X

So [1] should we just drop this driver?

[1] https://lore.kernel.org/all/CA+HBbNGdmkyzNqsKAimNZ=PqSaCbDEhwoXk=Yyi5HL657Hb5GA@mail.gmail.com/

regards
Philipp
Re: [PATCH] reset: drop Kconfig dependencies from symbol RESET_TN48M_CPLD
Posted by Randy Dunlap 4 weeks ago

On 1/8/26 2:07 AM, Philipp Zabel wrote:
> On Mi, 2026-01-07 at 19:42 -0800, Randy Dunlap wrote:
>> MFD_TN48M_CPLD is an undefined Kconfig symbol, so remove its use
>> in drivers/reset/Kconfig.
>> Drop COMPILE_TEST so that the driver can be built at any time.
>>
>> Fixes: 5cd3921d16b6 ("reset: Add Delta TN48M CPLD reset controller")
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> ---
>> Cc: Robert Marko <robert.marko@sartura.hr>
>> Cc: Philipp Zabel <p.zabel@pengutronix.de>
>> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>>
>>  drivers/reset/Kconfig |    2 --
>>  1 file changed, 2 deletions(-)
>>
>> --- linux-next-20260105.orig/drivers/reset/Kconfig
>> +++ linux-next-20260105/drivers/reset/Kconfig
>> @@ -362,8 +362,6 @@ config RESET_TI_TPS380X
>>  
>>  config RESET_TN48M_CPLD
>>  	tristate "Delta Networks TN48M switch CPLD reset controller"
>> -	depends on MFD_TN48M_CPLD || COMPILE_TEST
>> -	default MFD_TN48M_CPLD
>>  	help
>>  	  This enables the reset controller driver for the Delta TN48M CPLD.
>>  	  It provides reset signals for Armada 7040 and 385 SoC-s, Alleycat 3X
> 
> So [1] should we just drop this driver?
> 
> [1] https://lore.kernel.org/all/CA+HBbNGdmkyzNqsKAimNZ=PqSaCbDEhwoXk=Yyi5HL657Hb5GA@mail.gmail.com/

I'll send a patch to remove it.

Thanks.
-- 
~Randy