From: chandrasekhar@evolute.in (chandrasekhar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Kernel API's for ADC
Date: Wed, 25 Jul 2018 16:47:29 +0530 [thread overview]
Message-ID: <000b01d42409$154ed320$3fec7960$@in> (raw)
In-Reply-To: <CAEnQRZDZJXSAYr=87k78zgnQtgSTyVDrB5Q0R36dWYGpVgAqGw@mail.gmail.com>
Not on the sysfs interface. I want to read the ADC using kernel API's in
kernel space.
Thanks and Regards,
Chandrasekhar
-----Original Message-----
From: Daniel Baluta [mailto:daniel.baluta at gmail.com]
Sent: Wednesday, July 25, 2018 4:37 PM
To: chandrasekhar
Cc: Kernelnewbies
Subject: Re: Kernel API's for ADC
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.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next prev parent reply other threads:[~2018-07-25 11:17 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
2018-07-25 11:17 ` chandrasekhar [this message]
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='000b01d42409$154ed320$3fec7960$@in' \
--to=chandrasekhar@evolute.in \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.