diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2020-12-02 20:22:59 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-08 18:15:19 +0000 |
commit | 75e589be176323aea8b8deda0e593568d3abc1c9 (patch) | |
tree | 29670982190676dcbb2774dc7c0fb48f45eb4d27 /power | |
parent | 454bd64f6a8a8fdadf02b22a6acfb1db28290b97 (diff) | |
download | chrome-ec-75e589be176323aea8b8deda0e593568d3abc1c9.tar.gz |
driver: tcs3400: Report ODR for RGB sensor
To be able to send data to the host, the oversampling ratio must be
non-zero. It implies:
- the host send a set frequency request for the RGB sensor
- the EC use the frequency from the clear sensor to calculate the
RGB sensor oversampling ratio
BUG=b:172343923
BRANCH=kukui,hatch,volteer
TEST=On Volteer, in calibration mode, check we get samples from the RGB
sensor.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I70eb62287cae983800cdadaee4cfe00b2f22b734
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2570825
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
(cherry picked from commit 4761e94ef6690c47a25351d024705197674720bd)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2579708
Diffstat (limited to 'power')
0 files changed, 0 insertions, 0 deletions