summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2021-06-28 10:13:35 -0700
committerCommit Bot <commit-bot@chromium.org>2021-07-13 22:14:15 +0000
commitf8367c1b1828a19d03c8b593657add4289b038ef (patch)
treef1da12277bfad9fbcc32fdc4e13b0d51785a9056 /power
parent99abd9fd14adc31e25242a953a813b938211aa9f (diff)
downloadchrome-ec-f8367c1b1828a19d03c8b593657add4289b038ef.tar.gz
qcom: Deprecate AP_RST_REQ in SC7280
Add guards to deprecate the AP_RST_REQ power signal. The AP_RST_REQ is power signal only valid in SC7180. BRANCH=None BUG=b:187980397, b:148246695 TEST=Built all the Chromium EC images and Zephyr EC images. TEST=Modify a board to use the SC7280 CONFIG. Change-Id: I0b12889dd2549665d2c2d6bfc06fddd9b9357175 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2993210 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'power')
-rw-r--r--power/qcom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/power/qcom.c b/power/qcom.c
index c6a87c9b92..a57f13483e 100644
--- a/power/qcom.c
+++ b/power/qcom.c
@@ -64,11 +64,13 @@ const struct power_signal_info power_signal_list[] = {
POWER_SIGNAL_ACTIVE_HIGH,
"AP_SUSPEND",
},
+#ifdef CONFIG_CHIPSET_SC7180
[SC7X80_DEPRECATED_AP_RST_REQ] = {
GPIO_DEPRECATED_AP_RST_REQ,
POWER_SIGNAL_ACTIVE_HIGH,
"DEPRECATED_AP_RST_REQ",
},
+#endif /* defined(CONFIG_CHIPSET_SC7180) */
};
BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT);