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

From: Mike Looijmans
Date: Thu Jun 29 2017 - 11:03:23 EST


ï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?


Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans@xxxxxxxxxxxxxxxxx
Website: www.topicproducts.com

Please consider the environment before printing this e-mail