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


Groups > linux.kernel > #1308429

Re: [PATCH v2] hwmon: Add LTC2990 sensor driver

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2] hwmon: Add LTC2990 sensor driver
Date 2016-01-13 15:00 +0100
Message-ID <qQu7U-vr-9@gated-at.bofh.it> (permalink)
References <qOGPU-8rM-29@gated-at.bofh.it> <qNRu3-6Yg-17@gated-at.bofh.it> <qQrtn-7g1-1@gated-at.bofh.it> <qQtEU-hT-63@gated-at.bofh.it> <qQu7U-vr-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/13/2016 05:51 AM, Mike Looijmans wrote:
> On 13-01-16 14:24, Guenter Roeck wrote:
>> On 01/13/2016 03:05 AM, Mike Looijmans wrote:
>>> This adds support for the Linear Technology LTC2990  I2C System Monitor.
>>> The LTC2990 supports a combination of voltage, current and temperature
>>> monitoring. This driver currently only supports reading two currents
>>> by measuring two differential voltages across series resistors, in
>>> addition to the Vcc supply voltage and internal temperature.
>>>
>>> This is sufficient to support the Topic Miami SOM which uses this chip
>>> to monitor the currents flowing into the FPGA and the CPU parts.
>>>
>>> Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
>>
>> Mike,
>>
>> That looks much better. Can you send me the output of i2cdump for the chip ?
>> That would help me writing module test code for it.
>
> I'm kinda interested into how that would work.
>
https://github.com/groeck/module-tests

> I'll have to remove the driver first to get i2cdump to work on the chip. I cannot force a device removal from user space while running, can I?
> And i suppose you want a dump of a chip in running status? (On boot, all are registers are simply set to zero)
>

Just use i2cdump -f while the driver is active.

Thanks,
Guenter

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


Thread

[PATCH] hwmon: Add LTC2990 sensor driver Mike Looijmans <mike.looijmans@topic.nl> - 2016-01-06 09:20 +0100
  Re: [PATCH] hwmon: Add LTC2990 sensor driver Guenter Roeck <linux@roeck-us.net> - 2016-01-06 16:30 +0100
    Re: [PATCH] hwmon: Add LTC2990 sensor driver Mike Looijmans <mike.looijmans@topic.nl> - 2016-01-07 20:00 +0100
      Re: [PATCH] hwmon: Add LTC2990 sensor driver Guenter Roeck <linux@roeck-us.net> - 2016-01-08 16:10 +0100
        [PATCH v2] hwmon: Add LTC2990 sensor driver Mike Looijmans <mike.looijmans@topic.nl> - 2016-01-13 12:10 +0100
          Re: [PATCH v2] hwmon: Add LTC2990 sensor driver Guenter Roeck <linux@roeck-us.net> - 2016-01-13 14:30 +0100
            Re: [PATCH v2] hwmon: Add LTC2990 sensor driver Guenter Roeck <linux@roeck-us.net> - 2016-01-13 15:00 +0100
              Re: [PATCH v2] hwmon: Add LTC2990 sensor driver Mike Looijmans <mike.looijmans@topic.nl> - 2016-01-13 15:10 +0100
            Re: [PATCH v2] hwmon: Add LTC2990 sensor driver Mike Looijmans <mike.looijmans@topic.nl> - 2016-01-13 23:20 +0100
          [PATCH v3] hwmon: Add LTC2990 sensor driver Mike Looijmans <mike.looijmans@topic.nl> - 2016-01-13 15:50 +0100
            Re: [PATCH v3] hwmon: Add LTC2990 sensor driver Guenter Roeck <linux@roeck-us.net> - 2016-01-14 20:20 +0100
        Re: [PATCH] hwmon: Add LTC2990 sensor driver Mike Looijmans <mike.looijmans@topic.nl> - 2016-01-13 13:40 +0100

csiph-web