summaryrefslogtreecommitdiff
path: root/util/ectool.c
diff options
context:
space:
mode:
authorYB.Ha <ybha@samsung.com>2017-11-24 18:30:40 +0900
committerchrome-bot <chrome-bot@chromium.org>2017-12-08 00:37:03 -0800
commit47a6acca3a41f21f8fe08e5ecb7b4d23acb6eb00 (patch)
tree3ba213fc0f9fef8b324543913122420487cf32b4 /util/ectool.c
parentaa63578a25e2cc8b321d8f4868414b9628ec027a (diff)
downloadchrome-ec-47a6acca3a41f21f8fe08e5ecb7b4d23acb6eb00.tar.gz
motion: Add bh1730 as a motion sensor
- Add ROHM ambient light sensor driver - Add als sensor to motion sensors BRANCH=glados BUG=b:67022366 TEST=This driver is tested in caroline Signed-off-by: yb.ha <ybha@samsung.com> Change-Id: Ic73c50e17b412975f7850b7348ce310180f7a6eb Reviewed-on: https://chromium-review.googlesource.com/784659 Commit-Ready: YongBeum Ha <ybha@samsung.com> Tested-by: YongBeum Ha <ybha@samsung.com> Reviewed-by: Gwendal Grignou <gwendal@google.com>
Diffstat (limited to 'util/ectool.c')
-rw-r--r--util/ectool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c
index f8f9e6cfef..eb4dd398b6 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -3822,6 +3822,9 @@ static int cmd_motionsense(int argc, char **argv)
case MOTIONSENSE_CHIP_OPT3001:
printf("opt3001\n");
break;
+ case MOTIONSENSE_CHIP_BH1730:
+ printf("bh1730\n");
+ break;
default:
printf("unknown\n");
}