max6639.h 394 B

1234567891011121314
  1. #ifndef _LINUX_MAX6639_H
  2. #define _LINUX_MAX6639_H
  3. #include <linux/types.h>
  4. /* platform data for the MAX6639 temperature sensor and fan control */
  5. struct max6639_platform_data {
  6. bool pwm_polarity; /* Polarity low (0) or high (1, default) */
  7. int ppr; /* Pulses per rotation 1..4 (default == 2) */
  8. int rpm_range; /* 2000, 4000 (default), 8000 or 16000 */
  9. };
  10. #endif /* _LINUX_MAX6639_H */