[PATCH kernel-hwmon-occ 08/10] add description to README.md
OpenBMC Patches
openbmc-patches at stwcx.xyz
Thu Nov 12 21:20:10 AEDT 2015
From: adamliyi <adamliyi at msn.com>
---
README.md | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/README.md b/README.md
index f417f67..874824d 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,20 @@
# kernel-hwmon-occ
hwmon driver for the openpower OCC. BMC uses it to read CPU sensor data via OCC (On-Chip-Controller).
It is part of openbmc.
+
+After building, a kernel module named "occ.ko" is generated.
+
+The driver exposed bellow HWMON interface:
+
+*_input: means sensor_value.
+*_label: means sensor_id
+
+root at palmetto:~# ls /sys/class/hwmon/hwmon0/
+device freq4_input power2_input temp1_input temp4_label temp8_input
+freq1_input freq4_label power2_label temp1_label temp5_input temp8_label
+freq1_label name power3_input temp2_input temp5_label temp9_input
+freq2_input of_node power3_label temp2_label temp6_input temp9_label
+freq2_label power power4_input temp3_input temp6_label uevent
+freq3_input power1_input power4_label temp3_label temp7_input
+freq3_label power1_label subsystem temp4_input temp7_label
+
--
2.6.3
More information about the openbmc
mailing list