1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Copyright (C) 2009 Texas Instruments, Inc 4 * 5 * Author: Miguel Aguilar <miguel.aguilar@ridgerun.com> 6 */ 7 8 #ifndef DAVINCI_KEYSCAN_H 9 #define DAVINCI_KEYSCAN_H 10 11 #include <linux/io.h> 12 13 enum davinci_matrix_types { 14 DAVINCI_KEYSCAN_MATRIX_4X4, 15 DAVINCI_KEYSCAN_MATRIX_5X3, 16 }; 17 18 struct davinci_ks_platform_data { 19 int (*device_enable)(struct device *dev); 20 unsigned short *keymap; 21 u32 keymapsize; 22 u8 rep:1; 23 u8 strobe; 24 u8 interval; 25 u8 matrix_type; 26 }; 27 28 #endif 29 30
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.