mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
hwmon: Driver for Maxim MAX6639
2-Channel Temperature Monitor with Dual PWM Fan-Speed Controller Signed-off-by: Roland Stigge <stigge@antcom.de> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
This commit is contained in:
parent
521cb40b0c
commit
a5b79d62f2
5 changed files with 713 additions and 0 deletions
14
include/linux/i2c/max6639.h
Normal file
14
include/linux/i2c/max6639.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#ifndef _LINUX_MAX6639_H
|
||||
#define _LINUX_MAX6639_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/* platform data for the MAX6639 temperature sensor and fan control */
|
||||
|
||||
struct max6639_platform_data {
|
||||
bool pwm_polarity; /* Polarity low (0) or high (1, default) */
|
||||
int ppr; /* Pulses per rotation 1..4 (default == 2) */
|
||||
int rpm_range; /* 2000, 4000 (default), 8000 or 16000 */
|
||||
};
|
||||
|
||||
#endif /* _LINUX_MAX6639_H */
|
Loading…
Add table
Add a link
Reference in a new issue