diff options
author | Denis Brockus <dbrockus@google.com> | 2021-05-13 16:01:13 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-19 19:57:44 +0000 |
commit | def759427d9bc1781e7b23a536694fd0ab8bb01f (patch) | |
tree | bb48994d08866dadd22f9ac8c6112a867a2c819c /baseboard/asurada | |
parent | ba6eac081e5b4982346dc63059b4513786b379f7 (diff) | |
download | chrome-ec-def759427d9bc1781e7b23a536694fd0ab8bb01f.tar.gz |
zephyr: asurada: Enable power button and sequencing
BUG=b:180980668
BRANCH=none
TEST=get powerbtn command in shell
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I1af4673b7eff84149e3aabad7ff09445a1f96e1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2895306
Tested-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'baseboard/asurada')
-rw-r--r-- | baseboard/asurada/build.mk | 1 | ||||
-rw-r--r-- | baseboard/asurada/power.c | 14 |
2 files changed, 0 insertions, 15 deletions
diff --git a/baseboard/asurada/build.mk b/baseboard/asurada/build.mk index fced6993eb..b0c152cb92 100644 --- a/baseboard/asurada/build.mk +++ b/baseboard/asurada/build.mk @@ -8,5 +8,4 @@ baseboard-y=baseboard.o baseboard-y+=board_id.o -baseboard-y+=power.o baseboard-$(CONFIG_USB_POWER_DELIVERY)+=usb_pd_policy.o diff --git a/baseboard/asurada/power.c b/baseboard/asurada/power.c deleted file mode 100644 index 7d758b29bd..0000000000 --- a/baseboard/asurada/power.c +++ /dev/null @@ -1,14 +0,0 @@ -/* Copyright 2021 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ -#include "gpio.h" -#include "power.h" - -/* power signal list. Must match order of enum power_signal. */ -const struct power_signal_info power_signal_list[] = { - {GPIO_PMIC_EC_PWRGD, POWER_SIGNAL_ACTIVE_HIGH, "PMIC_PWR_GOOD"}, - {GPIO_AP_IN_SLEEP_L, POWER_SIGNAL_ACTIVE_LOW, "AP_IN_S3_L"}, - {GPIO_AP_EC_WATCHDOG_L, POWER_SIGNAL_ACTIVE_LOW, "AP_WDT_ASSERTED"}, -}; -BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT); |