From patchwork Mon Nov 7 14:15:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 4947 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 1B41623E0B for ; Mon, 7 Nov 2011 14:46:35 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 0C96AA1863B for ; Mon, 7 Nov 2011 14:46:35 +0000 (UTC) Received: by faan26 with SMTP id n26so7354080faa.11 for ; Mon, 07 Nov 2011 06:46:34 -0800 (PST) Received: by 10.152.106.115 with SMTP id gt19mr6646949lab.27.1320677194819; Mon, 07 Nov 2011 06:46:34 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.14.103 with SMTP id o7cs58652lac; Mon, 7 Nov 2011 06:46:34 -0800 (PST) Received: by 10.213.7.81 with SMTP id c17mr2376603ebc.31.1320677193126; Mon, 07 Nov 2011 06:46:33 -0800 (PST) Received: from eu1sys200aog104.obsmtp.com (eu1sys200aog104.obsmtp.com. [207.126.144.117]) by mx.google.com with SMTP id z2si4712488eeb.7.2011.11.07.06.46.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Nov 2011 06:46:33 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.117 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.117; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.117 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob104.postini.com ([207.126.147.11]) with SMTP; Mon, 07 Nov 2011 14:46:32 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 7B59FCC; Mon, 7 Nov 2011 14:15:09 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id 6C39E45; Mon, 7 Nov 2011 14:15:09 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 9B0A5A807D; Mon, 7 Nov 2011 15:15:03 +0100 (CET) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.83.0; Mon, 7 Nov 2011 15:15:08 +0100 From: Linus Walleij To: , Stephen Warren , Barry Song <21cnbao@gmail.com>, Shawn Guo Cc: Linaro Dev , Sascha Hauer , David Brown , Grant Likely , Linus Walleij Subject: [PATCH] pinctrl: hide subsystem from the populace Date: Mon, 7 Nov 2011 15:15:04 +0100 Message-ID: <1320675304-1857-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.3.2 MIME-Version: 1.0 From: Linus Walleij Machines that have embedded pin controllers need to select them explicitly, so why broadcast their config options to menuconfig. We provide a helpful submenu for those machines that do select it, making it possible to enable debugging for example. Reported-by: Linus Torvalds Signed-off-by: Linus Walleij --- drivers/pinctrl/Kconfig | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index ef56644..e816f60 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -2,18 +2,15 @@ # PINCTRL infrastructure and drivers # -menuconfig PINCTRL - bool "PINCTRL Support" +config PINCTRL + bool depends on EXPERIMENTAL - help - This enables the PINCTRL subsystem for controlling pins - on chip packages, for example multiplexing pins on primarily - PGA and BGA packages for systems on chip. - - If unsure, say N. if PINCTRL +menu "Pin controllers" + depends on PINCTRL + config PINMUX bool "Support pinmux controllers" help @@ -40,4 +37,6 @@ config PINMUX_U300 help Say Y here to enable the U300 pinmux driver +endmenu + endif