All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
@ 2019-10-28 22:49 ` rentao.bupt
  0 siblings, 0 replies; 11+ messages in thread
From: rentao.bupt @ 2019-10-28 22:49 UTC (permalink / raw)
  To: Russell King, Matthias Brugger, Arnd Bergmann, Linus Walleij,
	Paul Burton, Andrew Morton, Mauro Carvalho Chehab,
	Bartosz Golaszewski, Mike Rapoport, Doug Anderson,
	Ard Biesheuvel, Benjamin Gaignard, Joel Stanley, Andrew Jeffery,
	linux-arm-kernel, linux-kernel, linux-mediatek, openbmc, taoren
  Cc: Tao Ren

From: Tao Ren <rentao.bupt@gmail.com>

Increase the max number of GPIOs from default 512 to 1024 for ASPEED
platforms, because Facebook Yamp (AST2500) BMC platform has total 594
GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
 arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index b7dbeb652cb1..57504f3365c7 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1359,7 +1359,7 @@ config ARCH_NR_GPIO
 	int
 	default 2048 if ARCH_SOCFPGA
 	default 1024 if ARCH_BRCMSTB || ARCH_RENESAS || ARCH_TEGRA || \
-		ARCH_ZYNQ
+		ARCH_ZYNQ || ARCH_ASPEED
 	default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
 		SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
 	default 416 if ARCH_SUNXI
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
@ 2019-10-28 22:49 ` rentao.bupt
  0 siblings, 0 replies; 11+ messages in thread
From: rentao.bupt @ 2019-10-28 22:49 UTC (permalink / raw)
  To: Russell King, Matthias Brugger, Arnd Bergmann, Linus Walleij,
	Paul Burton, Andrew Morton, Mauro Carvalho Chehab,
	Bartosz Golaszewski, Mike Rapoport, Doug Anderson,
	Ard Biesheuvel, Benjamin Gaignard, Joel Stanley, Andrew Jeffery,
	linux-arm-kernel, linux-kernel, linux-mediatek, openbmc, taoren
  Cc: Tao Ren

From: Tao Ren <rentao.bupt@gmail.com>

Increase the max number of GPIOs from default 512 to 1024 for ASPEED
platforms, because Facebook Yamp (AST2500) BMC platform has total 594
GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
 arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index b7dbeb652cb1..57504f3365c7 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1359,7 +1359,7 @@ config ARCH_NR_GPIO
 	int
 	default 2048 if ARCH_SOCFPGA
 	default 1024 if ARCH_BRCMSTB || ARCH_RENESAS || ARCH_TEGRA || \
-		ARCH_ZYNQ
+		ARCH_ZYNQ || ARCH_ASPEED
 	default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
 		SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
 	default 416 if ARCH_SUNXI
-- 
2.17.1


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
@ 2019-10-28 22:49 ` rentao.bupt
  0 siblings, 0 replies; 11+ messages in thread
From: rentao.bupt @ 2019-10-28 22:49 UTC (permalink / raw)
  To: Russell King, Matthias Brugger, Arnd Bergmann, Linus Walleij,
	Paul Burton, Andrew Morton, Mauro Carvalho Chehab,
	Bartosz Golaszewski, Mike Rapoport, Doug Anderson,
	Ard Biesheuvel, Benjamin Gaignard, Joel Stanley, Andrew Jeffery,
	linux-arm-kernel, linux-kernel, linux-mediatek, openbmc, taoren
  Cc: Tao Ren

From: Tao Ren <rentao.bupt@gmail.com>

Increase the max number of GPIOs from default 512 to 1024 for ASPEED
platforms, because Facebook Yamp (AST2500) BMC platform has total 594
GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
 arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index b7dbeb652cb1..57504f3365c7 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1359,7 +1359,7 @@ config ARCH_NR_GPIO
 	int
 	default 2048 if ARCH_SOCFPGA
 	default 1024 if ARCH_BRCMSTB || ARCH_RENESAS || ARCH_TEGRA || \
-		ARCH_ZYNQ
+		ARCH_ZYNQ || ARCH_ASPEED
 	default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
 		SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
 	default 416 if ARCH_SUNXI
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
  2019-10-28 22:49 ` rentao.bupt
  (?)
  (?)
