From patchwork Mon Jul 11 08:59:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 963792 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6B8xLTq002444 for ; Mon, 11 Jul 2011 08:59:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750829Ab1GKI7U (ORCPT ); Mon, 11 Jul 2011 04:59:20 -0400 Received: from ns.vscom.de ([62.145.30.242]:60784 "EHLO mail.visionsystems.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1749667Ab1GKI7T (ORCPT ); Mon, 11 Jul 2011 04:59:19 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.visionsystems.de (Postfix) with ESMTP id C9B80280EC6; Mon, 11 Jul 2011 10:59:17 +0200 (CEST) Received: from mail.visionsystems.de ([127.0.0.1]) by localhost (mail.visionsystems.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12207-05; Mon, 11 Jul 2011 10:59:11 +0200 (CEST) Received: from visionsystems.de (kallisto.visionsystems.local [192.168.1.3]) by mail.visionsystems.de (Postfix) with ESMTP id 084CB27F926; Mon, 11 Jul 2011 10:59:11 +0200 (CEST) Received: from [192.168.1.38] ([192.168.1.38]) by visionsystems.de with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Jul 2011 10:59:10 +0200 Message-ID: <4E1ABB5E.8070406@visionsystems.de> Date: Mon, 11 Jul 2011 10:59:10 +0200 From: Yegor Yefremov Reply-To: yegor_sub1@visionsystems.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: "linux-omap@vger.kernel.org" CC: Tony Lindgren Subject: [PATCH] TPS6507X: define MFD dependencies for touch and regulator unit X-OriginalArrivalTime: 11 Jul 2011 08:59:10.0993 (UTC) FILETIME=[CCCCC810:01CC3FA8] X-Virus-Scanned: amavisd-new at visionsystems.de Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 11 Jul 2011 08:59:22 +0000 (UTC) both touchscreen and regulator units are only working if mfd device is activated. So if mfd support is enabled, select TPS6507X mfd support automatically. Signed-off-by: Yegor Yefremov --- drivers/input/touchscreen/Kconfig | 3 ++- drivers/regulator/Kconfig | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: b/drivers/input/touchscreen/Kconfig =================================================================== --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -716,7 +716,8 @@ config TOUCHSCREEN_TPS6507X tristate "TPS6507x based touchscreens" - depends on I2C + depends on I2C && MFD_SUPPORT + select TPS6507X help Say Y here if you have a TPS6507x based touchscreen controller. Index: b/drivers/regulator/Kconfig =================================================================== --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -242,7 +242,8 @@ config REGULATOR_TPS6507X tristate "TI TPS6507X Power regulators" - depends on I2C + depends on I2C && MFD_SUPPORT + select TPS6507X help This driver supports TPS6507X voltage regulator chips. TPS6507X provides three step-down converters and two general-purpose LDO voltage regulators.