From patchwork Mon Jul 22 04:30:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 18461 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f69.google.com (mail-vb0-f69.google.com [209.85.212.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6B74425DFC for ; Mon, 22 Jul 2013 04:46:27 +0000 (UTC) Received: by mail-vb0-f69.google.com with SMTP id w16sf8115169vbb.0 for ; Sun, 21 Jul 2013 21:46:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=+TuTMJIIhMvSstKK/O6ML2LfPBiFBH9MCFgxX7foUqY=; b=W2IdCePp3J52JXf3dW2ggeFogtL1l+KuHSpBALiMEp8jZ4mhjjwk6AexggL9/zhA+W OVtIDFYFSgC0Fez8gxF2zEtphYae36kaX9f2YFi8rFHLgHX0eutveBgvp4VaEQ1XyEsY LCXiAoLe/97oWoebkLOs5Bzanpj2EWW0rECmOMgAv/ITsoENY8B/TvK5qUAULMzKeYdK RFSg6WO+w2n+TR12LSVljKNtDp7i9gvh5m/ndSzUKjx4CTMuS27y8CwB9FerNXkKxXHq VLJJlFAA19O2AfFvaJoKC9tmDFPLz4VSQtupJ5yu9GcAnoIIfOOsWbFswz7OKBPLxUn9 ZECQ== X-Received: by 10.236.123.173 with SMTP id v33mr14767702yhh.31.1374468386684; Sun, 21 Jul 2013 21:46:26 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.88.6 with SMTP id bc6ls970310qeb.73.gmail; Sun, 21 Jul 2013 21:46:26 -0700 (PDT) X-Received: by 10.58.181.225 with SMTP id dz1mr8877271vec.95.1374468386593; Sun, 21 Jul 2013 21:46:26 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id cz7si6651702veb.33.2013.07.21.21.46.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Jul 2013 21:46:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id da11so4655143veb.6 for ; Sun, 21 Jul 2013 21:46:26 -0700 (PDT) X-Received: by 10.58.251.144 with SMTP id zk16mr8554623vec.37.1374468386274; Sun, 21 Jul 2013 21:46:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp37783veb; Sun, 21 Jul 2013 21:46:25 -0700 (PDT) X-Received: by 10.66.145.138 with SMTP id su10mr11540398pab.32.1374468385396; Sun, 21 Jul 2013 21:46:25 -0700 (PDT) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by mx.google.com with ESMTPS id ol10si17326200pbb.304.2013.07.21.21.46.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Jul 2013 21:46:25 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.47 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.47; Received: by mail-pa0-f47.google.com with SMTP id kl13so532019pab.6 for ; Sun, 21 Jul 2013 21:46:24 -0700 (PDT) X-Received: by 10.66.144.104 with SMTP id sl8mr30064219pab.9.1374468384909; Sun, 21 Jul 2013 21:46:24 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id qu10sm33422951pbb.12.2013.07.21.21.46.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Jul 2013 21:46:24 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org, Tomasz Figa Subject: [PATCH v2 1/1] ARM: EXYNOS: Update CONFIG_ARCH_NR_GPIO for Exynos Date: Mon, 22 Jul 2013 10:00:14 +0530 Message-Id: <1374467414-25801-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlekVLnG02tRJycuy4kWCTxOZrsm8RP/dy9C8iG7shQOZ2oo9pSj9jqvzulU3rBXTgTX5rU X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , With the recent cleanup in Exynos platform code notably commits 17859bec ("ARM: EXYNOS: Do not select legacy Kconfig symbols any more") and b9222210 ("ARM: EXYNOS: Remove mach/gpio.h"), the definition of ARCH_NR_GPIOS got removed. This started causing problems on SoCs like Exynos4412 which have more than the default number of GPIOs. Thus define this number in KConfig file. Without this patch we get the following errors during boot: gpiochip_add: gpios 251..258 (gpv0) failed to register samsung-pinctrl 106e0000.pinctrl: failed to register gpio_chip gpv0, error code: -22 samsung-pinctrl: probe of 106e0000.pinctrl failed with error -22 Signed-off-by: Sachin Kamat Cc: Tomasz Figa --- Changes since v1: * Changed default number to 285 (as required by 4412). --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ba412e0..f4841a2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1605,6 +1605,7 @@ config ARCH_NR_GPIO default 392 if ARCH_U8500 default 352 if ARCH_VT8500 default 288 if ARCH_SUNXI + default 285 if ARCH_EXYNOS default 264 if MACH_H4700 default 0 help