diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-01-24 17:29:43 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-01-10 23:09:57 +0100 |
commit | ef325506b3e38edc8b780e5457f88008871fa4da (patch) | |
tree | 64e3c749c98c22c73da1c6232a163ad68e0206e8 /include | |
parent | 3e2c068a160275411cc6eea90befbb4aa4318b47 (diff) |
input: touchscreen: added platform data for Fusion touchscreen
Added platform data struct to define interrupt and reset GPIO. This
allows to initialize the touchscreen controller inside the driver
rather then in each platform and use the driver as a module.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit cb82730b70f31af3b43041ac4e47de69c18016c9)
(cherry picked from commit b0c045aef6b33205bffc1489a2887a88eae8809e)
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/input/fusion_F0710A.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/input/fusion_F0710A.h b/include/linux/input/fusion_F0710A.h new file mode 100644 index 000000000000..7d152cbdd06e --- /dev/null +++ b/include/linux/input/fusion_F0710A.h @@ -0,0 +1,20 @@ +/* linux/input/fusion_F0710A.h + * + * Platform data for Fusion F0710A driver + * + * Copyright (c) 2013 Toradex AG (stefan.agner@toradex.ch) + * + * For licencing details see kernel-base/COPYING + */ + +#ifndef __LINUX_I2C_FUSION_F0710A_H +#define __LINUX_I2C_FUSION_F0710A_H + +/* Board specific touch screen initial values */ +struct fusion_f0710a_init_data { + int (*pinmux_fusion_pins)(void); + int gpio_int; + int gpio_reset; +}; + +#endif /* __LINUX_I2C_FUSION_F0710A_H */ |