summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2017-03-10 18:01:01 +0100
committerchrome-bot <chrome-bot@chromium.org>2017-03-13 17:53:58 -0700
commit03b5e1bbb9b284855225f7240a9f1d8c0d34bf7e (patch)
treeee9857b3809485e361445296c041fa648c848d27 /include
parent23ea0c9fa39163d3afb3dc5a96dce2962fb5014c (diff)
downloadchrome-ec-03b5e1bbb9b284855225f7240a9f1d8c0d34bf7e.tar.gz
common: add feature bit for fingerprint support
Add a new 'feature' bit to allow the host to auto-detect a FP MCU. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=b:35648259 TEST=manual, on Eve, look at the features bit on the kernel interface. Change-Id: If21320bb29d58f0a6dfadba03d8892e4183e5430 Reviewed-on: https://chromium-review.googlesource.com/452341 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/ec_commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index ed8c333cf4..c57e82a161 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -1074,6 +1074,8 @@ enum ec_feature_code {
EC_FEATURE_USBC_SS_MUX_VIRTUAL = 26,
/* EC has RTC feature that can be controlled by host commands */
EC_FEATURE_RTC = 27,
+ /* The MCU exposes a Fingerprint sensor */
+ EC_FEATURE_FINGERPRINT = 28,
};
#define EC_FEATURE_MASK_0(event_code) (1UL << (event_code % 32))