Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp483616ybx; Wed, 30 Oct 2019 18:44:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTWFSB2zo7Yl3ADnN/xJEYHhbVnXDjQ2la1hsjCYqix3g6FNx1FiiKvE0S3Mbg+NMT6TwW X-Received: by 2002:a17:906:76d2:: with SMTP id q18mr1295854ejn.232.1572486261918; Wed, 30 Oct 2019 18:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572486261; cv=none; d=google.com; s=arc-20160816; b=SqJIqcdfxZKKoFKfZZa4dThcbRvFIIqP4uFwB5sXPaD1adCBeAcMQ1B0pX/RkznrG8 dHNskiQ4BHn+r3OxiQZxT/3S88+eYKyobk5yanl1VzlcFX03Dc8juCRylRv686FQrxgS 8XMDZv+I/6in+eTGrHA7iLApJ4TmzOqCjOD0Q7+m5PHxWaQzKejN00rO4ljQJXG08WWn eLJvUeCU1bpOhbtJG3ZElMc6GJfZqBDBqmJsCGX8u/m218VfQK30yd/LSEzDCt8os6vD SoqF61kUhzYdLHDHshGGLCFzaC/pxgEs2L721BeBSKWNfMpiEslnD/moQP/GDDRzfuk9 V8Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=THm33sey/F8tpDHX1qubvNAiBD6mm2zUX4cg4vLd7dI=; b=C37+KijpBeDsF/x3+awPuSxzaH0VICy4vCtoFXzhwA/MgazD4Qavkunn2zfbQB40Mr aYS/fKPaYzkWPAVxRKudo7LdiQxceDZi/K/boRtRi17rHaBR70ZedczTMYjBJX0tfrkw 4zXoBgmG1WiiHZubAnNnJ0BbCsNO44gh0D6uLjRQfUR6eKxOpWQG45zIq4G2q361qhjZ k4AJHGXB4XhfChjXjbHjit4F96K/ODNTFx3LALVAqN5P4k0xvmw8SIjB2jcH2NEeHLLZ MXQMaQjlXwsJZHeUSs4e1t2MPLLfZvFJ7wHv2As5RhQpy22gUydR2wS6zOlcQoHgnlSu 9/Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o2dIOgZ7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k16si3044416edj.133.2019.10.30.18.43.57; Wed, 30 Oct 2019 18:44:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o2dIOgZ7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726619AbfJaBk4 (ORCPT + 99 others); Wed, 30 Oct 2019 21:40:56 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:45395 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726479AbfJaBk4 (ORCPT ); Wed, 30 Oct 2019 21:40:56 -0400 Received: by mail-pg1-f194.google.com with SMTP id r1so2805071pgj.12 for ; Wed, 30 Oct 2019 18:40:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=THm33sey/F8tpDHX1qubvNAiBD6mm2zUX4cg4vLd7dI=; b=o2dIOgZ7+lrcRu01IRgjF317J2s/ys08d+KlzGOc2rpbAn+U6OLC1C30Ea8ZTaDfoE xxPZYszouo/8gDSk0vgl92TBm4esyFtuEihG41LCQ4HmtXJFQBQeIN2goqfliVb2s+5e U7r2pPvF8AhBLm3h8R2m6mwiJeHVepdQCR1lOePl7k+rpI617iIlvRymhYr0iSRaa6NF VyhVcYPrWyoY8MsndkbiCmQta31LA6p+n0OhCxrOZ1Wcw8Exuq8fqJS4tkVNifX92DPH lEIASj3sBYw3iP0THYEkZs1GgTc8MgWCYCz37blqQI2/5/Jrjfj3qQ4ARv7Dux9v/dbG 12Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=THm33sey/F8tpDHX1qubvNAiBD6mm2zUX4cg4vLd7dI=; b=b6bCEC5PjcSqvpwg3z184ObodcNl3Tmn8p3p30sTFKWqcsoBHSWWWQ2vKvW96RqtU0 3pYg49il0LC55Noj+GW9NuRLZ8ipvKtlCipolJRk7T1FRv+N9e/E0ely4OO84lxyBiN0 URcMtSZgrEmZ+yH3iEdkGJzVubBpS05uhH3TM5hNRJMN9ozBeuk6GYQLUsKbhFQPL/nD VqcVx46iBFXjh1evk2TSg3ijgKvlyeSnoDvJrbPp2AdGMCMWUlndHlQkPB9kyPyUCUwL DliKykT9IdZt+mKcKNV9Yaw7BqrlWssIGJcQN0B00hSqOeF1NS9YkV1HCkhv41arQZH1 AR6Q== X-Gm-Message-State: APjAAAXj+L6qjD3KMGiVBbO4xG85ltSf9PSB4cwxMLUN5AamCtVrVjsw p/bToucdXBlQXJUEfQSSKR4= X-Received: by 2002:aa7:9687:: with SMTP id f7mr2805612pfk.230.1572486055591; Wed, 30 Oct 2019 18:40:55 -0700 (PDT) Received: from taoren-ubuntu-R90MNF91.thefacebook.com ([2620:10d:c090:200::1:e375]) by smtp.gmail.com with ESMTPSA id b9sm1287811pfp.77.2019.10.30.18.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 18:40:55 -0700 (PDT) From: rentao.bupt@gmail.com 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 , arm@kernel.org, soc@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, openbmc@lists.ozlabs.org, taoren@fb.com Cc: Tao Ren Subject: [PATCH v2] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED Date: Wed, 30 Oct 2019 18:40:40 -0700 Message-Id: <20191031014040.12898-1-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tao Ren 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 Reviewed-by: Linus Walleij --- Changes in v2: - updated Reviewed-by and added ARM SoC and SoC maintainers to reviewers' list. 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