diff options
Diffstat (limited to 'kernel/include/linux/i2c/max6639.h')
-rw-r--r-- | kernel/include/linux/i2c/max6639.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/include/linux/i2c/max6639.h b/kernel/include/linux/i2c/max6639.h new file mode 100644 index 000000000..6011c4203 --- /dev/null +++ b/kernel/include/linux/i2c/max6639.h @@ -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 */ |