Files
OpenCellular/board
Bruce 0ef87a741c Pyro: Fix sensors order for devices with BM160 and LPC mode.
When the kernel reads sensor data via LPC, it expects the order to be:
- ACCEL
- ACCEL
- GYRO
(other sensors data are read through EC commands)
BMI160 expects ACCEL, GYRO and MAG to be next to each other.
Reorganize motion_sensor array to fit these 2 requirements:
If BMI160 in the lid:
- BASE_ACCEL
- LID_ACCEL
- LID_GYRO
...
If BMI160 in the base:
- LID_ACCEL
- BASE_ACCEL
- BASE_GRYO
...

BUG=none
BRANCH=none
TEST=make buildall

Change-Id: If89cf29d28b70e9a46dde8a3301a1942b3a1dd8b
Signed-off-by: Bruce.Wan <Bruce.Wan@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/401206
Commit-Ready: Keith Tzeng <keith.tzeng@quantatw.com>
Tested-by: Keith Tzeng <keith.tzeng@quantatw.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-10-23 01:00:03 -07:00
..
2016-07-19 16:31:58 -07:00
2016-10-14 01:02:13 -07:00
2016-10-19 02:45:36 -07:00
2016-10-20 23:23:55 -07:00
2016-10-20 23:22:37 -07:00
2016-09-02 21:17:22 -07:00
2016-10-02 15:19:21 -07:00
2016-05-04 16:15:02 -07:00
2014-04-02 19:58:53 +00:00