From patchwork Fri Jul 6 09:21:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Santosh Shilimkar X-Patchwork-Id: 1163881 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 0650EDF236 for ; Fri, 6 Jul 2012 09:22:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755929Ab2GFJWk (ORCPT ); Fri, 6 Jul 2012 05:22:40 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:50545 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755651Ab2GFJWj (ORCPT ); Fri, 6 Jul 2012 05:22:39 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id q669M9jH008283; Fri, 6 Jul 2012 04:22:10 -0500 Received: from DBDE71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id q669M9fu014811; Fri, 6 Jul 2012 14:52:09 +0530 (IST) Received: from dbdp32.itg.ti.com (172.24.170.251) by DBDE71.ent.ti.com (172.24.170.149) with Microsoft SMTP Server id 14.1.323.3; Fri, 6 Jul 2012 14:52:09 +0530 Received: from ula0393909.apr.dhcp.ti.com (smtpvbd.itg.ti.com [172.24.170.250]) by dbdp32.itg.ti.com (8.13.8/8.13.8) with ESMTP id q669LvmF019693; Fri, 6 Jul 2012 14:52:08 +0530 From: Santosh Shilimkar To: CC: , , Tarun Kanti DebBarma , Santosh Shilimkar , "Cousson, Benoit" Subject: [PATCH v2 14/14] ARM: Kconfig update to support additional GPIOs in OMAP5 Date: Fri, 6 Jul 2012 14:51:55 +0530 Message-ID: <1341566515-22665-15-git-send-email-santosh.shilimkar@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1341566515-22665-1-git-send-email-santosh.shilimkar@ti.com> References: <1341566515-22665-1-git-send-email-santosh.shilimkar@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Tarun Kanti DebBarma OMAP5 has 8 GPIO banks so that there are 32x8 = 256 GPIOs. In order for the gpiolib to detect and initialize these additional GPIOs and other TWL GPIOs, ARCH_NR_GPIO is set to 512 instead of present 256. Cc: Santosh Shilimkar Cc: Cousson, Benoit Reported-by: Govindraj.R Tested-by: Govindraj.R Signed-off-by: Tarun Kanti DebBarma Signed-off-by: Santosh Shilimkar --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a91009c..02fae9a 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1581,6 +1581,7 @@ config ARCH_NR_GPIO default 1024 if ARCH_SHMOBILE || ARCH_TEGRA default 355 if ARCH_U8500 default 264 if MACH_H4700 + default 512 if SOC_OMAP5 default 0 help Maximum number of GPIOs in the system.