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@xxxxxxxxx] 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@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies