summaryrefslogtreecommitdiff
path: root/drivers/input/mouse/cyapa.h
diff options
context:
space:
mode:
authorDudley Du <dudl@cypress.com>2015-01-17 18:57:42 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-01-18 00:10:29 -0800
commit672865080a8f3fa4da41386a1d44fd931a4e6066 (patch)
treeec0cc5dec14b1412242b6b085143bb500fc7b960 /drivers/input/mouse/cyapa.h
parent22e7db8111e4f2736280ed8f9c40c91e974794a7 (diff)
Input: cyapa - add runtime power management support
This change implements runtime PM support in the driver and adds runtime_suspend_scanrate_ms power management interface in device's power group, so users or applications can control the runtime power management strategy of trackpad device according to their requirements. Signed-off-by: Dudley Du <dudl@cypress.com> Tested-by: Jeremiah Mahler <jmmahler@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/cyapa.h')
-rw-r--r--drivers/input/mouse/cyapa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/mouse/cyapa.h b/drivers/input/mouse/cyapa.h
index 481a60d51efd..51fcdb2a11a6 100644
--- a/drivers/input/mouse/cyapa.h
+++ b/drivers/input/mouse/cyapa.h
@@ -242,6 +242,8 @@ struct cyapa {
/* power mode settings */
u8 suspend_power_mode;
u16 suspend_sleep_time;
+ u8 runtime_suspend_power_mode;
+ u16 runtime_suspend_sleep_time;
u8 dev_pwr_mode;
u16 dev_sleep_time;