* [PATCH] Documentation: hwmon: Add descriptions for ina2xx sysfs entries
@ 2018-11-19 20:31 Nicolin Chen
2018-11-21 23:42 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Nicolin Chen @ 2018-11-19 20:31 UTC (permalink / raw)
To: jdelvare, linux; +Cc: linux-hwmon, linux-kernel, corbet, linux-doc
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.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
---
Documentation/hwmon/ina2xx | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/hwmon/ina2xx b/Documentation/hwmon/ina2xx
index b8df81f6d6bc..0f36c021192d 100644
--- a/Documentation/hwmon/ina2xx
+++ b/Documentation/hwmon/ina2xx
@@ -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.
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation: hwmon: Add descriptions for ina2xx sysfs entries
2018-11-19 20:31 [PATCH] Documentation: hwmon: Add descriptions for ina2xx sysfs entries Nicolin Chen
@ 2018-11-21 23:42 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2018-11-21 23:42 UTC (permalink / raw)
To: Nicolin Chen; +Cc: jdelvare, linux-hwmon, linux-kernel, corbet, linux-doc
On Mon, Nov 19, 2018 at 12:31:16PM -0800, Nicolin Chen wrote:
> 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.
>
> Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Applied to hwmon-next.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-21 23:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-19 20:31 [PATCH] Documentation: hwmon: Add descriptions for ina2xx sysfs entries Nicolin Chen
2018-11-21 23:42 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).