Skip to contentSkip to conversation

Documentation: hwmon: Add descriptions for ina2xx sysfs entries

PATCH Applied Nicolin Chen 2 participants 2 messages Nov 19, 2018 – Nov 21, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: hwmon: Add descriptions for ina2xx sysfs entries

There are a few sysfs entries being exposed to user space by the ina2xx hwmon driver while not getting explicitly documented. So this patch just adds a description section for them.

---
 Documentation/hwmon/ina2xx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
Documentation/hwmon/ina2xx +15 -0
index b8df81f6d6bc..0f36c021192d 100644
@@ -62,3 +62,18 @@ bus and shunt voltage conversion times multiplied by the averaging rate. We
 don't touch the conversion times and only modify the number of averages. The
 lower limit of the update_interval is 2 ms, the upper limit is 2253 ms.
 The actual programmed interval may vary from the desired value.
+
+General sysfs entries
+-------------
+
+in0_input		Shunt voltage(mV) channel
+in1_input		Bus voltage(mV) channel
+curr1_input		Current(mA) measurement channel
+power1_input		Power(uW) measurement channel
+shunt_resistor		Shunt resistance(uOhm) channel
+
+Sysfs entries for ina226, ina230 and ina231 only
+-------------
+
+update_interval		data conversion time; affects number of samples used
+			to average results for shunt and bus voltages.
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Nicolin Chen

There are a few sysfs entries being exposed to user space by the ina2xx hwmon driver while not getting explicitly documented. So this patch just adds a description section for them.

Applied to hwmon-next.

Thanks,
Guenter