Files
OpenCellular/board
Gwendal Grignou 8a2d0a5de6 driver: BMM150: Set max frequency based on repetitions setting
The compass uses oversampling to produce accurate values.
MAX_ODR is functions of the repetitions setting.
80Hz is too high, calculate the frequency based on preset setting.
Currently, we use 'SPECIAL' that was calculated for Ryu.

BUG=b:68394559
BRANCH=eve,reef,poppy
TEST=Check with ectool motionsense info 3 the frequency is around 30Hz.
Before:
Min Frequency:              781 mHz
Max Frequency:              80000 mHz
After:
Min Frequency:              781 mHz
Max Frequency:              29579 mHz
Check with AIDA64 the compass is not stuck and return changing values.

Fixup of CL/570482

Change-Id: Idcfed1418f59e755e5647d018351c6a7397ffe1b
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/742146
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
2017-10-30 14:03:10 -07:00
..
2017-10-27 21:54:37 -07:00
2017-10-17 00:33:12 -07:00
2017-10-11 20:45:08 -07:00
2017-10-19 05:15:30 -07:00
2017-03-16 11:25:50 -07:00
2017-10-19 12:56:42 -07:00
2017-10-19 12:56:42 -07:00
2017-10-19 12:56:42 -07:00
2017-10-19 12:56:42 -07:00
2017-10-25 01:38:44 -07:00
2017-05-18 06:03:52 -07:00
2017-09-25 11:32:18 -07:00
2016-05-04 16:15:02 -07:00
2014-04-02 19:58:53 +00:00
2017-05-16 07:47:05 -07:00