提交 3a2b3d37 编写于 作者: S Shilpasri G Bhat 提交者: Guenter Roeck

hwmon: (ibmpowernv) Add current(A) sensor

This patch exports current(A) sensors in inband sensors copied to
main memory by OCC.
Signed-off-by: NShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Reviewed-by: NCédric Le Goater <clg@kaod.org>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
上级 3ab52160
...@@ -50,6 +50,7 @@ enum sensors { ...@@ -50,6 +50,7 @@ enum sensors {
TEMP, TEMP,
POWER_SUPPLY, POWER_SUPPLY,
POWER_INPUT, POWER_INPUT,
CURRENT,
MAX_SENSOR_TYPE, MAX_SENSOR_TYPE,
}; };
...@@ -75,7 +76,8 @@ static struct sensor_group { ...@@ -75,7 +76,8 @@ static struct sensor_group {
{ "fan" }, { "fan" },
{ "temp" }, { "temp" },
{ "in" }, { "in" },
{ "power" } { "power" },
{ "curr" },
}; };
struct sensor_data { struct sensor_data {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册