mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 10:00:51 +00:00
This change modifies the behavior of RBOX by blocking the key0 and key1 output, when the power button is pressed. It also adds support for printing debug statements when various RBOX interrupts are triggered. BUG=none BRANCH=none TEST=On cr50 test board verify key0 and key1 out are not asserted unless the power button is pressed. Change-Id: I67a3c1b8009279015bdc87bcf0995cffa9ab6f03 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/341470 Tested-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
55 lines
1.8 KiB
C
55 lines
1.8 KiB
C
/* -*- mode:c -*-
|
|
*
|
|
* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
CONSOLE_CHANNEL(CC_COMMAND, "command")
|
|
CONSOLE_CHANNEL(CC_ACCEL, "accel")
|
|
#ifdef CONFIG_EXTENSION_COMMAND
|
|
CONSOLE_CHANNEL(CC_EXTENSION, "extension")
|
|
#endif
|
|
CONSOLE_CHANNEL(CC_CHARGER, "charger")
|
|
CONSOLE_CHANNEL(CC_CHIPSET, "chipset")
|
|
CONSOLE_CHANNEL(CC_CLOCK, "clock")
|
|
CONSOLE_CHANNEL(CC_DMA, "dma")
|
|
CONSOLE_CHANNEL(CC_EVENTS, "events")
|
|
#ifdef CONFIG_GESTURE_SW_DETECTION
|
|
CONSOLE_CHANNEL(CC_GESTURE, "gesture")
|
|
#endif
|
|
CONSOLE_CHANNEL(CC_GPIO, "gpio")
|
|
CONSOLE_CHANNEL(CC_HOSTCMD, "hostcmd")
|
|
CONSOLE_CHANNEL(CC_I2C, "i2c")
|
|
CONSOLE_CHANNEL(CC_KEYBOARD, "keyboard")
|
|
CONSOLE_CHANNEL(CC_KEYSCAN, "keyscan")
|
|
CONSOLE_CHANNEL(CC_LIDANGLE, "lidangle")
|
|
#ifdef HAS_TASK_LIGHTBAR
|
|
CONSOLE_CHANNEL(CC_LIGHTBAR, "lightbar")
|
|
#endif
|
|
CONSOLE_CHANNEL(CC_LPC, "lpc")
|
|
CONSOLE_CHANNEL(CC_MOTION_LID, "motionlid")
|
|
CONSOLE_CHANNEL(CC_MOTION_SENSE, "motionsense")
|
|
#ifdef HAS_TASK_PDCMD
|
|
CONSOLE_CHANNEL(CC_PD_HOST_CMD, "pdhostcm")
|
|
#endif
|
|
CONSOLE_CHANNEL(CC_PORT80, "port80")
|
|
CONSOLE_CHANNEL(CC_PWM, "pwm")
|
|
CONSOLE_CHANNEL(CC_SPI, "spi")
|
|
#ifdef CONFIG_RBOX
|
|
CONSOLE_CHANNEL(CC_RBOX, "rbox")
|
|
#endif
|
|
#ifdef CONFIG_SPS
|
|
CONSOLE_CHANNEL(CC_SPS, "sps")
|
|
#endif
|
|
CONSOLE_CHANNEL(CC_SWITCH, "switch")
|
|
CONSOLE_CHANNEL(CC_SYSTEM, "system")
|
|
CONSOLE_CHANNEL(CC_TASK, "task")
|
|
CONSOLE_CHANNEL(CC_THERMAL, "thermal")
|
|
CONSOLE_CHANNEL(CC_TPM, "tpm")
|
|
CONSOLE_CHANNEL(CC_USB, "usb")
|
|
CONSOLE_CHANNEL(CC_USBCHARGE, "usbcharge")
|
|
CONSOLE_CHANNEL(CC_USBPD, "usbpd")
|
|
CONSOLE_CHANNEL(CC_VBOOT, "vboot")
|
|
CONSOLE_CHANNEL(CC_HOOK, "hook")
|