forked from torvalds/linux
-
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.
Input: atmel_mxt_ts - add regulator control support
Allow the driver to optionally manage enabling/disable power to the touch controller itself. If the regulators are not present then use the deep sleep power mode instead. For a correct power on sequence, it is required that we have control over the RESET line. Signed-off-by: Nick Dyer <[email protected]> Acked-by: Benson Leung <[email protected]> Acked-by: Yufeng Shen <[email protected]>
- Loading branch information
Showing
5 changed files
with
155 additions
and
8 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 |
---|---|---|
|
@@ -2055,6 +2055,7 @@ S: Supported | |
F: Documentation/devicetree/bindings/input/atmel,maxtouch.txt | ||
F: drivers/input/touchscreen/atmel_mxt_ts.c | ||
F: include/linux/platform_data/atmel_mxt_ts.h | ||
F: include/dt-bindings/input/atmel_mxt_ts.h | ||
|
||
ATTO EXPRESSSAS SAS/SATA RAID SCSI DRIVER | ||
M: Bradley Grove <[email protected]> | ||
|
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,22 @@ | ||
/* | ||
* Atmel maXTouch Touchscreen driver | ||
* | ||
* Copyright (C) 2015 Atmel Corporation | ||
* Author: Nick Dyer <[email protected]> | ||
* | ||
* 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 __DT_BINDINGS_ATMEL_MXT_TS_H | ||
#define __DT_BINDINGS_ATMEL_MXT_TS_H | ||
|
||
enum mxt_suspend_mode { | ||
MXT_SUSPEND_DEEP_SLEEP = 0, | ||
MXT_SUSPEND_T9_CTRL = 1, | ||
MXT_SUSPEND_REGULATOR = 2, | ||
}; | ||
|
||
#endif /* __DT_BINDINGS_ATMEL_MXT_TS_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