July 25, 2018
11:07 a.m.
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.