diff options
author | Craig Hesling <hesling@chromium.org> | 2021-07-31 13:22:09 -0400 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-05 21:24:15 +0000 |
commit | 69d96e325f9f9060e64fece1e04cf2963ccef3ab (patch) | |
tree | 57e924bcc39aad2fa26c4cff751d26e3085b94b7 | |
parent | 6c3977530eaf07da7c3568cedc3cacde2f3d9eaa (diff) | |
download | chrome-ec-69d96e325f9f9060e64fece1e04cf2963ccef3ab.tar.gz |
dartmonkey: Moved unused SLP_ALT_DEV_L to RW
BRANCH=none
BUG=b:178746753
TEST=# Connect servo_micro and J-Link to an icetower board.
make proj-dartmonkey -j
sudo servod --board=icetower
./util/flash_jlink.py --board=dartmonkey --image=./build/dartmonkey/ec.bin
# Unplug J-Link
dut-control fpmcu_slp:off fpmcu_slp_alt:off
dut-control pp3300_dx_mcu_mw # Should be more than 40mw
dut-control fpmcu_slp:on fpmcu_slp_alt:off
dut-control pp3300_dx_mcu_mw # Should be less than 10mw
dut-control fpmcu_slp:off fpmcu_slp_alt:on
dut-control pp3300_dx_mcu_mw # Should be less than 10mw
dut-control fpmcu_slp:on fpmcu_slp_alt:on
dut-control pp3300_dx_mcu_mw # Should be less than 10mw
dut-control fpmcu_slp:off fpmcu_slp_alt:off
minicom -D$(dut-control -o raw_fpmcu_console_uart_pty)
> reboot ro
# Ctrl-A Q
# RO no longer enters low-power-idle.
dut-control fpmcu_slp:off fpmcu_slp_alt:off
dut-control pp3300_dx_mcu_mw # Should be more than 40mw
dut-control fpmcu_slp:on fpmcu_slp_alt:off
dut-control pp3300_dx_mcu_mw # Should be more than 40mw
dut-control fpmcu_slp:off fpmcu_slp_alt:on
dut-control pp3300_dx_mcu_mw # Should be more than 40mw
dut-control fpmcu_slp:on fpmcu_slp_alt:on
dut-control pp3300_dx_mcu_mw # Should be more than 40mw
dut-control fpmcu_slp:off fpmcu_slp_alt:off
minicom -D$(dut-control -o raw_fpmcu_console_uart_pty)
> gpioget # Check that SLP_ALT_DEV_L is missing.
# Ctrl-A Q
Signed-off-by: Craig Hesling <hesling@chromium.org>
Change-Id: I51057d710ef0a884133e3dab03ee0bac2e74c3b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3064768
Commit-Queue: Josie Nordrum <josienordrum@google.com>
Reviewed-by: Josie Nordrum <josienordrum@google.com>
-rw-r--r-- | board/nocturne_fp/gpio.inc | 1 | ||||
-rw-r--r-- | board/nocturne_fp/gpio_rw.inc | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/board/nocturne_fp/gpio.inc b/board/nocturne_fp/gpio.inc index ff94e4f8f7..dc15ab0ef0 100644 --- a/board/nocturne_fp/gpio.inc +++ b/board/nocturne_fp/gpio.inc @@ -7,7 +7,6 @@ /* Interrupts */ GPIO_INT(SLP_L, PIN(D,13), GPIO_INT_BOTH, slp_event) GPIO_INT(SLP_ALT_L, PIN(A,11), GPIO_INT_BOTH, slp_event) -GPIO_INT(SLP_ALT_DEV_L, PIN(D,14), GPIO_INT_BOTH, slp_event) GPIO_INT(SPI1_NSS, PIN(A, 4), GPIO_INPUT, spi_event) /* Inputs */ diff --git a/board/nocturne_fp/gpio_rw.inc b/board/nocturne_fp/gpio_rw.inc index 088ce22f32..2de4c3e92a 100644 --- a/board/nocturne_fp/gpio_rw.inc +++ b/board/nocturne_fp/gpio_rw.inc @@ -16,6 +16,7 @@ GPIO_INT(WP, PIN(B, 7), GPIO_INT_BOTH, wp_event) #endif /* Inputs */ +GPIO_INT(SLP_ALT_DEV_L, PIN(D,14), GPIO_INT_BOTH, slp_event) /* * The S4 and SUS sleep lines are unused in code, but are maintained in this * gpio list to ensure that they are not repurposed. This is because these |