Kernel API's for ADC

Daniel Baluta daniel.baluta at gmail.com
Wed Jul 25 07:07:18 EDT 2018


On Wed, Jul 25, 2018 at 1:25 PM, chandrasekhar <chandrasekhar at 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.



More information about the Kernelnewbies mailing list