From patchwork Thu Oct 31 01:40:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 11220549 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 6BF34913 for ; Thu, 31 Oct 2019 01:40:58 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 164EA208E3 for ; Thu, 31 Oct 2019 01:40:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="O0CSjNI4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 164EA208E3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+752+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id wE6oYY1556264xqgbDaxrz7f; Wed, 30 Oct 2019 18:40:57 -0700 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web12.445.1572486057263564809 for ; Wed, 30 Oct 2019 18:40:57 -0700 X-Received: by mail.kernel.org (Postfix) id ACD5720873; Thu, 31 Oct 2019 01:40:56 +0000 (UTC) X-Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 742B920856; Thu, 31 Oct 2019 01:40:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 742B920856 X-Received: by mail-pf1-f194.google.com with SMTP id v4so3061987pff.6; Wed, 30 Oct 2019 18:40:56 -0700 (PDT) X-Gm-Message-State: PbMgBtnnPv5eMVq9EUhjyCV0x1554929AA= X-Google-Smtp-Source: APXvYqyiiRYmWih5L7Km/8PhYX+xDLNb0WRqCF0+D79eVEcUhmNcBHqLVY85E0aeQ3LEWB8Yel6ujA== X-Received: by 2002:aa7:9687:: with SMTP id f7mr2805612pfk.230.1572486055591; Wed, 30 Oct 2019 18:40:55 -0700 (PDT) X-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: Linuxkernel+Patchwork-Soc via Email Integration 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> Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1572486057; bh=DQi8OsU/plouakvMsFZcnJhYT+3OMx14vJ1cIaCG2yU=; h=Cc:Date:From:Reply-To:Subject:To; b=O0CSjNI4AYeesoE6ixuMStXyTEizfEa1J7iH4moC61XkuRQYnhv/VXq6e+gbt8zO8vt 9LmptYEE41bDY6RQmqgN0egatm2q0JhLUZ4fV1Uy1rtdXq7YE0u9R//flbLmDgudMYQxP KHDIghiLDJg1LudANlq2gmYTOMXM95DkNzw= 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 Acked-by: Andrew Jeffery --- 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