From patchwork Mon Oct 28 22:49:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 11216731 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CFF6E112B for ; Mon, 28 Oct 2019 22:49:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A761421479 for ; Mon, 28 Oct 2019 22:49:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dIaT2yzi"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="K8t/xfrU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A761421479 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=lttkmiuAE6BLQHFie5hfWbAjV2SxgQRDg3HsZxpsHDw=; b=dIa T2yziA8G6cBQWOMocQJEPXteV2BMTWzj/ZCYCvvSMc0PucbgSnME8ay7sij+qdDn2aS+1Fr8LZLd/ ttd8rdU6ZyMBkbtO3c+oVHWhZlJ9KK/dMo5MgpExTWlYb6R0qp9BN5Cot5ayAZOinXMRLwB1t9wLc 36SieaIxJB88P8td1cyEPY6ECguYx7+r6YPbXL15b0rEDU9b7OWPCYK/ODSdeHd5jX0KlebSvWGgW 2rlGku9Xo3h1dABf0Z0jEQ3MecRCW+WTJ3UgyBJxHQxi+WKmgcrLimTG2dFAZb+lEdJ5OxQhs4KvH EQ+CPb/LSOUlsY9qP/8oJCYex33SaUA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iPDpN-0005lh-0C; Mon, 28 Oct 2019 22:49:33 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iPDpK-0005kA-8r; Mon, 28 Oct 2019 22:49:31 +0000 Received: by mail-pl1-x642.google.com with SMTP id t10so6455770plr.8; Mon, 28 Oct 2019 15:49:27 -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=/WZEAomVjJ+725DnvAAAnSxsbckEzTmInFHoxAcfrVY=; b=K8t/xfrUvO54cAT/K46akV/qEnLzS1/uU1SOkpoor14ttRwVYVkbpqoCY5VMK2fNbm fLMCv1GpohL5N99sSwz2m9BFR4OMmrhNGzqngucJyfv3KivEQnBBcbsKxtFirSMedw94 RO/Q8sQN9KQCI0+BEWRQ92EZ7c16k4AS4hxkOPsqg5Yj3IABTTP+HYi+zR8TYVHuSuvz NVxJjGctiHx/EsFpxF338Y7LWtbWIcPmX7IwxPtVZBWApBsiJhDWpo2DNZ3PnDVPVEYP Ao8h+M0AsX0dyvTE2U3btXDFFGPBg95M55CK2iU+BUAMClOUHAMLI6Gk+46HaRWqiiLF ALzg== 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=/WZEAomVjJ+725DnvAAAnSxsbckEzTmInFHoxAcfrVY=; b=qhFU47bQucZ04JA0XEb1VJsBIDIlAK2Gz5Zs48GezOxqbHdh6FqPyhZH9jck7mL9Im qsyEgYfkKsnvVdjY2qAlufVigHD2bkIAjjPaXjzD7iCqTKOSLCppOfJfuLHHh85fB0NK jLv4F8PivHFP1SvszBBtg1/n2ITgXWx7WzeZGI158VDnpSrTTg1liE/s1DghFuTfVMh1 1E9CDDZBo1pUQQ4ctL74CRRDUxMiRepCfHBJyrR88NAhTPMdM8QKiQmOLHPQYnaDjWfv 06QElmQZ42nvhZTxfZGaM8F1R4pLFwnzk06IXKlj1r26TwqhnPXkhq5ouqmI4uAmYG+q TRnQ== X-Gm-Message-State: APjAAAVpPBR/VthAYEUsyC4bMPpCx2S/Pl1yA0PMZtNIv+59iin+0eJ/ 63MExyi8oeSL8dtNTU0iCwY= X-Google-Smtp-Source: APXvYqxvD/GJ2WH7xzUvuVqaFgUWlHwU3zy1adKIbAVvZLCucTrhXqRqBQTAZu58dPq3TSZFuaAi/Q== X-Received: by 2002:a17:902:8345:: with SMTP id z5mr492355pln.113.1572302966574; Mon, 28 Oct 2019 15:49:26 -0700 (PDT) Received: from taoren-ubuntu-R90MNF91.thefacebook.com ([2620:10d:c090:200::2:78fe]) by smtp.gmail.com with ESMTPSA id y129sm13092345pgb.28.2019.10.28.15.49.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2019 15:49:25 -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 , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, openbmc@lists.ozlabs.org, taoren@fb.com Subject: [PATCH] ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED Date: Mon, 28 Oct 2019 15:49:09 -0700 Message-Id: <20191028224909.1069-1-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191028_154930_314557_24252FF5 X-CRM114-Status: GOOD ( 10.94 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:642 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rentao.bupt[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tao Ren MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 --- 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