@ 2019-10-31  0:49   ` Linus Walleij
  -1 siblings, 0 replies; 11+ messages in thread
From: Linus Walleij @ 2019-10-31  0:49 UTC (permalink / raw)
  To: rentao.bupt
  Cc: Russell King, Matthias Brugger, Arnd Bergmann, Paul Burton,
	Andrew Morton, Mauro Carvalho Chehab, Bartosz Golaszewski,
	Mike Rapoport, Doug Anderson, Ard Biesheuvel, Benjamin Gaignard,
	Joel Stanley, Andrew Jeffery, Linux ARM, linux-kernel,
	moderated list:ARM/Mediatek SoC support, OpenBMC Maillist,
	Tao Ren

On Mon, Oct 28, 2019 at 11:49 PM <rentao.bupt@gmail.com> wrote:

> From: Tao Ren <rentao.bupt@gmail.com>
>
> Increase the max number of GPIOs from default 512 to 1024 for ASPEED
> platforms, because Facebook Yamp (AST2500) BMC platform has total 594
> GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).
>
> Signed-off-by: Tao Ren <rentao.bupt@gmail.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Please send this patch to the ARM SoC and SoC maintainers:
arm@kernel.org
soc@kernel.org

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
@ 2019-10-31  0:49   ` Linus Walleij
  0 siblings, 0 replies; 11+ messages in thread
From: Linus Walleij @ 2019-10-31  0:49 UTC (permalink / raw)
  To: rentao.bupt
  Cc: Russell King, Matthias Brugger, Arnd Bergmann, Paul Burton,
	Andrew Morton, Mauro Carvalho Chehab, Bartosz Golaszewski,
	Mike Rapoport, Doug Anderson, Ard Biesheuvel, Benjamin Gaignard,
	Joel Stanley, Andrew Jeffery, Linux ARM, linux-kernel,
	moderated list:ARM/Mediatek SoC support, OpenBMC Maillist,
	Tao Ren

On Mon, Oct 28, 2019 at 11:49 PM <rentao.bupt@gmail.com> wrote:

> From: Tao Ren <rentao.bupt@gmail.com>
>
> Increase the max number of GPIOs from default 512 to 1024 for ASPEED
> platforms, because Facebook Yamp (AST2500) BMC platform has total 594
> GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).
>
> Signed-off-by: Tao Ren <rentao.bupt@gmail.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Please send this patch to the ARM SoC and SoC maintainers:
arm@kernel.org
soc@kernel.org

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
@ 2019-10-31  0:49   ` Linus Walleij
  0 siblings, 0 replies; 11+ messages in thread
From: Linus Walleij @ 2019-10-31  0:49 UTC (permalink / raw)
  To: rentao.bupt
  Cc: Arnd Bergmann, Paul Burton, Bartosz Golaszewski, Andrew Jeffery,
	linux-kernel, OpenBMC Maillist, Ard Biesheuvel, Russell King,
	Mike Rapoport, Mauro Carvalho Chehab,
	moderated list:ARM/Mediatek SoC support, Joel Stanley,
	Benjamin Gaignard, Tao Ren, Matthias Brugger, Doug Anderson,
	Andrew Morton, Linux ARM

On Mon, Oct 28, 2019 at 11:49 PM <rentao.bupt@gmail.com> wrote:

> From: Tao Ren <rentao.bupt@gmail.com>
>
> Increase the max number of GPIOs from default 512 to 1024 for ASPEED
> platforms, because Facebook Yamp (AST2500) BMC platform has total 594
> GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).
>
> Signed-off-by: Tao Ren <rentao.bupt@gmail.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Please send this patch to the ARM SoC and SoC maintainers:
arm@kernel.org
soc@kernel.org

Yours,
Linus Walleij

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
@ 2019-10-31  0:49   ` Linus Walleij
  0 siblings, 0 replies; 11+ messages in thread
