summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-03-15 14:12:22 -0600
committerCommit Bot <commit-bot@chromium.org>2021-03-15 23:08:07 +0000
commitdc368a591bc1c6f4bb4b480d4caf8eeb89872031 (patch)
tree9b8d4608b5d06d9670c3973c519c24e055ea32b2
parent4a75909372228110e85790df551a8009e720f8f0 (diff)
downloadchrome-ec-dc368a591bc1c6f4bb4b480d4caf8eeb89872031.tar.gz
Mancomb: Switch temperature inputs to MODULE_ADC
Switch definitions for temperature and other analog inputs to MODULE_ADC. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I7e02281158aa2d34e4beff24fbd15782cbfcd274 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2762799 Reviewed-by: Rob Barnes <robbarnes@google.com> Commit-Queue: Rob Barnes <robbarnes@google.com>
-rw-r--r--baseboard/mancomb/base_gpio.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/baseboard/mancomb/base_gpio.inc b/baseboard/mancomb/base_gpio.inc
index e987c8208d..11de24fc57 100644
--- a/baseboard/mancomb/base_gpio.inc
+++ b/baseboard/mancomb/base_gpio.inc
@@ -60,10 +60,10 @@ GPIO(USB_C0_HPD, PIN(F, 5), GPIO_OUT_LOW) /* C0 DP Hotplug Detect */
GPIO(USB_C1_HPD, PIN(F, 4), GPIO_OUT_LOW) /* C1 DP Hotplug Detect */
/* Sensor Signals */
-ALTERNATE(/*TEMP_SOC|MEM*/ PIN_MASK(4, BIT(3) | BIT(5)), 0, MODULE_PWM, 0) /* SOC and Memory Temperature */
-ALTERNATE( PIN_MASK(4, BIT(4)), 0, MODULE_PWM, 0) /* ANALOG_PPVAR_PWR_IN_IMON */
-ALTERNATE( PIN_MASK(4, BIT(1) | BIT(2)), 0, MODULE_PWM, 0) /* EC_ADC_CORE_IMON1, EC_ADC_SOC_IMON2 */
-ALTERNATE( PIN_MASK(3, BIT(7)), 0, MODULE_PWM, 0) /* SNS_PPVAR_PWR_IN */
+ALTERNATE(/*TEMP_SOC|MEM*/ PIN_MASK(4, BIT(3) | BIT(5)), 0, MODULE_ADC, 0) /* SOC and Memory Temperature */
+ALTERNATE( PIN_MASK(4, BIT(4)), 0, MODULE_ADC, 0) /* ANALOG_PPVAR_PWR_IN_IMON */
+ALTERNATE( PIN_MASK(4, BIT(1) | BIT(2)), 0, MODULE_ADC, 0) /* EC_ADC_CORE_IMON1, EC_ADC_SOC_IMON2 */
+ALTERNATE( PIN_MASK(3, BIT(7)), 0, MODULE_ADC, 0) /* SNS_PPVAR_PWR_IN */
/* LED Signals */
GPIO(EC_DISABLE_DISP_BL, PIN(A, 6), GPIO_OUT_HIGH) /* Disable Display Backlight */