summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
authorYu-An Chen <yu-an.chen@quanta.corp-partner.google.com>2021-01-21 11:52:47 +0800
committerCommit Bot <commit-bot@chromium.org>2021-01-23 16:54:53 +0000
commit20681487b6c839fe5724e95b711c3d87129f198a (patch)
treee2b40e0c7b063275f8cc3f4f2a7045bac9fd4c48 /baseboard
parent103b3360bf8dc71e830e78600ea9ad0bd73e9406 (diff)
downloadchrome-ec-20681487b6c839fe5724e95b711c3d87129f198a.tar.gz
Metaknight: Support motion sensor 2nd source
Support motion sensor 2nd source: -Lid : KX022 -Base : LSM6DSM BUG=b:177868819 BRANCH=main TEST=rework KX022/LSM6DSM on DUT, check ectool motionsense lid_angle is correct. Signed-off-by: yu-an.chen@quanta.corp-partner.google.com Change-Id: If61addd7ca182ff9c3d3e87e1f77076236a006d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2641705 Tested-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Henry Sun <henrysun@google.com>
Diffstat (limited to 'baseboard')
-rw-r--r--baseboard/dedede/cbi_ssfc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/baseboard/dedede/cbi_ssfc.h b/baseboard/dedede/cbi_ssfc.h
index 6b46a39839..b3803d0b18 100644
--- a/baseboard/dedede/cbi_ssfc.h
+++ b/baseboard/dedede/cbi_ssfc.h
@@ -18,7 +18,8 @@
enum ec_ssfc_base_sensor {
SSFC_SENSOR_BASE_DEFAULT = 0,
SSFC_SENSOR_BMI160 = 1,
- SSFC_SENSOR_ICM426XX = 2
+ SSFC_SENSOR_ICM426XX = 2,
+ SSFC_SENSOR_LSM6DSM = 3
};
/*