From: Linus Walleij @ 2019-10-31  0:49 UTC (permalink / raw)
  To: rentao.bupt
  Cc: Arnd Bergmann, Paul Burton, Bartosz Golaszewski, Andrew Jeffery,
	linux-kernel, OpenBMC Maillist, Ard Biesheuvel, Russell King,
	Mike Rapoport, Mauro Carvalho Chehab,
	moderated list:ARM/Mediatek SoC support, Joel Stanley,
	Benjamin Gaignard, Tao Ren, Matthias Brugger, Doug Anderson,
	Andrew Morton, Linux ARM

On Mon, Oct 28, 2019 at 11:49 PM <rentao.bupt@gmail.com> wrote:

> From: Tao Ren <rentao.bupt@gmail.com>
>
> Increase the max number of GPIOs from default 512 to 1024 for ASPEED
> platforms, because Facebook Yamp (AST2500) BMC platform has total 594
> GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).
>
> Signed-off-by: Tao Ren <rentao.bupt@gmail.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Please send this patch to the ARM SoC and SoC maintainers:
arm@kernel.org
soc@kernel.org

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
  2019-10-31  0:49   ` Linus Walleij
  (?)
  (?)
@ 2019-10-31  1:26     ` Tao Ren
  -1 siblings, 0 replies; 11+ messages in thread
From: Tao Ren @ 2019-10-31  1:26 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Russell King, Matthias Brugger, Arnd Bergmann, Paul Burton,
	Andrew Morton, Mauro Carvalho Chehab, Bartosz Golaszewski,
	Mike Rapoport, Doug Anderson, Ard Biesheuvel, Benjamin Gaignard,
	Joel Stanley, Andrew Jeffery, Linux ARM, linux-kernel,
	moderated list:ARM/Mediatek SoC support, OpenBMC Maillist,
	Tao Ren

On Thu, Oct 31, 2019 at 01:49:43AM +0100, Linus Walleij wrote:
> On Mon, Oct 28, 2019 at 11:49 PM <rentao.bupt@gmail.com> wrote:
> 
> > From: Tao Ren <rentao.bupt@gmail.com>
> >
> > Increase the max number of GPIOs from default 512 to 1024 for ASPEED
> > platforms, because Facebook Yamp (AST2500) BMC platform has total 594
> > GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).
> >
> > Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
> 
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> 
> Please send this patch to the ARM SoC and SoC maintainers:
> arm@kernel.org
> soc@kernel.org

Thanks Linus for the review. I will add ARM SoC and SoC maintaniers in
patch v2.

Somehow get_maintainer.pl doesn't list the 2 addresses in my tree; do I
need to send a patch to update MAINTAINERS accordingly?
 
> Yours,
> Linus Walleij

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
@ 2019-10-31  1:26     ` Tao Ren
  0 siblings, 0 replies; 11+ messages in thread
From: Tao Ren @ 2019-10-31  1:26 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Russell King, Matthias Brugger, Arnd Bergmann, Paul Burton,
	Andrew Morton, Mauro Carvalho Chehab, Bartosz Golaszewski,
	Mike Rapoport, Doug Anderson, Ard Biesheuvel, Benjamin Gaignard,
	Joel Stanley, Andrew Jeffery, Linux ARM, linux-kernel,
	moderated list:ARM/Mediatek SoC support, OpenBMC Maillist,
	Tao Ren

On Thu, Oct 31, 2019 at 01:49:43AM +0100, Linus Walleij wrote:
> On Mon, Oct 28, 2019 at 11:49 PM <rentao.bupt@gmail.com> wrote:
> 
> > From: Tao Ren <rentao.bupt@gmail.com>
> >
> > Increase the max number of GPIOs from default 512 to 1024 for ASPEED
> > platforms, because Facebook Yamp (AST2500) BMC platform has total 594
> > GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).
> >
> > Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
> 
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> 
> Please send this patch to the ARM SoC and SoC maintainers:
> arm@kernel.org
> soc@kernel.org

Thanks Linus for the review. I will add ARM SoC and SoC maintaniers in
patch v2.

Somehow get_maintainer.pl doesn't list the 2 addresses in my tree; do I
need to send a patch to update MAINTAINERS accordingly?
 
> Yours,
> Linus Walleij

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
@ 2019-10-31  1:26     ` Tao Ren
  0 siblings, 0 replies; 11+ messages in thread
