* [PATCH] m68k: coldfire: select legacy gpiolib interface for mcfqspi
@ 2026-04-28 15:57 Arnd Bergmann
2026-04-28 16:06 ` Geert Uytterhoeven
2026-04-29 13:45 ` Greg Ungerer
0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2026-04-28 15:57 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Arnd Bergmann, linux-m68k, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
The common coldfire code uses the old GPIO number based interfaces for
at least the QSPI chipselect lines. Select the required Kconfig symbol
to keep it building when that becomes optional.
Apparently there are no devices attached to a QSPI controller in any of
the coldfire boards, so this is not actually used in upstream kernels.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
arch/m68k/Kconfig.cpu | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
index c9a7e602d8a4..148f8a79d206 100644
--- a/arch/m68k/Kconfig.cpu
+++ b/arch/m68k/Kconfig.cpu
@@ -30,6 +30,7 @@ config COLDFIRE
select CPU_HAS_NO_MULDIV64
select GENERIC_CSUM
select GPIOLIB
+ select GPIOLIB_LEGACY if SPI_COLDFIRE_QSPI
select HAVE_LEGACY_CLK
select HAVE_PAGE_SIZE_8KB if !MMU
--
2.39.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] m68k: coldfire: select legacy gpiolib interface for mcfqspi
2026-04-28 15:57 [PATCH] m68k: coldfire: select legacy gpiolib interface for mcfqspi Arnd Bergmann
@ 2026-04-28 16:06 ` Geert Uytterhoeven
2026-04-29 13:45 ` Greg Ungerer
1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2026-04-28 16:06 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: Arnd Bergmann, linux-m68k, linux-kernel, Greg Ungerer
CC Greg
On Tue, 28 Apr 2026 at 17:57, Arnd Bergmann <arnd@kernel.org> wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The common coldfire code uses the old GPIO number based interfaces for
> at least the QSPI chipselect lines. Select the required Kconfig symbol
> to keep it building when that becomes optional.
>
> Apparently there are no devices attached to a QSPI controller in any of
> the coldfire boards, so this is not actually used in upstream kernels.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> arch/m68k/Kconfig.cpu | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
> index c9a7e602d8a4..148f8a79d206 100644
> --- a/arch/m68k/Kconfig.cpu
> +++ b/arch/m68k/Kconfig.cpu
> @@ -30,6 +30,7 @@ config COLDFIRE
> select CPU_HAS_NO_MULDIV64
> select GENERIC_CSUM
> select GPIOLIB
> + select GPIOLIB_LEGACY if SPI_COLDFIRE_QSPI
> select HAVE_LEGACY_CLK
> select HAVE_PAGE_SIZE_8KB if !MMU
>
> --
> 2.39.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] m68k: coldfire: select legacy gpiolib interface for mcfqspi
2026-04-28 15:57 [PATCH] m68k: coldfire: select legacy gpiolib interface for mcfqspi Arnd Bergmann
2026-04-28 16:06 ` Geert Uytterhoeven
@ 2026-04-29 13:45 ` Greg Ungerer
1 sibling, 0 replies; 3+ messages in thread
From: Greg Ungerer @ 2026-04-29 13:45 UTC (permalink / raw)
To: Arnd Bergmann, Geert Uytterhoeven; +Cc: Arnd Bergmann, linux-m68k, linux-kernel
Hi Arnd,
On 29/4/26 01:57, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The common coldfire code uses the old GPIO number based interfaces for
> at least the QSPI chipselect lines. Select the required Kconfig symbol
> to keep it building when that becomes optional.
>
> Apparently there are no devices attached to a QSPI controller in any of
> the coldfire boards, so this is not actually used in upstream kernels.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Thanks, applied to m68knommu for-next branch.
Regards
Greg
> ---
> arch/m68k/Kconfig.cpu | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
> index c9a7e602d8a4..148f8a79d206 100644
> --- a/arch/m68k/Kconfig.cpu
> +++ b/arch/m68k/Kconfig.cpu
> @@ -30,6 +30,7 @@ config COLDFIRE
> select CPU_HAS_NO_MULDIV64
> select GENERIC_CSUM
> select GPIOLIB
> + select GPIOLIB_LEGACY if SPI_COLDFIRE_QSPI
> select HAVE_LEGACY_CLK
> select HAVE_PAGE_SIZE_8KB if !MMU
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-04-29 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 15:57 [PATCH] m68k: coldfire: select legacy gpiolib interface for mcfqspi Arnd Bergmann
2026-04-28 16:06 ` Geert Uytterhoeven
2026-04-29 13:45 ` Greg Ungerer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox