summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2021-07-31 13:22:09 -0400
committerCommit Bot <commit-bot@chromium.org>2021-08-09 18:45:21 +0000
commit677220270d3c9973817e5507bdacadc35a24dcae (patch)
tree4d322c6100b78c6fc26d2940f65e2e0abcdc5fed
parent469e1079a40773dc8cd0b0b048aea866ec49d242 (diff)
downloadchrome-ec-677220270d3c9973817e5507bdacadc35a24dcae.tar.gz
dartmonkey: Moved unused SLP_ALT_DEV_L to RW
BRANCH=none BUG=b:178746753 TEST=make -j tests-dartmonkey 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: I677838148f5aeff6d2f613272e29dc8accb0417e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3078826 Reviewed-by: Josie Nordrum <josienordrum@google.com>
-rw-r--r--board/nocturne_fp/gpio.inc1
-rw-r--r--board/nocturne_fp/gpio_rw.inc1
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