From: Tao Ren @ 2019-10-31  1:26 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Arnd Bergmann, Paul Burton, Bartosz Golaszewski, Andrew Jeffery,
	linux-kernel, OpenBMC Maillist, Ard Biesheuvel, Russell King,
	Mike Rapoport, Mauro Carvalho Chehab,
	moderated list:ARM/Mediatek SoC support, Joel Stanley,
	Benjamin Gaignard, Tao Ren, Matthias Brugger, Doug Anderson,
	Andrew Morton, Linux ARM

On Thu, Oct 31, 2019 at 01:49:43AM +0100, Linus Walleij wrote:
> On Mon, Oct 28, 2019 at 11:49 PM <rentao.bupt@gmail.com> wrote:
> 
> > From: Tao Ren <rentao.bupt@gmail.com>
> >
> > Increase the max number of GPIOs from default 512 to 1024 for ASPEED
> > platforms, because Facebook Yamp (AST2500) BMC platform has total 594
> > GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).
> >
> > Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
> 
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> 
> Please send this patch to the ARM SoC and SoC maintainers:
> arm@kernel.org
> soc@kernel.org

Thanks Linus for the review. I will add ARM SoC and SoC maintaniers in
patch v2.

Somehow get_maintainer.pl doesn't list the 2 addresses in my tree; do I
need to send a patch to update MAINTAINERS accordingly?
 
> Yours,
> Linus Walleij

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
@ 2019-10-31  1:26     ` Tao Ren
  0 siblings, 0 replies; 11+ messages in thread
From: Tao Ren @ 2019-10-31  1:26 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Arnd Bergmann, Paul Burton, Bartosz Golaszewski, Andrew Jeffery,
	linux-kernel, OpenBMC Maillist, Ard Biesheuvel, Russell King,
	Mike Rapoport, Mauro Carvalho Chehab,
	moderated list:ARM/Mediatek SoC support, Joel Stanley,
	Benjamin Gaignard, Tao Ren, Matthias Brugger, Doug Anderson,
	Andrew Morton, Linux ARM

On Thu, Oct 31, 2019 at 01:49:43AM +0100, Linus Walleij wrote:
> On Mon, Oct 28, 2019 at 11:49 PM <rentao.bupt@gmail.com> wrote:
> 
> > From: Tao Ren <rentao.bupt@gmail.com>
> >
> > Increase the max number of GPIOs from default 512 to 1024 for ASPEED
> > platforms, because Facebook Yamp (AST2500) BMC platform has total 594
> > GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders).
> >
> > Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
> 
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> 
> Please send this patch to the ARM SoC and SoC maintainers:
> arm@kernel.org
> soc@kernel.org

Thanks Linus for the review. I will add ARM SoC and SoC maintaniers in
patch v2.

Somehow get_maintainer.pl doesn't list the 2 addresses in my tree; do I
need to send a patch to update MAINTAINERS accordingly?
 
> Yours,
> Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-10-31  1:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-28 22:49 [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED rentao.bupt
2019-10-28 22:49 ` rentao.bupt
2019-10-28 22:49 ` rentao.bupt
2019-10-31  0:49 ` Linus Walleij
2019-10-31  0:49   ` Linus Walleij
2019-10-31  0:49   ` Linus Walleij
2019-10-31  0:49   ` Linus Walleij
2019-10-31  1:26   ` Tao Ren
2019-10-31  1:26     ` Tao Ren
2019-10-31  1:26     ` Tao Ren
2019-10-31  1:26     ` Tao Ren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.