Kernel API's for ADC

chandrasekhar chandrasekhar at evolute.in
Wed Jul 25 07:17:29 EDT 2018


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 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.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




More information about the Kernelnewbies mailing list