From patchwork Wed May 8 18:52:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 2541191 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id BDA743FC5A for ; Wed, 8 May 2013 18:52:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752183Ab3EHSw5 (ORCPT ); Wed, 8 May 2013 14:52:57 -0400 Received: from mail-qa0-f73.google.com ([209.85.216.73]:43520 "EHLO mail-qa0-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751852Ab3EHSw4 (ORCPT ); Wed, 8 May 2013 14:52:56 -0400 Received: by mail-qa0-f73.google.com with SMTP id bs12so234559qab.2 for ; Wed, 08 May 2013 11:52:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=8UaPn9Fr2pqHZK5dMbswblEfXmxbptFYDs/wau3GDko=; b=XpVDhl5IEe+vbxygzdRNoQuAD04wsEzOtkXSbe/G50a/GWT9OQJWNccJV76wHVx4/6 bzLkkLxMMzAwj5CwGbpBZpDMvtWRCib+WY4tVB0xsuchbcTh8ERb3sIOHhoI+FY/6VeL grd3JBEAUS3JBwRw0WKwNfresobG6yfMA6YbG9sOYT/aE5QGtBx/DvTSh20UR1qfz5Af wjR9dHh+RXCVCtgYF5yzMiSTL6eqthXehZCkOdYY5LAbhBERYJCOrec9S2r4vTdWovUu WuNWLxlJgP3xfxv9IISF6pwBOI3T45yNXxKLZV5bhbmzeK/AGY9Se+vVmD0eLETdSfz1 6g1A== X-Received: by 10.236.124.226 with SMTP id x62mr4590886yhh.47.1368039175574; Wed, 08 May 2013 11:52:55 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id h2si2198283yhj.2.2013.05.08.11.52.55 for (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Wed, 08 May 2013 11:52:55 -0700 (PDT) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.162.34]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 6BDE131C082; Wed, 8 May 2013 11:52:55 -0700 (PDT) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id 0D449809EE; Wed, 8 May 2013 11:52:54 -0700 (PDT) From: Doug Anderson To: Kukjin Kim Cc: Thomas Abraham , Olof Johansson , Simon Glass , Alim Akhtar , Doug Anderson , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ARM: exynos: Select PINCTRL_EXYNOS for exynos4/5 at arch level Date: Wed, 8 May 2013 11:52:48 -0700 Message-Id: <1368039168-24447-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1368034349-15091-1-git-send-email-dianders@chromium.org> References: <1368034349-15091-1-git-send-email-dianders@chromium.org> X-Gm-Message-State: ALoCoQl7nET0dc1JhOHGd+68fzQd31B8YOnf7UN1EsNFG+k8AVZa6WK8eHeWUdPLwJEjXVGwvNGGH/mwUuZR0NMj6QT+u4uifsb4ouJY96Nx2h29hm5C7UVRhO1hhl40B8G4Ai2/ZFC70p5vVtgHcH1VuMVwX3xJJhoGmdxKZEwxUTlaOd2S4744nxXc8kpKmNlOp5QvJL3DXTzCeaQAERie7j4s8j/EkQ== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Previously if you had MACH_EXYNOS5_DT but not MACH_EXYNOS4_DT you'd be missing the pincontrol definitions. Move PINCTRL selects to the arch level since we should be enabling the code for all exynos variants. It's expected that eventually exynos5440 (which seems to have its own pinctrl code) will eventually move over to the common code. Signed-off-by: Doug Anderson --- Changes in v2: - Moved to the arch level as suggested by Olof. arch/arm/mach-exynos/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 6e77432..7ee58b0 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -17,6 +17,8 @@ config ARCH_EXYNOS4 select HAVE_ARM_SCU if SMP select HAVE_SMP select MIGHT_HAVE_CACHE_L2X0 + select PINCTRL + select PINCTRL_EXYNOS help Samsung EXYNOS4 SoCs based systems @@ -24,6 +26,8 @@ config ARCH_EXYNOS5 bool "SAMSUNG EXYNOS5" select HAVE_ARM_SCU if SMP select HAVE_SMP + select PINCTRL + select PINCTRL_EXYNOS help Samsung EXYNOS5 (Cortex-A15) SoC based systems @@ -78,7 +82,6 @@ config SOC_EXYNOS5440 select ARCH_HAS_OPP select ARM_ARCH_TIMER select AUTO_ZRELADDR - select PINCTRL select PINCTRL_EXYNOS5440 select PM_OPP help @@ -412,8 +415,6 @@ config MACH_EXYNOS4_DT select CLKSRC_OF select CPU_EXYNOS4210 select KEYBOARD_SAMSUNG if INPUT_KEYBOARD - select PINCTRL - select PINCTRL_EXYNOS select S5P_DEV_MFC select USE_OF help