mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-19 07:39:54 +02:00

This driver does not have any in-tree users but is passing a legacy GPIO number through platform data. Convert it to use a GPIO descriptor, new users or outoftree users can easily be implemented using GPIO descriptor tables or software nodes. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20231129-descriptors-input-v1-4-9433162914a3@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
17 lines
372 B
C
17 lines
372 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _AS5011_H
|
|
#define _AS5011_H
|
|
|
|
/*
|
|
* Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com>
|
|
*/
|
|
|
|
struct as5011_platform_data {
|
|
unsigned int axis_irq; /* irq number */
|
|
unsigned long axis_irqflags;
|
|
char xp, xn; /* threshold for x axis */
|
|
char yp, yn; /* threshold for y axis */
|
|
};
|
|
|
|
#endif /* _AS5011_H */
|