summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Chen <marcochen@chromium.org>2019-04-11 19:42:12 +0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2019-04-16 03:21:16 +0000
commit0033e4ca695ed4dc42d34f8c2fe686167ebd1959 (patch)
tree92d43042d8b7be40e6ecafb78a070061ce94bf13
parent32c940bd6575788e76420e1ba384f563ee7c1ce3 (diff)
downloadchrome-ec-0033e4ca695ed4dc42d34f8c2fe686167ebd1959.tar.gz
octopus: correct GPIO - KB_BL_PWR_EN to UNIMPLEMENTED
First wave projects don't have any board with keyboard backlight so the GPIO - KB_BL_PWR_EN should be configured by macro of UNIMPLEMENTED instead of output direction. BRANCH=octopus BUG=b:130329644 TEST=buildall Change-Id: I5c37b4b5ec3eb3f629c6d494064a6a27a3a1417c Signed-off-by: Marco Chen <marcochen@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1564493 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Diana Z <dzigterman@chromium.org> (cherry picked from commit ebb1a8ebc4efac1a7bb4a74f25f6ef433adcee99) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1568888
-rw-r--r--board/bobba/gpio.inc4
-rw-r--r--board/fleex/gpio.inc4
-rw-r--r--board/meep/gpio.inc4
-rw-r--r--board/phaser/gpio.inc4
4 files changed, 8 insertions, 8 deletions
diff --git a/board/bobba/gpio.inc b/board/bobba/gpio.inc
index b36cf41cea..5078b5fb59 100644
--- a/board/bobba/gpio.inc
+++ b/board/bobba/gpio.inc
@@ -132,8 +132,8 @@ GPIO(BAT_LED_ORANGE_L, PIN(C, 3), GPIO_OUT_HIGH) /* LED_1_L */
GPIO(BAT_LED_BLUE_L, PIN(C, 4), GPIO_OUT_HIGH) /* LED_2_L */
GPIO(LED_3_L, PIN(D, 7), GPIO_OUT_HIGH)
-/* Keyboard Backlight */
-GPIO(KB_BL_PWR_EN, PIN(6, 2), GPIO_OUT_LOW)
+/* Not implemented in hardware */
+UNIMPLEMENTED(KB_BL_PWR_EN)
/* MKBP event synchronization */
GPIO(EC_INT_L, PIN(9, 4), GPIO_ODR_HIGH)
diff --git a/board/fleex/gpio.inc b/board/fleex/gpio.inc
index 6993acd251..987a02674b 100644
--- a/board/fleex/gpio.inc
+++ b/board/fleex/gpio.inc
@@ -131,8 +131,8 @@ GPIO(USB_C1_HPD_1V8_ODL, PIN(C, 6), GPIO_INPUT | /* C1 DP Hotplug Detect */
GPIO(LED_1_PWR_WHITE_L, PIN(C, 3), GPIO_OUT_HIGH)
GPIO(LED_2_CHG_AMBER_L, PIN(C, 4), GPIO_OUT_HIGH)
-/* Keyboard Backlight */
-GPIO(KB_BL_PWR_EN, PIN(6, 2), GPIO_OUT_LOW)
+/* Not implemented in hardware */
+UNIMPLEMENTED(KB_BL_PWR_EN)
/* Overcurrent event to host */
GPIO(USB_C_OC, PIN(3, 6), GPIO_ODR_HIGH | GPIO_SEL_1P8V)
diff --git a/board/meep/gpio.inc b/board/meep/gpio.inc
index d1d29a6031..d1ad178ebd 100644
--- a/board/meep/gpio.inc
+++ b/board/meep/gpio.inc
@@ -135,8 +135,8 @@ GPIO(BAT_LED_AMBER_L, PIN(C, 3), GPIO_OUT_HIGH) /* LED_1_L */
GPIO(BAT_LED_WHITE_L, PIN(C, 4), GPIO_OUT_HIGH) /* LED_2_L */
GPIO(PWR_LED_WHITE_L, PIN(D, 7), GPIO_OUT_HIGH) /* LED_3_L */
-/* Keyboard Backlight */
-GPIO(KB_BL_PWR_EN, PIN(6, 2), GPIO_OUT_LOW)
+/* Not implemented in hardware */
+UNIMPLEMENTED(KB_BL_PWR_EN)
/* MKBP event synchronization */
GPIO(EC_INT_L, PIN(9, 4), GPIO_ODR_HIGH) /* EC_AP_INT_ODL */
diff --git a/board/phaser/gpio.inc b/board/phaser/gpio.inc
index 3579ecb38a..b05a72ff7b 100644
--- a/board/phaser/gpio.inc
+++ b/board/phaser/gpio.inc
@@ -135,8 +135,8 @@ GPIO(BAT_LED_RED_L, PIN(C, 3), GPIO_OUT_HIGH) /* LED_1_L */
GPIO(BAT_LED_GREEN_L, PIN(C, 4), GPIO_OUT_HIGH) /* LED_2_L */
GPIO(PWR_LED_WHITE_L, PIN(D, 7), GPIO_OUT_HIGH) /* LED_3_L */
-/* Keyboard Backlight */
-GPIO(KB_BL_PWR_EN, PIN(6, 2), GPIO_OUT_LOW)
+/* Not implemented in hardware */
+UNIMPLEMENTED(KB_BL_PWR_EN)
/* Overcurrent event to host */
GPIO(USB_C_OC, PIN(3, 6), GPIO_ODR_HIGH | GPIO_SEL_1P8V)