Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1448948 > unrolled thread

How to support multiple chips in single driver

Started byPratik Prajapati <pratik.prajapati12@gmail.com>
First post2016-07-23 15:40 +0200
Last post2016-07-23 19:30 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  How to support multiple chips in single driver Pratik Prajapati <pratik.prajapati12@gmail.com> - 2016-07-23 15:40 +0200
    Re: How to support multiple chips in single driver Jonathan Cameron <jic23@jic23.retrosnub.co.uk> - 2016-07-23 17:10 +0200
      Re: How to support multiple chips in single driver Pratik Prajapati <pratik.prajapati12@gmail.com> - 2016-07-23 18:40 +0200
        Re: How to support multiple chips in single driver Jonathan Cameron <jic23@jic23.retrosnub.co.uk> - 2016-07-23 19:30 +0200

#1448948 — How to support multiple chips in single driver

FromPratik Prajapati <pratik.prajapati12@gmail.com>
Date2016-07-23 15:40 +0200
SubjectHow to support multiple chips in single driver
Message-ID<rY5jP-3lm-15@gated-at.bofh.it>
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 vcnl4000

Best Regards,
Pratik Prajapati

[toc] | [next] | [standalone]


#1448956

FromJonathan Cameron <jic23@jic23.retrosnub.co.uk>
Date2016-07-23 17:10 +0200
Message-ID<rY6IW-4j9-13@gated-at.bofh.it>
In reply to#1448948

On 23 July 2016 14:36:39 BST, Pratik Prajapati <pratik.prajapati12@gmail.com> 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 chips in a
>single driver?
Lots. E.g. adc\max1636.

This is a very common situation 
>
>Note* - vcnl4010 is superset of vcnl4000
>
>Best Regards,
>Pratik Prajapati

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

[toc] | [prev] | [next] | [standalone]


#1448963

FromPratik Prajapati <pratik.prajapati12@gmail.com>
Date2016-07-23 18:40 +0200
Message-ID<rY882-50n-15@gated-at.bofh.it>
In reply to#1448956
On Sat, Jul 23, 2016 at 8:37 PM, Jonathan Cameron
<jic23@jic23.retrosnub.co.uk> wrote:
>
>
> On 23 July 2016 14:36:39 BST, Pratik Prajapati <pratik.prajapati12@gmail.com> 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 chips in a
>>single driver?
> Lots. E.g. adc\max1636.
I couldn't found max1636
https://git.kernel.org/cgit/linux/kernel/git/jic23/iio.git/tree/drivers/iio/adc?h=testing
and https://github.com/torvalds/linux/tree/master/drivers/iio/adc
Or is that adc/max1363?

[toc] | [prev] | [next] | [standalone]


#1448981

FromJonathan Cameron <jic23@jic23.retrosnub.co.uk>
Date2016-07-23 19:30 +0200
Message-ID<rY8Up-5vC-7@gated-at.bofh.it>
In reply to#1448963

On 23 July 2016 17:38:07 BST, Pratik Prajapati <pratik.prajapati12@gmail.com> wrote:
>On Sat, Jul 23, 2016 at 8:37 PM, Jonathan Cameron
><jic23@jic23.retrosnub.co.uk> wrote:
>>
>>
>> On 23 July 2016 14:36:39 BST, Pratik Prajapati
><pratik.prajapati12@gmail.com> 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 chips in a
>>>single driver?
>> Lots. E.g. adc\max1636.
>I couldn't found max1636
>https://git.kernel.org/cgit/linux/kernel/git/jic23/iio.git/tree/drivers/iio/adc?h=testing
>and https://github.com/torvalds/linux/tree/master/drivers/iio/adc
>Or is that adc/max1363?
Sorry yes max1363!
>--
>To unsubscribe from this list: send the line "unsubscribe linux-iio" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web