mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
bf7153fd2c
commit
f9f7bb3a0e
3 changed files with 24 additions and 0 deletions
|
|
@ -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
|
||||
-------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue