mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
samus: enable config option for low power idle
Enable low power idle for Samus. BUG=none BRANCH=none TEST=tested on samus. made sure EC comes up with no obvious problems and that the EC goes into deep sleep a minute after no console activity. Change-Id: I00e196560759dfd62915e645319de606f2f29df3 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/190791 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Sameer Nanda <snanda@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
5bd3d71259
commit
727b4e4e0d
@@ -17,6 +17,7 @@
|
||||
#include "gpio.h"
|
||||
#include "host_command.h"
|
||||
#include "i2c.h"
|
||||
#include "jtag.h"
|
||||
#include "keyboard_scan.h"
|
||||
#include "lid_switch.h"
|
||||
#include "peci.h"
|
||||
@@ -30,6 +31,7 @@
|
||||
#include "temp_sensor_chip.h"
|
||||
#include "timer.h"
|
||||
#include "thermal.h"
|
||||
#include "uart.h"
|
||||
#include "util.h"
|
||||
|
||||
/* GPIO signal list. Must match order from enum gpio_signal. */
|
||||
@@ -67,6 +69,11 @@ const struct gpio_info gpio_list[] = {
|
||||
backlight_interrupt},
|
||||
{"CAPSENSE_INT_L", LM4_GPIO_N, (1<<0), GPIO_INT_FALLING,
|
||||
capsense_interrupt},
|
||||
{"JTAG_TCK", LM4_GPIO_C, (1<<0), GPIO_DEFAULT,
|
||||
jtag_interrupt},
|
||||
{"UART0_RX", LM4_GPIO_A, (1<<0), GPIO_PULL_UP|
|
||||
GPIO_INT_BOTH_DSLEEP,
|
||||
uart_deepsleep_interrupt},
|
||||
|
||||
/* Other inputs */
|
||||
{"BOARD_VERSION1", LM4_GPIO_Q, (1<<5), GPIO_INPUT, NULL},
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#define CONFIG_KEYBOARD_BOARD_CONFIG
|
||||
#define CONFIG_KEYBOARD_PROTOCOL_8042
|
||||
#define CONFIG_LED_DRIVER_DS2413
|
||||
#define CONFIG_LOW_POWER_IDLE
|
||||
#define CONFIG_ONEWIRE
|
||||
#define CONFIG_POWER_BUTTON
|
||||
#define CONFIG_POWER_BUTTON_X86
|
||||
@@ -97,6 +98,8 @@ enum gpio_signal {
|
||||
GPIO_WP_L, /* Write protect input */
|
||||
GPIO_PCH_BL_EN, /* PCH backlight input */
|
||||
GPIO_CAPSENSE_INT_L, /* Capsense interrupt */
|
||||
GPIO_JTAG_TCK, /* JTAG clock input */
|
||||
GPIO_UART0_RX, /* UART0 RX input */
|
||||
|
||||
/* Other inputs */
|
||||
GPIO_BOARD_VERSION1, /* Board version stuffing resistor 1 */
|
||||
|
||||
Reference in New Issue
Block a user