Files
OpenCellular/driver
Yidi Lin 7640df67aa driver: kionix: Add software reset flow for KX022
Kionix suggests that it is recommended to issue the Software Reset
command after the device was powered. This is effective against
dynamic or non-linear behavior of a power supply or unexpected
noise above normal on the power rail during a power up.

BRANCH=eve
BUG=b:62607555
TEST=kx022:
     1. press power button 10 second to power off.
     2. power on the DUT
     3. refresh + power button to cold reboot the DUT
     4. Check the g-sensor by 'ectool motionsense'
     kxcj9:
     eve: sensor kxcj9 found.

Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/536723
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
(cherry picked from commit 5a52614b8c87ab1de84c461b7bbd0b4a14dc7fdb)
 Conflict in init routine in accel_kionix.c.
 By moving WHOAMI after reset, we expect the test to work the first
 time.)
Change-Id: I362f2af59253519aa35b72cfb6b666c49e425777
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/753969
2018-03-19 17:04:54 -07:00
..
2018-03-02 22:22:34 -08:00
2018-02-09 16:07:10 -08:00
2017-07-13 15:08:42 -07:00
2018-03-14 04:06:53 -07:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2018-03-14 04:06:53 -07:00
2018-03-14 04:06:53 -07:00
2017-10-31 21:49:24 -07:00
2017-10-31 21:49:24 -07:00
2016-08-24 17:40:52 -07:00