summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZick Wei <zick.wei@quanta.corp-partner.google.com>2022-10-05 15:25:02 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-06 03:27:38 +0000
commit5cafd7515b840c573a9f4cf13b57673ec6a4eb10 (patch)
tree881928654ab5752da4e1f6004b06e8d6f9e3ba85
parent3b64d5d8dd83aa990da0efbc3008c9d7216321df (diff)
downloadchrome-ec-5cafd7515b840c573a9f4cf13b57673ec6a4eb10.tar.gz
agah: update fan enable setting
Update enable pin for fan2 to follow schematic. BUG=b:234053836 BRANCH=none TEST=make BOARD=agah Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: Ic9c07435e9a2db4ba76dc01088e933849ee8adba Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3935982 Reviewed-by: Devin Lu <devin.lu@quantatw.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--board/agah/fans.c2
-rw-r--r--board/agah/gpio.inc1
2 files changed, 2 insertions, 1 deletions
diff --git a/board/agah/fans.c b/board/agah/fans.c
index 45533d9e8c..8eaf7a41a8 100644
--- a/board/agah/fans.c
+++ b/board/agah/fans.c
@@ -39,7 +39,7 @@ static const struct fan_conf fan_conf_1 = {
.flags = FAN_USE_RPM_MODE,
.ch = MFT_CH_1, /* Use MFT id to control fan */
.pgood_gpio = -1,
- .enable_gpio = GPIO_EN_PP5000_FAN,
+ .enable_gpio = GPIO_EN_PP5000_FAN2,
};
static const struct fan_rpm fan_rpm_0 = {
diff --git a/board/agah/gpio.inc b/board/agah/gpio.inc
index a3a6610ac8..c9308fd903 100644
--- a/board/agah/gpio.inc
+++ b/board/agah/gpio.inc
@@ -56,6 +56,7 @@ GPIO(EC_PCH_SYS_PWROK, PIN(3, 7), GPIO_OUT_LOW)
GPIO(EC_PCH_WAKE_R_ODL, PIN(C, 0), GPIO_ODR_HIGH)
GPIO(EC_PROCHOT_ODL, PIN(6, 3), GPIO_ODR_HIGH)
GPIO(EN_PP5000_FAN, PIN(6, 1), GPIO_OUT_LOW)
+GPIO(EN_PP5000_FAN2, PIN(F, 5), GPIO_OUT_LOW)
GPIO(EN_PP5000_USBA_R, PIN(D, 7), GPIO_OUT_LOW)
GPIO(EN_S5_RAILS, PIN(9, 6), GPIO_OUT_LOW)
GPIO(IMVP9_VRRDY_OD, PIN(4, 3), GPIO_INPUT)