2 * TCA8418 keypad platform support
4 * Copyright (C) 2011 Fuel7, Inc. All rights reserved.
6 * Author: Kyle Manna <kyle.manna@fuel7.com>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public
10 * License v2 as published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public
18 * License along with this program; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 021110-1307, USA.
22 * If you can't comply with GPLv2, alternative licensing terms may be
23 * arranged. Please contact Fuel7, Inc. (http://fuel7.com/) for proprietary
24 * alternative licensing inquiries.
27 #ifndef _TCA8418_KEYPAD_H
28 #define _TCA8418_KEYPAD_H
30 #include <linux/types.h>
31 #include <linux/input/matrix_keypad.h>
33 #define TCA8418_I2C_ADDR 0x34
34 #define TCA8418_NAME "tca8418_keypad"
36 struct tca8418_keypad_platform_data
{
37 const struct matrix_keymap_data
*keymap_data
;