From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yegor Yefremov Subject: Re: [PATCH] TPS6507X: define MFD dependencies for touch and regulator unit Date: Mon, 11 Jul 2011 12:52:41 +0200 Message-ID: <4E1AD5F9.6090103@visionsystems.de> References: <4E1ABB5E.8070406@visionsystems.de> Reply-To: yegor_sub1@visionsystems.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: Received: from hhlx01.visionsystems.de ([62.145.30.242]:41574 "EHLO mail.visionsystems.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753222Ab1GKKwv (ORCPT ); Mon, 11 Jul 2011 06:52:51 -0400 In-Reply-To: <4E1ABB5E.8070406@visionsystems.de> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: yegor_sub1@visionsystems.de Cc: "linux-omap@vger.kernel.org" , Tony Lindgren Am 11.07.2011 10:59, schrieb Yegor Yefremov: > 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(-) > > 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. > sorry for the noise. I've sent the patch to the proper list. Was just trying to get this touchscreen interface working with am3517 and after some hours of research I found out, that it depends on MFD driver .... Best regards, Yegor