From patchwork Mon Jul 11 10:50:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 964202 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 p6BBJW2x020557 for ; Mon, 11 Jul 2011 11:21:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753876Ab1GKLVu (ORCPT ); Mon, 11 Jul 2011 07:21:50 -0400 Received: from hhlx01.visionsystems.de ([62.145.30.242]:48271 "EHLO mail.visionsystems.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752716Ab1GKLVu (ORCPT ); Mon, 11 Jul 2011 07:21:50 -0400 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 11:22:36 +0000 (UTC) X-Greylist: delayed 1882 seconds by postgrey-1.27 at vger.kernel.org; Mon, 11 Jul 2011 07:21:50 EDT Received: from localhost (localhost [127.0.0.1]) by mail.visionsystems.de (Postfix) with ESMTP id C15D028354D; Mon, 11 Jul 2011 12:50:26 +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 13895-03; Mon, 11 Jul 2011 12:50:20 +0200 (CEST) Received: from visionsystems.de (kallisto.visionsystems.local [192.168.1.3]) by mail.visionsystems.de (Postfix) with ESMTP id 0C2C0283549; Mon, 11 Jul 2011 12:50:20 +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 12:50:20 +0200 Message-ID: <4E1AD56B.6080306@visionsystems.de> Date: Mon, 11 Jul 2011 12:50:19 +0200 From: Yegor Yefremov Reply-To: yegor_sub1@visionsystems.de, 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-input@vger.kernel.org CC: dmitry.torokhov@gmail.com Subject: [PATCH] Input: TPS6507X - define MFD dependencies for touch and regulator unit X-OriginalArrivalTime: 11 Jul 2011 10:50:20.0001 (UTC) FILETIME=[53D6A510:01CC3FB8] X-Virus-Scanned: amavisd-new at visionsystems.de Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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-input" 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.