Adding critical/fault limits to hwmon sysfs API

From: Guenter Roeck
Date: Sun Jun 20 2010 - 12:38:39 EST


Hi,

the current hwmon sysfs API does not specify critical or fault limits for voltage
and current readings.

Many recent power controller/monitoring chips have support for such limits in addition
to alarm limits. Typical action, when a the critical or fault limit is reached,
may be a board reset or power shutdown, or to report the fault condition.

Examples for chips supporting critical/fault limits are SMM665 and variants as well
as many PMBus devices, such as MAX8688, MAX16064, LTC2978, and others.

I think it would make sense to add critical/fault limits to the hwmon sysfs API,
to be able to report those limits if supported by a chip.

Any thoughts on this ?

Thanks,
Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/