From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932789AbcL0Vyb (ORCPT ); Tue, 27 Dec 2016 16:54:31 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:34514 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932199AbcL0VyU (ORCPT ); Tue, 27 Dec 2016 16:54:20 -0500 Date: Tue, 27 Dec 2016 13:54:16 -0800 From: Dmitry Torokhov To: "H. Nikolaus Schaller" Cc: Jonathan Cameron , Jonathan Cameron , Sebastian Reichel , Mark Rutland , =?iso-8859-1?Q?Beno=EEt?= Cousson , Tony Lindgren , Russell King , Arnd Bergmann , Michael Welling , Mika =?iso-8859-1?Q?Penttil=E4?= , Javier Martinez Canillas , Igor Grinberg , "Andrew F. Davis" , Mark Brown , Rob Herring , Alexander Stein , Eric Engestrom , Hans de Goede , Benjamin Tissoires , Denis Carikli , Petr Cvek , linux-input@vger.kernel.org, devicetree , LKML , linux-omap , Discussions about the Letux Kernel , linux-iio@vger.kernel.org, kernel@pyra-handheld.com, "Yann E. MORIN" , Linux Kbuild mailing list Subject: Re: [PATCH v8 3/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature Message-ID: <20161227215416.GB28140@dtor-ws> References: <99f236df48b03b3188e12f94a20097f8440db7a5.1479823354.git.hns@goldelico.com> <811B6F6A-2E3D-45B4-A984-74ABE0E37192@goldelico.com> <8d3fc752-e69c-f568-4f71-4f1768a3fffe@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 12, 2016 at 10:21:25PM +0100, H. Nikolaus Schaller wrote: > Hi, > > > > Am 27.11.2016 um 16:47 schrieb H. Nikolaus Schaller : > > > > Hi Jonathan, > > > >> Am 27.11.2016 um 12:02 schrieb Jonathan Cameron : > >> > >> On 24/11/16 18:05, H. Nikolaus Schaller wrote: > >>> > >>>> Am 24.11.2016 um 18:38 schrieb Jonathan Cameron : > >>>> > >>>> > >>>> > >>>> On 22 November 2016 14:02:30 GMT+00:00, "H. Nikolaus Schaller" wrote: > > > > >> - hence cc'd Yann and the Kbuild list > >> to see if they can offer some advices. > > no response / advice so far. Since you are saying that IIO stuff is optional, add it to Kconfig explicitly: config "TOUCHSCREEN_TSC2007_IIO" bool "IIO interface for external ADC input and temperature" depends on TOUCHSCREEN_TSC2007 depends on IIO=y || IIO=TOUCHSCREEN_TSC2007 help ... and use this symbols in makefile: and in Makefile: obj-$(CONFIG_TOUCHSCREEN_TSC2007) += tsc2007.o tsc2007-y := tsc2007-core.o ... tsc2007-$(CONFIG_TOUCHSCREEN_TSC2007_IIO) += tsc2007_iio.o Thanks. -- Dmitry From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH v8 3/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature Date: Tue, 27 Dec 2016 13:54:16 -0800 Message-ID: <20161227215416.GB28140@dtor-ws> References: <99f236df48b03b3188e12f94a20097f8440db7a5.1479823354.git.hns@goldelico.com> <811B6F6A-2E3D-45B4-A984-74ABE0E37192@goldelico.com> <8d3fc752-e69c-f568-4f71-4f1768a3fffe@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "H. Nikolaus Schaller" Cc: Jonathan Cameron , Jonathan Cameron , Sebastian Reichel , Mark Rutland , =?iso-8859-1?Q?Beno=EEt?= Cousson , Tony Lindgren , Russell King , Arnd Bergmann , Michael Welling , Mika =?iso-8859-1?Q?Penttil=E4?= , Javier Martinez Canillas , Igor Grinberg , "Andrew F. Davis" , Mark Brown , Rob Herring , Alexander Stein , Eric Engestrom , Hans de Goede , Benjamin List-Id: devicetree@vger.kernel.org On Mon, Dec 12, 2016 at 10:21:25PM +0100, H. Nikolaus Schaller wrote: > Hi, > > > > Am 27.11.2016 um 16:47 schrieb H. Nikolaus Schaller : > > > > Hi Jonathan, > > > >> Am 27.11.2016 um 12:02 schrieb Jonathan Cameron : > >> > >> On 24/11/16 18:05, H. Nikolaus Schaller wrote: > >>> > >>>> Am 24.11.2016 um 18:38 schrieb Jonathan Cameron : > >>>> > >>>> > >>>> > >>>> On 22 November 2016 14:02:30 GMT+00:00, "H. Nikolaus Schaller" wrote: > > > > >> - hence cc'd Yann and the Kbuild list > >> to see if they can offer some advices. > > no response / advice so far. Since you are saying that IIO stuff is optional, add it to Kconfig explicitly: config "TOUCHSCREEN_TSC2007_IIO" bool "IIO interface for external ADC input and temperature" depends on TOUCHSCREEN_TSC2007 depends on IIO=y || IIO=TOUCHSCREEN_TSC2007 help ... and use this symbols in makefile: and in Makefile: obj-$(CONFIG_TOUCHSCREEN_TSC2007) += tsc2007.o tsc2007-y := tsc2007-core.o ... tsc2007-$(CONFIG_TOUCHSCREEN_TSC2007_IIO) += tsc2007_iio.o Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html