diff options
author | Alexandru M Stan <amstan@chromium.org> | 2017-01-18 13:04:47 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-01-18 19:18:25 -0800 |
commit | f7720d580d007b3f3204fac97e39058c0c635687 (patch) | |
tree | 714d98719897bee325dd5aae6cad66ef95aa159e /common/charge_ramp.c | |
parent | 48e8e3faf082c18000bccd9c2af683a9d7600e7f (diff) | |
download | chrome-ec-f7720d580d007b3f3204fac97e39058c0c635687.tar.gz |
eve: Add BMI160 as a temperature sensor.
Enable reading temperature from BMI160.
BUG=chrome-os-partner:58894
BRANCH=master
TEST=EC Console:
> temps
Battery : Error 1
Ambient : 304 K = 31 C
Charger : 303 K = 30 C
DRAM : 305 K = 32 C
eMMC : 307 K = 34 C
Gyro : 308 K = 35 C
Unknown error
TEST=AP Console:
localhost ~ # ectool tempsinfo 5
Sensor name: Gyro
Sensor type: 1
localhost ~ # ectool temps 5
Reading temperature...308
Change-Id: I2e943ec664745fec5923df67515b96ba569e05ad
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/430210
Commit-Ready: Alexandru Stan <amstan@chromium.org>
Tested-by: Alexandru Stan <amstan@chromium.org>
Diffstat (limited to 'common/charge_ramp.c')
0 files changed, 0 insertions, 0 deletions