Skip to contentSkip to conversation

hwmon: (adm1031) Add sysfs files

PATCH Ira W. Snyder 1 participant 3 messages Sep 2, 2009 – Mar 30, 2010

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines · Ira Snyder

The ADM1030/ADM1031 chips have temperature offset registers, for both the local and remote temperature sensors. Following the example set forth in the LM90/ADM1032 driver, expose the offset registers to userspace.

---

I have tested this with an adm1031 chip, and I see the offsets as expected. I do not have any other compatible chips to test with, however I read the adm1030 datasheet, and everything should work fine.

Quoted 9 lines

On the adm1031, the datasheet claims the offset registers can be used to add/subtract 15 degC from the temperature reading. I have found that it is actually possible to add 15 degC and subtract 16 degC. Following the data sheet, I clamped the value to +- 15 degC, just in case other chips are not compatible.

 drivers/hwmon/adm1031.c |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

Any comments on this? Can it be merged for 2.6.32?

Thanks,
Ira

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw
Quoted 18 lines · Ira W. Snyder
Quoted 17 lines · Ira Snyder

The ADM1030/ADM1031 chips have temperature offset registers, for both the local and remote temperature sensors. Following the example set forth in the LM90/ADM1032 driver, expose the offset registers to userspace.

---

I have tested this with an adm1031 chip, and I see the offsets as expected. I do not have any other compatible chips to test with, however I read the adm1030 datasheet, and everything should work fine.

On the adm1031, the datasheet claims the offset registers can be used to add/subtract 15 degC from the temperature reading. I have found that it is actually possible to add 15 degC and subtract 16 degC. Following the data sheet, I clamped the value to +- 15 degC, just in case other chips are not compatible.

Quoted 6 lines
Quoted 3 lines
 drivers/hwmon/adm1031.c |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

Any comments on this? Can it be merged for 2.6.32?

Again, any comments on this? I haven't heard anything since it was posted.

Ira

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw
In reply to Ira W. Snyder
Quoted 23 lines · Ira W. Snyder
Quoted 22 lines · Ira W. Snyder
Quoted 20 lines · Ira Snyder

The ADM1030/ADM1031 chips have temperature offset registers, for both the local and remote temperature sensors. Following the example set forth in the LM90/ADM1032 driver, expose the offset registers to userspace.

---

I have tested this with an adm1031 chip, and I see the offsets as expected. I do not have any other compatible chips to test with, however I read the adm1030 datasheet, and everything should work fine.

On the adm1031, the datasheet claims the offset registers can be used to add/subtract 15 degC from the temperature reading. I have found that it is actually possible to add 15 degC and subtract 16 degC. Following the data sheet, I clamped the value to +- 15 degC, just in case other chips are not compatible.

 drivers/hwmon/adm1031.c |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)
Quoted 6 lines
Quoted 2 lines

Any comments on this? Can it be merged for 2.6.32?

Again, any comments on this? I haven't heard anything since it was posted.

Whoops, I must have missed when this was picked up.

I apologize for the extra mailing list traffic. Sorry.

Ira

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors