Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _LINUX_MAX6639_H
0003 #define _LINUX_MAX6639_H
0004 
0005 #include <linux/types.h>
0006 
0007 /* platform data for the MAX6639 temperature sensor and fan control */
0008 
0009 struct max6639_platform_data {
0010     bool pwm_polarity;  /* Polarity low (0) or high (1, default) */
0011     int ppr;        /* Pulses per rotation 1..4 (default == 2) */
0012     int rpm_range;      /* 2000, 4000 (default), 8000 or 16000 */
0013 };
0014 
0015 #endif /* _LINUX_MAX6639_H */