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

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
3467#define EC_MKBP_LID_OPEN 03467#define EC_MKBP_LID_OPEN 0
3468#define EC_MKBP_TABLET_MODE 13468#define EC_MKBP_TABLET_MODE 1
3469#define EC_MKBP_BASE_ATTACHED 23469#define EC_MKBP_BASE_ATTACHED 2
3470#define EC_MKBP_FRONT_PROXIMITY 3
3470 3471
3471/* Run keyboard factory test scanning */3472/* Run keyboard factory test scanning */
3472#define EC_CMD_KEYBOARD_FACTORY_TEST 0x00683473#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