From patchwork Tue Jan 4 05:34:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Reilly X-Patchwork-Id: 449531 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p045aQr8001699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 4 Jan 2011 05:36:48 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1PZzYk-0002sy-9M; Tue, 04 Jan 2011 05:35:50 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1PZzYi-0002sr-IE for spi-devel-general@lists.sourceforge.net; Tue, 04 Jan 2011 05:35:48 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.175 as permitted sender) client-ip=209.85.214.175; envelope-from=marc.reilly@gmail.com; helo=mail-iw0-f175.google.com; Received: from mail-iw0-f175.google.com ([209.85.214.175]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-MD5:128) (Exim 4.72) id 1PZzYh-0000Cb-KV for spi-devel-general@lists.sourceforge.net; Tue, 04 Jan 2011 05:35:48 +0000 Received: by mail-iw0-f175.google.com with SMTP id 8so14051436iwn.34 for ; Mon, 03 Jan 2011 21:35:47 -0800 (PST) Received: by 10.42.175.195 with SMTP id bb3mr21760407icb.391.1294119347511; Mon, 03 Jan 2011 21:35:47 -0800 (PST) Received: from localhost.localdomain (220-244-174-13.static.tpgi.com.au [220.244.174.13]) by mx.google.com with ESMTPS id he5sm18284058icb.10.2011.01.03.21.35.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 Jan 2011 21:35:47 -0800 (PST) From: Marc Reilly To: linux-arm-kernel@lists.infradead.org, u.kleine-koenig@pengutronix.de Subject: [PATCH v4 2/4] mc13xxx-core: Kconfig: Config menu driven by specific IC type Date: Tue, 4 Jan 2011 16:34:57 +1100 Message-Id: <1294119299-18352-3-git-send-email-marc@cpdesign.com.au> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1294119299-18352-1-git-send-email-marc@cpdesign.com.au> References: <1294119299-18352-1-git-send-email-marc@cpdesign.com.au> X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is freemail (marc.reilly[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL X-Headers-End: 1PZzYh-0000Cb-KV Cc: spi-devel-general@lists.sourceforge.net, linux-i2c@vger.kernel.org, Marc Reilly X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: spi-devel-general-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 04 Jan 2011 05:36:48 +0000 (UTC) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 3a1493b..9ce1d42 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -425,20 +425,36 @@ config MFD_PCF50633 so that function-specific drivers can bind to them. config MFD_MC13783 - tristate - -config MFD_MC13XXX - tristate "Support Freescale MC13783 and MC13892" depends on SPI_MASTER - select MFD_CORE - select MFD_MC13783 + select MFD_MC13XXX_SPI + tristate "Support for Freescale MC13783 PMIC" help - Support for the Freescale (Atlas) PMIC and audio CODECs - MC13783 and MC13892. - This driver provides common support for accessing the device, + Support for the Freescale MC13783 PMIC and audio CODEC. + This driver provides common support for accessing the device, additional drivers must be enabled in order to use the functionality of the device. +config MFD_MC13892 + depends on SPI_MASTER || I2C + select MFD_MC13XXX + tristate "Support for Freescale MC13892 PMIC" + help + Enable support for the Freescale MC13892 PMIC. + As the MC13892 can connect by either I2C or SPI bus, you will + also need to select which of these you would like to support. + Additional drivers must be enabled in order to use the + functionality of the device. + +config MFD_MC13XXX + tristate + depends on SPI_MASTER || I2C + select MFD_CORE + +config MFD_MC13XXX_SPI + tristate "Support Freescale MC13783 and MC13892 via SPI interface" + select MFD_MC13XXX + depends on SPI_MASTER && (MFD_MC13783 || MFD_MC13892) + config PCF50633_ADC tristate "Support for NXP PCF50633 ADC" depends on MFD_PCF50633