Re: How to support multiple chips in single driver

2016-07-23 Thread Jonathan Cameron
On 23 July 2016 17:38:07 BST, Pratik Prajapati wrote: >On Sat, Jul 23, 2016 at 8:37 PM, Jonathan Cameron > wrote: >> >> >> On 23 July 2016 14:36:39 BST, Pratik Prajapati > wrote: >>>Hi, >>> >>>I want to add the threshold, event handling and interrupts support in >>>vcnl4000 driver but those fun

Re: How to support multiple chips in single driver

2016-07-23 Thread Pratik Prajapati
On Sat, Jul 23, 2016 at 8:37 PM, Jonathan Cameron wrote: > > > On 23 July 2016 14:36:39 BST, Pratik Prajapati > wrote: >>Hi, >> >>I want to add the threshold, event handling and interrupts support in >>vcnl4000 driver but those functionalities are not supported in >>vcnl4000, but supported in vc

Re: How to support multiple chips in single driver

2016-07-23 Thread Jonathan Cameron
On 23 July 2016 14:36:39 BST, Pratik Prajapati wrote: >Hi, > >I want to add the threshold, event handling and interrupts support in >vcnl4000 driver but those functionalities are not supported in >vcnl4000, but supported in vcnl4010 . > >Do we have an example (IIO driver) of supporting multiple

How to support multiple chips in single driver

2016-07-23 Thread Pratik Prajapati
Hi, I want to add the threshold, event handling and interrupts support in vcnl4000 driver but those functionalities are not supported in vcnl4000, but supported in vcnl4010 . Do we have an example (IIO driver) of supporting multiple chips in a single driver? Note* - vcnl4010 is superset of vcnl4