History

mfd: cros_ec: Instantiate properly CrOS Touchpad MCU device

Support Touchpad MCU as a special of CrOS EC devices. The current Touchpad MCU is used on Eve Chromebook and used the same protocol as other CrOS EC devices. When a MCU has touchpad support (aka EC_FEATURE_TOUCHPAD), it is instantiated as a special CrOS EC device with device name 'cros_tp'. So regardless of the probing order between the actual cros_ec and cros_tp, the userspace and other kernel drivers should not confuse them.

Enric Balletbo i Serra committed 7 years ago

Commit 4f8f2bb1 parent 90486af2 files · +11 −0Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/mfd/cros_ec.h+1−0
@@ -25,6 +25,7 @@ · 24 unmodified lines
2525 #define CROS_EC_DEV_NAME "cros_ec"
2626 #define CROS_EC_DEV_FP_NAME "cros_fp"
2727 #define CROS_EC_DEV_PD_NAME "cros_pd"
28+#define CROS_EC_DEV_TP_NAME "cros_tp"
2829 #define CROS_EC_DEV_ISH_NAME "cros_ish"
2930
3031 /*

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