Merge tag 'v4.11-rc5' into next
Sync up with mainline to bring in changes to input subsystem merged through other trees.
This commit is contained in:
@@ -1441,7 +1441,8 @@ enum motionsensor_type {
|
||||
MOTIONSENSE_TYPE_PROX = 3,
|
||||
MOTIONSENSE_TYPE_LIGHT = 4,
|
||||
MOTIONSENSE_TYPE_ACTIVITY = 5,
|
||||
MOTIONSENSE_TYPE_MAX
|
||||
MOTIONSENSE_TYPE_BARO = 6,
|
||||
MOTIONSENSE_TYPE_MAX,
|
||||
};
|
||||
|
||||
/* List of motion sensor locations. */
|
||||
@@ -2551,6 +2552,20 @@ struct ec_params_ext_power_current_limit {
|
||||
uint32_t limit; /* in mA */
|
||||
} __packed;
|
||||
|
||||
/* Inform the EC when entering a sleep state */
|
||||
#define EC_CMD_HOST_SLEEP_EVENT 0xa9
|
||||
|
||||
enum host_sleep_event {
|
||||
HOST_SLEEP_EVENT_S3_SUSPEND = 1,
|
||||
HOST_SLEEP_EVENT_S3_RESUME = 2,
|
||||
HOST_SLEEP_EVENT_S0IX_SUSPEND = 3,
|
||||
HOST_SLEEP_EVENT_S0IX_RESUME = 4
|
||||
};
|
||||
|
||||
struct ec_params_host_sleep_event {
|
||||
uint8_t sleep_event;
|
||||
} __packed;
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Smart battery pass-through */
|
||||
|
||||
|
Reference in New Issue
Block a user