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


Groups > linux.kernel > #1677874

Re: [PATCH v2] hwmon: Add LTC2471/LTC2473 driver

From Lars-Peter Clausen <lars@metafoo.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2] hwmon: Add LTC2471/LTC2473 driver
Date 2017-06-29 17:40 +0200
Message-ID <tXJHY-Sn-19@gated-at.bofh.it> (permalink)
References <tXFbj-6tm-1@gated-at.bofh.it> <tXGAr-7t8-39@gated-at.bofh.it> <tXGTN-7BQ-43@gated-at.bofh.it> <tXHZw-8dW-23@gated-at.bofh.it> <tXJeV-IJ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/29/2017 04:11 PM, Mike Looijmans wrote:
> On 29-06-17 15:40, Guenter Roeck wrote:
>> On 06/29/2017 05:30 AM, Lars-Peter Clausen wrote:
>>> On 06/29/2017 02:13 PM, Mike Looijmans wrote:
>>>> The LTC2741 and LTC2473 are single voltage monitoring chips. The LTC2473
>>>> is similar to the LTC2471 but outputs a signed differential value.
>>>>
>>>> Datasheet:
>>>>    http://cds.linear.com/docs/en/datasheet/24713fb.pdf
>>>
>>> This looks more like a general purpose ADC rather than a specialized voltage
>>> monitoring chip. In my opinion this driver would be better suited for the
>>> IIO framework. But before you start working on that lets try to hear what
>>> others think about this.
>>>
>>
>> Agreed (I just replied to that on another thread).
> 
> Took a peek at the IIO drivers, looks simple enough, so I suggest to drop
> this patch and I'll create an IIO driver instead.
> 
> The ltc2485 (as suggested by Guenter on that other thread) is pretty similar
> indeed, it might be feasible to join the two and have one driver handle them
> both. That would be preferred over a separat driver, right?
> 

I think the ltc2485 is close enough. It's even listed in the datasheet as a
related part. The main difference seems to be the resolution of the ADC and
the extra temperature sensor channel.

Although one thing to consider is that their control/mode register is quite
different. But the current driver doesn't write it.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] hwmon: Add LTC2471/LTC2473 driver Mike Looijmans <mike.looijmans@topic.nl> - 2017-06-29 12:50 +0200
  Re: [PATCH] hwmon: Add LTC2471/LTC2473 driver Frans Klaver <fransklaver@gmail.com> - 2017-06-29 13:20 +0200
    Re: [PATCH] hwmon: Add LTC2471/LTC2473 driver Mike Looijmans <mike.looijmans@topic.nl> - 2017-06-29 13:40 +0200
      Re: [PATCH] hwmon: Add LTC2471/LTC2473 driver Frans Klaver <fransklaver@gmail.com> - 2017-06-29 13:40 +0200
        Re: [PATCH] hwmon: Add LTC2471/LTC2473 driver Mike Looijmans <mike.looijmans@topic.nl> - 2017-06-29 14:40 +0200
    Re: [PATCH] hwmon: Add LTC2471/LTC2473 driver Guenter Roeck <linux@roeck-us.net> - 2017-06-29 15:40 +0200
  [PATCH v2] hwmon: Add LTC2471/LTC2473 driver Mike Looijmans <mike.looijmans@topic.nl> - 2017-06-29 14:20 +0200
    Re: [PATCH v2] hwmon: Add LTC2471/LTC2473 driver Lars-Peter Clausen <lars@metafoo.de> - 2017-06-29 14:40 +0200
      Re: [PATCH v2] hwmon: Add LTC2471/LTC2473 driver Guenter Roeck <linux@roeck-us.net> - 2017-06-29 15:50 +0200
      Re: [PATCH v2] hwmon: Add LTC2471/LTC2473 driver Guenter Roeck <linux@roeck-us.net> - 2017-06-29 15:50 +0200
        Re: [PATCH v2] hwmon: Add LTC2471/LTC2473 driver Guenter Roeck <linux@roeck-us.net> - 2017-06-29 17:10 +0200
        Re: [PATCH v2] hwmon: Add LTC2471/LTC2473 driver Mike Looijmans <mike.looijmans@topic.nl> - 2017-06-29 17:10 +0200
          Re: [PATCH v2] hwmon: Add LTC2471/LTC2473 driver Lars-Peter Clausen <lars@metafoo.de> - 2017-06-29 17:40 +0200
      Re: [PATCH v2] hwmon: Add LTC2471/LTC2473 driver Mike Looijmans <mike.looijmans@topic.nl> - 2017-06-29 16:10 +0200
  Re: [PATCH] hwmon: Add LTC2471/LTC2473 driver Guenter Roeck <linux@roeck-us.net> - 2017-06-29 15:40 +0200
    Re: [PATCH] hwmon: Add LTC2471/LTC2473 driver Jonathan Cameron <jic23@kernel.org> - 2017-07-01 12:00 +0200

csiph-web