]> git.ipfire.org Git - people/arne_f/kernel.git/blame - include/linux/platform_data/tsc2007.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[people/arne_f/kernel.git] / include / linux / platform_data / tsc2007.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
50b6f1f4
KL
2#ifndef __LINUX_I2C_TSC2007_H
3#define __LINUX_I2C_TSC2007_H
4
8fd70815 5/* linux/platform_data/tsc2007.h */
50b6f1f4
KL
6
7struct tsc2007_platform_data {
8 u16 model; /* 2007. */
341deefe 9 u16 x_plate_ohms; /* must be non-zero value */
84005eb5 10 u16 max_rt; /* max. resistance above which samples are ignored */
1af38eac 11 unsigned long poll_period; /* time (in ms) between samples */
891e376b
TR
12 int fuzzx; /* fuzz factor for X, Y and pressure axes */
13 int fuzzy;
14 int fuzzz;
50b6f1f4 15
07f9e5cf
DC
16 int (*get_pendown_state)(struct device *);
17 /* If needed, clear 2nd level interrupt source */
18 void (*clear_penirq)(void);
50b6f1f4
KL
19 int (*init_platform_hw)(void);
20 void (*exit_platform_hw)(void);
21};
22
23#endif