Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3660815ybg; Mon, 28 Oct 2019 16:48:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDRTG3ir315evlL5F84n1Mwmh98l0OpeMFPIJDkvE5PSVYYhtQHD46ZUwq4juiElth5liG X-Received: by 2002:a05:6402:304c:: with SMTP id bu12mr21877203edb.230.1572306509909; Mon, 28 Oct 2019 16:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572306509; cv=none; d=google.com; s=arc-20160816; b=iIKmqICMg1iXk87if5wQgzcsfSy6XC6+htinH1V5wm0R8+CKPInpBmvJmdnGB4guhh ZVvVohZ7TibMW86arfghSsw/Jzbp+KZyNDRMHUrcjfxhEcfDvojdYy4TUz2jNz7PyTSf a1h6z9BJiJ5iJsOsFYtvEquWZaXyUv/kTIgDX4humcwntJn2BCor1WPKWsAPbVeol3XM 4VfxQDx9y2MFAx6lrm4ibq8NbIUEMXRyKhG6h6OGILO13lWBio9a102N3lKQb0hwuiUF QROFQXm0yCGQoY8cTo0YXF2bMOYB/PoxTzrrTCtj6HesP0cFrNtcXt7Lu5rdqJIV0bQ4 TCzQ== 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=/WZEAomVjJ+725DnvAAAnSxsbckEzTmInFHoxAcfrVY=; b=wBxJ1dA57I9txASf7Tb1MiHMm4mlTnKEvPnmiyDk2AvfKakideVlathfk5HSuOx74X YjZk024wLJWHXwXUVVM4vzVpo/RhR4CyoikwinosldQaPygs0VWtMUS3qQmYI4727ofi Q+9aWzrnkJTxUPoR6JnNf01PLhBWIkW3x+4JMtwmUIjflKR19hQjNl5fgQhCmwiiKc0W DVLH4iUf0P627B2VNc+L95NpIMBvczLh0hrUfPz/JJ/D7+fC5X6/GG/AepT1MXbmqV2N L7og4zhQz6ur64CnN1Nx6jXxGXSlsjR0pk/Rn82sCZ9Qhi0iyVQ9ssJBPdlHjVOLYFqF 0oWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="K8t/xfrU"; 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 y61si9256700ede.24.2019.10.28.16.48.06; Mon, 28 Oct 2019 16:48:29 -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="K8t/xfrU"; 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 S1730099AbfJ1Wt3 (ORCPT + 99 others); Mon, 28 Oct 2019 18:49:29 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:33537 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbfJ1Wt3 (ORCPT ); Mon, 28 Oct 2019 18:49:29 -0400 Received: by mail-pl1-f196.google.com with SMTP id y8so6480453plk.0 for ; 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=GY1hZ26E//vavbzqid02scWpRB8QGFSonYGwjuT3MxbA/VlJwDnUXaDXX5d4JfWgOE +9wOW3n5BUDp0tnbU/oSKdXg4v0zIVyCReC+W+XKdrpiaa1csVBPevy7VsHgSCkj4xyz iwNj2YQnfpURcRvb0HTib46gQvmdJdH7eZr0kNdRnE6n2XUfPdIMBiRTtIMl8wRudOrF PZ3dZckYMwY3662YTULJLAK53CixFhzf+ikxOLQShRC7yY6U+HXBfSSPkD9wfXYx2R3c ooK7eLb50wdFVOK3ir80oPKOsjivSUOHDCFwFLrtuIX0QWfdDVynG5lZc9+h7O1G0Xjp 5aNA== X-Gm-Message-State: APjAAAVnB0OfS7KVMZ9DsqpRTtDwSPp08yVu+m+9qsn07oYoUZQvgt+R ifYpTf7Z2e1+QPaXLgFkOsA= 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 Cc: Tao Ren 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 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 --- 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