From: daniel.baluta@gmail.com (Daniel Baluta)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Kernel API's for ADC
Date: Wed, 25 Jul 2018 14:07:18 +0300 [thread overview]
Message-ID: <CAEnQRZDZJXSAYr=87k78zgnQtgSTyVDrB5Q0R36dWYGpVgAqGw@mail.gmail.com> (raw)
In-Reply-To: <000001d42401$cda46fa0$68ed4ee0$@in>
On Wed, Jul 25, 2018 at 1:25 PM, chandrasekhar <chandrasekhar@evolute.in> wrote:
> Hi,
>
>
>
> Are there any kernel API's for ADC. I am using NXP IMX6UL processor. I have
> to read ADC values in kernel space instead of sysfs/userspace.
It depends on the type of driver used. Either input or IIO.
The sysfs interface for IIO is described here:
https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio
thanks,
Daniel.
next prev parent reply other threads:[~2018-07-25 11:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-25 10:25 Kernel API's for ADC chandrasekhar
2018-07-25 11:07 ` Daniel Baluta [this message]
2018-07-25 11:17 ` chandrasekhar
2018-07-25 13:46 ` Greg KH
2018-07-26 9:13 ` chandrasekhar
2018-07-26 9:59 ` 'Greg KH'
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='CAEnQRZDZJXSAYr=87k78zgnQtgSTyVDrB5Q0R36dWYGpVgAqGw@mail.gmail.com' \
--to=daniel.baluta@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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).