-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (57 commits) Input: adp5588-keypad - fix NULL dereference in adp5588_gpio_add() Input: cy8ctmg110 - capacitive touchscreen support Input: keyboard - also match braille-only keyboards Input: adp5588-keys - export unused GPIO pins Input: xpad - add product ID for Hori Fighting Stick EX2 Input: adxl34x - fix leak and use after free Input: samsung-keypad - Add samsung keypad driver Input: i8042 - reset keyboard controller wehen resuming from S2R Input: synaptics - set min/max for finger width Input: synaptics - only report width on hardware that supports it Input: evdev - signal that device is writable in evdev_poll() Input: mousedev - signal that device is writable in mousedev_poll() Input: change input handlers to use bool when possible Input: document the MT event slot protocol Input: introduce MT event slots Input: usbtouchscreen - implement reset_resume Input: usbtouchscreen - implement runtime power management Input: usbtouchscreen - implement basic suspend/resume Input: Add ATMEL QT602240 touchscreen driver Input: fix signedness warning in input_set_keycode() ...
- Loading branch information
Showing
56 changed files
with
6,496 additions
and
983 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* Samsung Platform - Keypad platform data definitions | ||
* | ||
* Copyright (C) 2010 Samsung Electronics Co.Ltd | ||
* Author: Joonyoung Shim <jy0922.shim@samsung.com> | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the | ||
* Free Software Foundation; either version 2 of the License, or (at your | ||
* option) any later version. | ||
*/ | ||
|
||
#ifndef __PLAT_SAMSUNG_KEYPAD_H | ||
#define __PLAT_SAMSUNG_KEYPAD_H | ||
|
||
#include <linux/input/matrix_keypad.h> | ||
|
||
#define SAMSUNG_MAX_ROWS 8 | ||
#define SAMSUNG_MAX_COLS 8 | ||
|
||
/** | ||
* struct samsung_keypad_platdata - Platform device data for Samsung Keypad. | ||
* @keymap_data: pointer to &matrix_keymap_data. | ||
* @rows: number of keypad row supported. | ||
* @cols: number of keypad col supported. | ||
* @no_autorepeat: disable key autorepeat. | ||
* @wakeup: controls whether the device should be set up as wakeup source. | ||
* @cfg_gpio: configure the GPIO. | ||
* | ||
* Initialisation data specific to either the machine or the platform | ||
* for the device driver to use or call-back when configuring gpio. | ||
*/ | ||
struct samsung_keypad_platdata { | ||
const struct matrix_keymap_data *keymap_data; | ||
unsigned int rows; | ||
unsigned int cols; | ||
bool no_autorepeat; | ||
bool wakeup; | ||
|
||
void (*cfg_gpio)(unsigned int rows, unsigned int cols); | ||
}; | ||
|
||
#endif /* __PLAT_SAMSUNG_KEYPAD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.