* [PATCH] gpio: rcar: Enable r8a7795 for ARM64
@ 2015-08-25 8:39 Kuninori Morimoto
2015-08-25 8:58 ` Geert Uytterhoeven
0 siblings, 1 reply; 3+ messages in thread
From: Kuninori Morimoto @ 2015-08-25 8:39 UTC (permalink / raw)
To: Simon, Linus Walleij
Cc: Magnus, linux-sh, Alexandre Courbot, linux-gpio, linux-kernel
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
8cd1470("gpio: rcar: Add r8a7795 (R-Car H3) support") adds
GPIO support for r8a7795. r8a7795 based on CONFIG_ARM64.
This patch enables r8a7795 on ARM64.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index b4fc9e4..5d083f7 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -356,7 +356,7 @@ config GPIO_PXA
config GPIO_RCAR
tristate "Renesas R-Car GPIO"
- depends on ARM && (ARCH_SHMOBILE || COMPILE_TEST)
+ depends on (ARM || ARM64) && (ARCH_SHMOBILE || COMPILE_TEST)
select GPIOLIB_IRQCHIP
help
Say yes here to support GPIO on Renesas R-Car SoCs.
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio: rcar: Enable r8a7795 for ARM64
2015-08-25 8:39 [PATCH] gpio: rcar: Enable r8a7795 for ARM64 Kuninori Morimoto
@ 2015-08-25 8:58 ` Geert Uytterhoeven
2015-08-25 9:15 ` Kuninori Morimoto
0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2015-08-25 8:58 UTC (permalink / raw)
To: Kuninori Morimoto
Cc: Simon, Linus Walleij, Magnus, Linux-sh list, Alexandre Courbot,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Hi Morimoto-san,
On Tue, Aug 25, 2015 at 10:39 AM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> 8cd1470("gpio: rcar: Add r8a7795 (R-Car H3) support") adds
> GPIO support for r8a7795. r8a7795 based on CONFIG_ARM64.
> This patch enables r8a7795 on ARM64.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> drivers/gpio/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index b4fc9e4..5d083f7 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -356,7 +356,7 @@ config GPIO_PXA
>
> config GPIO_RCAR
> tristate "Renesas R-Car GPIO"
> - depends on ARM && (ARCH_SHMOBILE || COMPILE_TEST)
> + depends on (ARM || ARM64) && (ARCH_SHMOBILE || COMPILE_TEST)
As this driver seems to compile fine on non-ARM, what about relaxing the
dependency to
depends on ARCH_SHMOBILE || COMPILE_TEST
instead?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio: rcar: Enable r8a7795 for ARM64
2015-08-25 8:58 ` Geert Uytterhoeven
@ 2015-08-25 9:15 ` Kuninori Morimoto
0 siblings, 0 replies; 3+ messages in thread
From: Kuninori Morimoto @ 2015-08-25 9:15 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Simon, Linus Walleij, Magnus, Linux-sh list, Alexandre Courbot,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Hi Geert
> > config GPIO_RCAR
> > tristate "Renesas R-Car GPIO"
> > - depends on ARM && (ARCH_SHMOBILE || COMPILE_TEST)
> > + depends on (ARM || ARM64) && (ARCH_SHMOBILE || COMPILE_TEST)
>
> As this driver seems to compile fine on non-ARM, what about relaxing the
> dependency to
>
> depends on ARCH_SHMOBILE || COMPILE_TEST
I posted updated one, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-25 9:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-25 8:39 [PATCH] gpio: rcar: Enable r8a7795 for ARM64 Kuninori Morimoto
2015-08-25 8:58 ` Geert Uytterhoeven
2015-08-25 9:15 ` Kuninori Morimoto
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).