blob: 5fba52a56cd61e88a319b10a0c6242fd155c3576 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002#ifndef _AS5011_H
3#define _AS5011_H
4
5/*
6 * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007 */
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 */