diff options
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r-- | include/ec_commands.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index b63ae327fd..f4ee639c64 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -2254,6 +2254,20 @@ struct __ec_align1 ec_params_force_lid_open { }; /*****************************************************************************/ +/* Configure the behavior of the power button */ +#define EC_CMD_CONFIG_POWER_BUTTON 0x002D + +enum ec_config_power_button_flags { + /* Enable/Disable SMI pulses for x86 devices */ + EC_POWER_BUTTON_ENABLE_SMI_PULSE = 1 << 0, +}; + +struct __ec_align1 ec_params_config_power_button { + /* See enum ec_config_power_button_flags */ + uint8_t flags; +}; + +/*****************************************************************************/ /* USB charging control commands */ /* Set USB port charging mode */ |