* [PATCH v2] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3
@ 2022-05-10 9:29 Geert Uytterhoeven
2022-05-11 6:31 ` Roger Quadros
2022-06-06 9:20 ` Krzysztof Kozlowski
0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2022-05-10 9:29 UTC (permalink / raw)
To: Krzysztof Kozlowski, Roger Quadros, Tony Lindgren
Cc: linux-omap, linux-kernel, Geert Uytterhoeven
The Texas Instruments OMAP General Purpose Memory Controller (GPMC) is
only present on TI OMAP2/3/4/5, Keystone, AM33xx, AM43x, DRA7xx, TI81xx,
and K3 SoCs. Hence add a dependency on ARCH_OMAP2PLUS || ARCH_KEYSTONE
|| ARCH_K3, to prevent asking the user about this driver when
configuring a kernel without OMAP2+, Keystone, or K3 SoC family support.
Fixes: be34f45f0d4aa91c ("memory: omap-gpmc: Make OMAP_GPMC config visible and selectable")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Add ARCH_KEYSTONE, as requested by Roger Quadros.
---
drivers/memory/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
index b7800b37af78a996..ac1a411648d8656f 100644
--- a/drivers/memory/Kconfig
+++ b/drivers/memory/Kconfig
@@ -105,6 +105,7 @@ config TI_EMIF
config OMAP_GPMC
tristate "Texas Instruments OMAP SoC GPMC driver"
depends on OF_ADDRESS
+ depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
select GPIOLIB
help
This driver is for the General Purpose Memory Controller (GPMC)
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3
2022-05-10 9:29 [PATCH v2] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 Geert Uytterhoeven
@ 2022-05-11 6:31 ` Roger Quadros
2022-06-06 9:20 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Roger Quadros @ 2022-05-11 6:31 UTC (permalink / raw)
To: Geert Uytterhoeven, Krzysztof Kozlowski, Tony Lindgren
Cc: linux-omap, linux-kernel
On 10/05/2022 12:29, Geert Uytterhoeven wrote:
> The Texas Instruments OMAP General Purpose Memory Controller (GPMC) is
> only present on TI OMAP2/3/4/5, Keystone, AM33xx, AM43x, DRA7xx, TI81xx,
> and K3 SoCs. Hence add a dependency on ARCH_OMAP2PLUS || ARCH_KEYSTONE
> || ARCH_K3, to prevent asking the user about this driver when
> configuring a kernel without OMAP2+, Keystone, or K3 SoC family support.
>
> Fixes: be34f45f0d4aa91c ("memory: omap-gpmc: Make OMAP_GPMC config visible and selectable")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Roger Quadros <rogerq@kernel.org>
> ---
> v2:
> - Add ARCH_KEYSTONE, as requested by Roger Quadros.
> ---
> drivers/memory/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
> index b7800b37af78a996..ac1a411648d8656f 100644
> --- a/drivers/memory/Kconfig
> +++ b/drivers/memory/Kconfig
> @@ -105,6 +105,7 @@ config TI_EMIF
> config OMAP_GPMC
> tristate "Texas Instruments OMAP SoC GPMC driver"
> depends on OF_ADDRESS
> + depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
> select GPIOLIB
> help
> This driver is for the General Purpose Memory Controller (GPMC)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3
2022-05-10 9:29 [PATCH v2] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 Geert Uytterhoeven
2022-05-11 6:31 ` Roger Quadros
@ 2022-06-06 9:20 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-06 9:20 UTC (permalink / raw)
To: Tony Lindgren, Roger Quadros, Geert Uytterhoeven
Cc: Krzysztof Kozlowski, linux-omap, linux-kernel
On Tue, 10 May 2022 11:29:13 +0200, Geert Uytterhoeven wrote:
> The Texas Instruments OMAP General Purpose Memory Controller (GPMC) is
> only present on TI OMAP2/3/4/5, Keystone, AM33xx, AM43x, DRA7xx, TI81xx,
> and K3 SoCs. Hence add a dependency on ARCH_OMAP2PLUS || ARCH_KEYSTONE
> || ARCH_K3, to prevent asking the user about this driver when
> configuring a kernel without OMAP2+, Keystone, or K3 SoC family support.
>
>
> [...]
Applied, thanks!
[1/1] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3
https://git.kernel.org/krzk/linux-mem-ctrl/c/67c7fc6cd915d809be4de2eed323aa5f2205c52f
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-06 9:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 9:29 [PATCH v2] memory: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 Geert Uytterhoeven
2022-05-11 6:31 ` Roger Quadros
2022-06-06 9:20 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).