Re: How to set Current register in IIO driver from sysfs

2016-07-20 Thread Jonathan Cameron
On 11/07/16 10:10, Pratik Prajapati wrote: > Hi Jonathan, > > Thanks for the answers. > One more question: > What are volatile registers? Volatile registers can change without software interaction. Things like interrupt status registers, or the output register for an ADC. Hence they can't be

Re: How to set Current register in IIO driver from sysfs

2016-07-20 Thread Jonathan Cameron
On 11/07/16 10:10, Pratik Prajapati wrote: > Hi Jonathan, > > Thanks for the answers. > One more question: > What are volatile registers? Volatile registers can change without software interaction. Things like interrupt status registers, or the output register for an ADC. Hence they can't be

Re: How to set Current register in IIO driver from sysfs

2016-07-11 Thread Pratik Prajapati
Hi Jonathan, Thanks for the answers. One more question: What are volatile registers? I couldn't understood the difference between volatile and writable registers from max44000 driver. Best Regards, Pratik On Sun, Jul 10, 2016 at 8:09 PM, Jonathan Cameron wrote: > On 10/07/16

Re: How to set Current register in IIO driver from sysfs

2016-07-11 Thread Pratik Prajapati
Hi Jonathan, Thanks for the answers. One more question: What are volatile registers? I couldn't understood the difference between volatile and writable registers from max44000 driver. Best Regards, Pratik On Sun, Jul 10, 2016 at 8:09 PM, Jonathan Cameron wrote: > On 10/07/16 14:11, Pratik

Re: How to set Current register in IIO driver from sysfs

2016-07-10 Thread Jonathan Cameron
On 10/07/16 14:11, Pratik Prajapati wrote: > Including more members. > > On Sat, Jul 9, 2016 at 5:22 PM, Pratik Prajapati > wrote: >> Hi, hi Pratik, >> >> I am trying to add support of adjusting IR led current in vcnl4000 >> driver (has IR led current register for

Re: How to set Current register in IIO driver from sysfs

2016-07-10 Thread Jonathan Cameron
On 10/07/16 14:11, Pratik Prajapati wrote: > Including more members. > > On Sat, Jul 9, 2016 at 5:22 PM, Pratik Prajapati > wrote: >> Hi, hi Pratik, >> >> I am trying to add support of adjusting IR led current in vcnl4000 >> driver (has IR led current register for doing the same). This is always

Re: How to set Current register in IIO driver from sysfs

2016-07-10 Thread Pratik Prajapati
Including more members. On Sat, Jul 9, 2016 at 5:22 PM, Pratik Prajapati wrote: > Hi, > > I am trying to add support of adjusting IR led current in vcnl4000 > driver (has IR led current register for doing the same). > > Below is what I have done till now: > > 1)

Re: How to set Current register in IIO driver from sysfs

2016-07-10 Thread Pratik Prajapati
Including more members. On Sat, Jul 9, 2016 at 5:22 PM, Pratik Prajapati wrote: > Hi, > > I am trying to add support of adjusting IR led current in vcnl4000 > driver (has IR led current register for doing the same). > > Below is what I have done till now: > > 1) Added Current channel in the