From mboxrd@z Thu Jan 1 00:00:00 1970 From: cgagneraud@techworks.ie (Christian Gagneraud) Date: Tue, 13 Oct 2009 13:48:54 +0100 Subject: [RFC PATCH v1] EP93XX: Add ADC support In-Reply-To: References: <20091012142413.30881.62391.stgit@archeopterix.techworks.local> Message-ID: <4AD47736.6020503@techworks.ie> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org H Hartley Sweeten wrote: > On Monday, October 12, 2009 7:24 AM, Christian Gagneraud wrote: >> This patch add support for the ADC found in the EP93XX. >> >> This work is based on S3C platform ADC, apart from hardware related >> stuff, the following modifications have been done: >> - Remove touchscreen support: >> On S3C the TS is a "normal" ADC client, but it has priority over all >> other clients. On EP93XX the TS controller is built-in and offer >> advanced features. >> - Remove convert and select callbacks: >> This was done for the shake of simplicity, it can be added easily. >> - Channel definition: >> On S3c, channel is just an index (unsigned char). On EP93xx channel >> is the analog switch configuration (unsigned long), it gives the >> client full freedom on how to make the analog conversion (including >> routing VRef+ and VRef-, activationg PU/PD resistors, connecting >> pins to VDD/GND, ...) >> >> >> This is a first draft. Comments and criticism welcome. >> >> Signed-off-by: Christian Gagneraud >> --- > > [snip] > >> diff --git a/arch/arm/mach-ep93xx/Makefile b/arch/arm/mach-ep93xx/Makefile >> index eae6199..e3c62fe 100644 >> --- a/arch/arm/mach-ep93xx/Makefile >> +++ b/arch/arm/mach-ep93xx/Makefile >> @@ -6,6 +6,8 @@ obj-m := >> obj-n := >> obj- := >> >> +obj-$(CONFIG_EP93XX_ADC) += adc.o > > This Kconfig option is not defined in the patch. Oops, it has vanished into a black hole! ;) Thanks Chris > > Regards, > Hartley > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel