max6639.h 433 B

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