History

platform/chrome: cros_ec: Add SW_FRONT_PROXIMITY MKBP define

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.

Stephen Boyd committed 5 years ago

Commit 374be281 parent b9d453a1 file · +1 −0Browse files

Showing the changes to include/linux/platform_data (1 of 1 file). Show all

Unified · Split

include/linux/platform_data/cros_ec_commands.h+1−0
@@ -3467,6 +3467,7 @@ struct ec_response_get_next_event_v1 { · 3466 unmodified lines
34673467 #define EC_MKBP_LID_OPEN 0
34683468 #define EC_MKBP_TABLET_MODE 1
34693469 #define EC_MKBP_BASE_ATTACHED 2
3470+#define EC_MKBP_FRONT_PROXIMITY 3
34703471
34713472 /* Run keyboard factory test scanning */
34723473 #define EC_CMD_KEYBOARD_FACTORY_TEST 0x0068

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t