summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2021-05-13 10:04:01 -0700
committerCommit Bot <commit-bot@chromium.org>2021-05-18 18:39:13 +0000
commit59780263fcca42d1b411fddf48ebcba683d5f26b (patch)
treef46d6728ddf98b614ac42c82defb9ea6f0b90a8c /include
parent86205854684f98d7092e47e974961bb94697b410 (diff)
downloadchrome-ec-59780263fcca42d1b411fddf48ebcba683d5f26b.tar.gz
qcom: Create new configs for SC7280
Create new configs (Chromium EC namespace and Zephyr namespace) for SC7280. In this state, SC7280 power sequence has no difference from SC7180. BRANCH=None BUG=b:187980397 TEST=Built all the Chromium EC images and Zephyr EC images. TEST=Modify a board to use the new CONFIG. Change-Id: I178b8ffa5d79d3828baf222ac77906ab2262cf76 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2893069
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
-rw-r--r--include/power/qcom.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h
index c43ea3845a..79bbce9c62 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1267,6 +1267,7 @@
#undef CONFIG_CHIPSET_RK3399 /* Rockchip rk3399 */
#undef CONFIG_CHIPSET_SKYLAKE /* Intel Skylake (x86) */
#undef CONFIG_CHIPSET_SC7180 /* Qualcomm SC7180 */
+#undef CONFIG_CHIPSET_SC7280 /* Qualcomm SC7280 */
#undef CONFIG_CHIPSET_SDM845 /* Qualcomm SDM845 */
#undef CONFIG_CHIPSET_STONEY /* AMD Stoney (x86)*/
#undef CONFIG_CHIPSET_TIGERLAKE /* Intel Tigerlake (x86) */
@@ -5937,7 +5938,7 @@
#error "Must enable CONFIG_POWER_TRACK_HOST_SLEEP_STATE for S0ix"
#endif
-#if defined(CONFIG_CHIPSET_SC7180)
+#if defined(CONFIG_CHIPSET_SC7180) || defined(CONFIG_CHIPSET_SC7280)
#if defined(CONFIG_POWER_SLEEP_FAILURE_DETECTION) && \
!defined(CONFIG_CHIPSET_RESUME_INIT_HOOK)
#error "Require resume init hook to enable sleep failure detection"
diff --git a/include/power/qcom.h b/include/power/qcom.h
index 5b52d63c06..2c071481fd 100644
--- a/include/power/qcom.h
+++ b/include/power/qcom.h
@@ -6,7 +6,7 @@
#ifndef __CROS_EC_POWER_QCOM_H_
#define __CROS_EC_POWER_QCOM_H_
-#ifdef CONFIG_CHIPSET_SC7180
+#if defined(CONFIG_CHIPSET_SC7180) || defined(CONFIG_CHIPSET_SC7280)
enum power_signal {
SC7X80_AP_RST_ASSERTED = 0,
SC7X80_PS_HOLD,