1/* SPDX-License-Identifier: GPL-2.0-only */
2#ifndef _AS5011_H
3#define _AS5011_H
4
5/*
6 * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com>
7 */
8
9struct as5011_platform_data {
10 unsigned int button_gpio;
11 unsigned int axis_irq; /* irq number */
12 unsigned long axis_irqflags;
13 char xp, xn; /* threshold for x axis */
14 char yp, yn; /* threshold for y axis */
15};
16
17#endif /* _AS5011_H */
18

source code of linux/include/linux/input/as5011.h