diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-03-10 12:05:47 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-03-26 19:31:25 +0000 |
commit | eb1406644716d6c3c87fdeea4551eb6ea37be649 (patch) | |
tree | 8f5209485fd585aa08f384bca2dd2f9c5d3982ae /common/console_output.c | |
parent | 9b420804d88a7adf8a1ded8bd12e52e1aa8ddd84 (diff) | |
download | chrome-ec-eb1406644716d6c3c87fdeea4551eb6ea37be649.tar.gz |
accel: clapper: glimmer: Add support for accelerometer interrupt.stabilize-5696.B
Adding in support for accelerometer interrupt for use currently
in clapper and glimmer. This is disabled by default and can
be enabled with CONFIG_ACCEL_INTERRUPTS.
BUG=none
BRANCH=rambi
TEST=Manual test on a glimmer using accelint console command.
On console enter:
accelint 0 32
When you tap the lid, it should fire the interrupt and print msg
to console.
accelint 1 32
Tap the base and it will fire another interrupt.
Change-Id: Iaab324945e34d527140399ec4f06efd812a62840
Original-Change-Id: I0329112fdcae3c8adc0ca07e74fef7a591d4b9a1
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/190099
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/191549
Diffstat (limited to 'common/console_output.c')
-rw-r--r-- | common/console_output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/console_output.c b/common/console_output.c index 4c6dde279c..b9db75c7fd 100644 --- a/common/console_output.c +++ b/common/console_output.c @@ -32,6 +32,7 @@ static uint32_t channel_mask_saved = CC_DEFAULT; */ static const char * const channel_names[] = { "command", + "accel", "charger", "chipset", "clock", |