Skip to content

hwmon: ina2xx: new attributes

Bartosz Golaszewski lkml lm-sensors 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 0 repliesNew

Changes in v3 from the cover letter

- avg_rate is now only created for ina226
- avg_rate displays available averaging rates on read
- other minor fixes according to the code review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hwmon: ina2xx: make shunt resistance configurable at run-timedrivers/hwmon/ina2xx.c+61 -90 replies
2/3hwmon: ina2xx: allow to change the averaging rate at run-timedrivers/hwmon/ina2xx.c+122 -30 replies
3/3hwmon: ina2xx: documentation update for new sysfs attributesDocumentation/hwmon/ina2xx+7 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] hwmon: ina2xx: new attributes

This series extends the sysfs interface to make the driver configurable at run-time.

The shunt_resistor attribute allows to change the shunt resistance value at run-time in cases where ina2xx used to do the measurement isn't integrated with the shunt.

The avg_rate attribute allows to increase/decrease noise reduction.

v3:
- avg_rate is now only created for ina226
- avg_rate displays available averaging rates on read
- other minor fixes according to the code review

v2: https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg776942.html

The following patches have been rebased against the hwmon-next branch.

Bartosz Golaszewski (3):
hwmon: ina2xx: make shunt resistance configurable at run-time
hwmon: ina2xx: allow to change the averaging rate at run-time
hwmon: ina2xx: documentation update for new sysfs attributes

 Documentation/hwmon/ina2xx |  10 ++-
 drivers/hwmon/ina2xx.c     | 195 ++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 190 insertions(+), 15 deletions(-)
Signature · 7 lines
2.1.3


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