Re: How to support multiple chips in single driver

From: Jonathan Cameron
Date: Sat Jul 23 2016 - 13:25:56 EST




On 23 July 2016 17:38:07 BST, Pratik Prajapati <pratik.prajapati12@xxxxxxxxx> wrote:
>On Sat, Jul 23, 2016 at 8:37 PM, Jonathan Cameron
><jic23@xxxxxxxxxxxxxxxxxxxxx> wrote:
>>
>>
>> On 23 July 2016 14:36:39 BST, Pratik Prajapati
><pratik.prajapati12@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
>More majordomo info at http://vger.kernel.org/majordomo-info.html

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