[lm-sensors] [PATCH v2] hwmon: Add humidity attribute to sysfs ABI
Jean Delvare
khali at linux-fr.org
Thu Jan 6 20:21:03 CET 2011
On Thu, 6 Jan 2011 10:46:57 -0800, Guenter Roeck wrote:
> The humidity attribute is already supported by the sht15 driver, and another
> driver supporting it is about to be added. Make it official.
>
> Signed-off-by: Guenter Roeck <guenter.roeck at ericsson.com>
> Acked-by: Jonathan Cameron <jic23 at cam.ac.uk>
Acked-by: Jean Delvare <khali at linux-fr.org>
> ---
> v2: Updated humidity units to be reported in milli-percent
>
> Documentation/hwmon/sysfs-interface | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
> index 5997b5e..79411cb 100644
> --- a/Documentation/hwmon/sysfs-interface
> +++ b/Documentation/hwmon/sysfs-interface
> @@ -505,6 +505,15 @@ energy[1-*]_input Cumulative energy use
> RO
>
>
> +************
> +* Humidity *
> +************
> +
> +humidity[1-*]_input Humidity
> + Unit: milli-percent (per cent mille, pcm)
> + RO
> +
> +
> **********
> * Alarms *
> **********
--
Jean Delvare
More information about the lm-sensors
mailing list