From: cgagneraud@techworks.ie (Christian Gagneraud)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH v1] EP93XX: Add ADC support
Date: Tue, 13 Oct 2009 13:48:54 +0100 [thread overview]
Message-ID: <4AD47736.6020503@techworks.ie> (raw)
In-Reply-To: <BD79186B4FD85F4B8E60E381CAEE190901DB7F74@mi8nycmail19.Mi8.com>
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 <cgagneraud@techworks.ie>
>> ---
>
> [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
next prev parent reply other threads:[~2009-10-13 12:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 14:24 [RFC PATCH v1] EP93XX: Add ADC support Christian Gagneraud
2009-10-12 20:33 ` Ryan Mallon
2009-10-13 13:17 ` Christian Gagneraud
2009-10-13 20:01 ` Ryan Mallon
2009-10-12 21:51 ` H Hartley Sweeten
2009-10-13 12:44 ` Christian Gagneraud
2009-10-13 17:12 ` H Hartley Sweeten
2009-10-12 22:25 ` H Hartley Sweeten
2009-10-13 12:48 ` Christian Gagneraud [this message]
2009-10-12 23:22 ` H Hartley Sweeten
2009-10-13 12:46 ` Christian Gagneraud
2011-04-16 19:50 ` Blagoj Kupev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AD47736.6020503@techworks.ie \
--to=cgagneraud@techworks.ie \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).