hwmon: (ibmpowernv) Add current(A) sensor
This patch exports current(A) sensors in inband sensors copied to main memory by OCC. Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
3ab521601d
commit
3a2b3d37e1
|
@ -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 {
|
||||||
{ "fan" },
|
{ "fan" },
|
||||||
{ "temp" },
|
{ "temp" },
|
||||||
{ "in" },
|
{ "in" },
|
||||||
{ "power" }
|
{ "power" },
|
||||||
|
{ "curr" },
|
||||||
};
|
};
|
||||||
|
|
||||||
struct sensor_data {
|
struct sensor_data {
|
||||||
|
|
Loading…
Reference in New Issue