From 54030fa0b37b509863b7fc0eb5a1c1e8ea4d040a Mon Sep 17 00:00:00 2001 From: Keith Short Date: Wed, 8 Jan 2020 10:55:30 -0700 Subject: volteer: add keyboard backlight support Add keyboard backlight for Volteer BUG=b:147020710 BRANCH=none TEST=make buildall TEST=run 'kblight' EC console command to verify keyboard backight TEST=run 'ectool verify pwmsetkblight' to verify keyboard backlight Change-Id: I6b34910b0e06afc8f7c280c622821bc819e6508e Signed-off-by: Keith Short Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1992206 Reviewed-by: Abe Levkoy Reviewed-by: Daisuke Nojiri --- board/volteer/gpio.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'board/volteer/gpio.inc') diff --git a/board/volteer/gpio.inc b/board/volteer/gpio.inc index 9ed79228ff..f23d847b38 100644 --- a/board/volteer/gpio.inc +++ b/board/volteer/gpio.inc @@ -161,6 +161,7 @@ GPIO(EC_KSO_02_INV, PIN(1, 7), GPIO_OUT_LOW) /* KSO_02 * ALTERNATE(PIN_MASK(1, 0x7F), 0, MODULE_KEYBOARD_SCAN, GPIO_ODR_HIGH) /* KSO_03-09 */ ALTERNATE(PIN_MASK(0, 0xF0), 0, MODULE_KEYBOARD_SCAN, GPIO_ODR_HIGH) /* KSO_10-13 */ ALTERNATE(PIN_MASK(8, 0x04), 0, MODULE_KEYBOARD_SCAN, GPIO_ODR_HIGH) /* KSO_14 */ +ALTERNATE(PIN_MASK(8, BIT(0)), 0, MODULE_PWM, 0) /* EC_KB_BL_PWM */ /* UART */ ALTERNATE(PIN_MASK(6, BIT(5) | BIT(4)), 0, MODULE_UART, 0) /* UART from EC to Servo */ -- cgit v1.2.1