diff options
author | Denis Brockus <dbrockus@chromium.org> | 2019-08-06 14:38:20 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-08 14:58:37 +0000 |
commit | 2eea4a541cb26c30211d1ed014a113db1a482814 (patch) | |
tree | f90b8a27a15e48c5e8a417f84439203f77767444 /board/trembyle/gpio.inc | |
parent | 3e6c5b4673228f2c009c5dd9283f9232ef4f9449 (diff) | |
download | chrome-ec-2eea4a541cb26c30211d1ed014a113db1a482814.tar.gz |
Trembyle: add fan support
BUG=b:138600244
BRANCH=none
TEST=make buildall -j
Change-Id: Ibaf217e9fccf76dff6b70ae529e089367db89221
Signed-off-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1742039
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/trembyle/gpio.inc')
-rw-r--r-- | board/trembyle/gpio.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/trembyle/gpio.inc b/board/trembyle/gpio.inc index 661613c67b..a66e334de1 100644 --- a/board/trembyle/gpio.inc +++ b/board/trembyle/gpio.inc @@ -98,7 +98,9 @@ ALTERNATE(PIN_MASK(B, BIT(2) | BIT(3)), 0, MODULE_I2C, 0) /* I2C7 */ ALTERNATE(PIN_MASK(4, BIT(2) | BIT(3)), 0, MODULE_ADC, 0) /* ADC2, ADC3 Temp Sensors */ ALTERNATE(PIN_MASK(C, BIT(3)), 0, MODULE_PWM, 0) /* PWM0 LED */ +ALTERNATE(PIN_MASK(C, BIT(4)), 0, MODULE_PWM, 0) /* PWM2 - EC_FAN_PWM */ ALTERNATE(PIN_MASK(8, BIT(0)), 0, MODULE_PWM, 0) /* PWM3 KB Backlight */ +ALTERNATE(PIN_MASK(4, BIT(0)), 0, MODULE_PWM, 0) /* TA1 - EC_FAN_SPEED */ ALTERNATE(PIN_MASK(3, 0x03), 0, MODULE_KEYBOARD_SCAN, GPIO_INPUT) /* KSI_00-01 */ ALTERNATE(PIN_MASK(2, 0xFC), 0, MODULE_KEYBOARD_SCAN, GPIO_INPUT) /* KSI_02-07 */ |