Re: [PATCH 04/21] sh: select legacy gpiolib interface

From: Rob Landley
Date: Tue Aug 12 2025 - 14:32:59 EST


On 8/8/25 10:17, Arnd Bergmann wrote:
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index d5795067befa..d60f1d5a94c0 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -462,6 +462,7 @@ config CPU_SUBTYPE_SHX3
select CPU_SHX3
select GENERIC_CLOCKEVENTS_BROADCAST if SMP
select GPIOLIB
+ select GPIOLIB_LEGACY
select PINCTRL

Is there a reason to have both rather than having GPIOLIB_LEGACY select GPIOLIB? (Does the legacy one ever NOT use the new one?)

Rob