[PATCH 3/6] ARM: Kconfig: set default gpio number for rockchip SoCs

Doug Anderson dianders at chromium.org
Tue Jul 15 21:41:26 PDT 2014


Heiko,

On Tue, Jul 15, 2014 at 4:01 PM, Heiko Stübner <heiko at sntech.de> wrote:
> The new rk3288 needs a bigger gpio space, as it has 9 gpio banks.
>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> ---
>  arch/arm/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 87b63fd..8d1dee0 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1574,6 +1574,7 @@ config ARCH_NR_GPIO
>         default 416 if ARCH_SUNXI
>         default 392 if ARCH_U8500
>         default 352 if ARCH_VT8500
> +       default 288 if ARCH_ROCKCHIP

Looks reasonable.  9 banks of 32 and that matches what's in the pinmux driver.

Reviewed-by: Doug Anderson <dianders at chromium.org>
Tested-by: Doug Anderson <dianders at chromium.org>



More information about the linux-arm-kernel mailing list