Re: Kernel API's for ADC

2018-07-26 Thread 'Greg KH'
On Thu, Jul 26, 2018 at 02:43:07PM +0530, chandrasekhar wrote: > I am using freescale IMX6UL processor. I have to do it in kernel space, I > have a thermal printer attached to the processor and I have to continuously > monitor temperature of the printer head inorder to change he printing time >

RE: Kernel API's for ADC

2018-07-26 Thread chandrasekhar
and Regards, Chandrasekhar -Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Wednesday, July 25, 2018 7:17 PM To: chandrasekhar Cc: 'Daniel Baluta'; 'Kernelnewbies' Subject: Re: Kernel API's for ADC On Wed, Jul 25, 2018 at 04:47:29PM +0530, chandrasekhar wrote: > Not on the sy

Re: Kernel API's for ADC

2018-07-25 Thread Greg KH
On Wed, Jul 25, 2018 at 04:47:29PM +0530, chandrasekhar wrote: > Not on the sysfs interface. I want to read the ADC using kernel API's in > kernel space. For your specific driver and device, or for "any" driver/device? And why do you need this, what are you going to do with that information?

RE: Kernel API's for ADC

2018-07-25 Thread chandrasekhar
: Kernel API's for ADC On Wed, Jul 25, 2018 at 1:25 PM, chandrasekhar 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

Re: Kernel API's for ADC

2018-07-25 Thread Daniel Baluta
On Wed, Jul 25, 2018 at 1:25 PM, chandrasekhar 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