/* * arch/arm/mach-tegra/board-touch.h * * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef _MACH_TEGRA_BOARD_TOUCH_H #define _MACH_TEGRA_BOARD_TOUCH_H #include struct synaptics_gpio_data { int attn_gpio; int attn_polarity; int reset_gpio; }; extern struct rmi_button_map synaptics_button_map; int synaptics_touchpad_gpio_setup(void *gpio_data, bool configure); int __init touch_init_synaptics(struct spi_board_info *board_info, int board_info_size); #endif