From f9f7bb3a0efafb662a4c639bc62df1df2b7321f9 Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Sun, 26 Jun 2016 12:20:46 -0700 Subject: hwmon: (core) Add basic pwm attribute support to new API Add basic pwm attribute support (no auto attributes) to new API. Reviewed-by: Jonathan Cameron Signed-off-by: Guenter Roeck --- Documentation/hwmon/hwmon-kernel-api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Documentation/hwmon') diff --git a/Documentation/hwmon/hwmon-kernel-api.txt b/Documentation/hwmon/hwmon-kernel-api.txt index f60a29ce7592..ef9d74947f5c 100644 --- a/Documentation/hwmon/hwmon-kernel-api.txt +++ b/Documentation/hwmon/hwmon-kernel-api.txt @@ -168,6 +168,7 @@ It contains following fields: * hwmon_energy Energy sensor * hwmon_humidity Humidity sensor * hwmon_fan Fan speed sensor + * hwmon_pwm PWM control * config: Pointer to a 0-terminated list of configuration values for each sensor of the given type. Each value is a combination of bit values @@ -230,6 +231,7 @@ HWMON_P_xxxx Power attributes, for use with hwmon_power. HWMON_E_xxxx Energy attributes, for use with hwmon_energy. HWMON_H_xxxx Humidity attributes, for use with hwmon_humidity. HWMON_F_xxxx Fan speed attributes, for use with hwmon_fan. +HWMON_PWM_xxxx PWM control attributes, for use with hwmon_pwm. Driver callback functions ------------------------- -- cgit v1.2.3-70-g09d2