Input: egalax_ts - add system wakeup support
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 17 Sep 2018 18:08:52 +0000 (11:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 18 Sep 2018 22:28:07 +0000 (15:28 -0700)
commit49f62249a9577b0f8c20c7c843d23289d143daf1
treea9e8440aab6221af0cd0cc9bd3c0276db6b9a3c2
parentb8a946d8dc245ec3adae65c8eab6f3e73a950af3
Input: egalax_ts - add system wakeup support

This patch adds wakeup function support for egalax touch
screen, if "wakeup-source" is added to device tree's egalax
touch screen node, the wakeup function will be enabled, and
egalax touch screen will be able to wakeup system from suspend.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/egalax_ts.c