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-19 12:04:00 -07:00
2017-08-07 19:29:13 -07:00
2017-07-08 20:38:53 -07:00
2017-10-10 22:13:43 -07:00
2018-03-19 17:04:53 -07:00
2012-05-11 09:11:52 -07:00
2018-03-15 15:27:31 -07:00
2014-04-02 19:58:53 +00:00
2017-11-16 21:07:40 -08:00

For an overview of the Embedded Controller firmware, refer to

http://www.chromium.org/chromium-os/2014-firmware-summit

For instructions on building from source, refer to

http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
No description provided
Readme 1.4 GiB
Languages
C 64.7%
Lasso 20.7%
ASL 3.6%
JavaScript 3.2%
C# 2.9%
Other 4.6%