Some cros ECs support a front proximity MKBP event via
'EC_MKBP_FRONT_PROXIMITY'. Add this define so it can be used in a
future patch.

Cc: Dmitry Torokhov <dmitry.torok...@gmail.com>
Cc: Benson Leung <ble...@chromium.org>
Cc: Guenter Roeck <gro...@chromium.org>
Cc: Douglas Anderson <diand...@chromium.org>
Cc: Gwendal Grignou <gwen...@chromium.org>
Acked-by: Enric Balletbo i Serra <enric.balle...@collabora.com>
Signed-off-by: Stephen Boyd <swb...@chromium.org>
---
 include/linux/platform_data/cros_ec_commands.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/platform_data/cros_ec_commands.h 
b/include/linux/platform_data/cros_ec_commands.h
index 86376779ab31..776e0b2be0e9 100644
--- a/include/linux/platform_data/cros_ec_commands.h
+++ b/include/linux/platform_data/cros_ec_commands.h
@@ -3457,6 +3457,7 @@ struct ec_response_get_next_event_v1 {
 #define EC_MKBP_LID_OPEN       0
 #define EC_MKBP_TABLET_MODE    1
 #define EC_MKBP_BASE_ATTACHED  2
+#define EC_MKBP_FRONT_PROXIMITY        3
 
 /* Run keyboard factory test scanning */
 #define EC_CMD_KEYBOARD_FACTORY_TEST 0x0068
-- 
https://chromeos.dev

Reply via email to