From fe59e6140d7ff8ee90359d3144bffb6fbcf4e053 Mon Sep 17 00:00:00 2001 From: Rushikesh S Kadam Date: Mon, 28 Jan 2019 18:35:43 +0530 Subject: ish: add ec_feature flag for ISH The kernel driver needs to be able to distinguish an ish cros_ec implementation from a normal EC implementation. Add a new flag to the ec features that advertises this. This will follow the same logic that fingerprint and touchpad do in the kernel. BRANCH=none BUG=b:123075957 TEST=verified that dis assembly for arcada includes this new flag Change-Id: Ic766097fc938888fde808101fc9f1f459f061d84 Signed-off-by: Jett Rink Reviewed-on: https://chromium-review.googlesource.com/1446539 Reviewed-by: Nick Crews Reviewed-by: Rushikesh S Kadam Reviewed-by: Gwendal Grignou --- include/ec_commands.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ec_commands.h') diff --git a/include/ec_commands.h b/include/ec_commands.h index 09b90ea3db..f2c5d2c55c 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -1342,6 +1342,8 @@ enum ec_feature_code { EC_FEATURE_AUDIO_CODEC = 38, /* EC Supports SCP. */ EC_FEATURE_SCP = 39, + /* The MCU is Intel Integrated Sensor Hub */ + EC_FEATURE_ISH = 40, }; #define EC_FEATURE_MASK_0(event_code) (1UL << (event_code % 32)) -- cgit v1.2.1