]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/platform_data/max6639.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / include / linux / platform_data / max6639.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
a5b79d62 2#ifndef _LINUX_MAX6639_H
3#define _LINUX_MAX6639_H
4
5#include <linux/types.h>
6
7/* platform data for the MAX6639 temperature sensor and fan control */
8
9struct max6639_platform_data {
10 bool pwm_polarity; /* Polarity low (0) or high (1, default) */
11 int ppr; /* Pulses per rotation 1..4 (default == 2) */
12 int rpm_range; /* 2000, 4000 (default), 8000 or 16000 */
13};
14
15#endif /* _LINUX_MAX6639_H */