diff options
author | Denis Brockus <dbrockus@google.com> | 2021-06-22 14:51:41 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-22 22:59:20 +0000 |
commit | 10a9f3c5264a9b9afd882026219687f416ef665f (patch) | |
tree | 7173eec3886f13e253fd8a1f949235f5583fb8f6 /include/power/mt8192.h | |
parent | 1d02c4bc42571dbe646c76ece2c587ec2cb5b3e7 (diff) | |
download | chrome-ec-10a9f3c5264a9b9afd882026219687f416ef665f.tar.gz |
mt8192: move power_signal to include
enum power_signal was duplicated in a few places
and really belonged in an include file. This has
been created as include/power/mt8192.h
BUG=b:180980668
BRANCH=none
TEST=make buildall
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: Ibdcecc73feffcfa6d5b72fa8ef503f1802e14925
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2980811
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include/power/mt8192.h')
-rw-r--r-- | include/power/mt8192.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/power/mt8192.h b/include/power/mt8192.h new file mode 100644 index 0000000000..e0c65c3bcc --- /dev/null +++ b/include/power/mt8192.h @@ -0,0 +1,16 @@ +/* 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. + */ + +#ifndef __CROS_EC_POWER_MT8192_H_ +#define __CROS_EC_POWER_MT8192_H_ + +enum power_signal { + PMIC_PWR_GOOD, + AP_IN_S3_L, + AP_WDT_ASSERTED, + POWER_SIGNAL_COUNT, +}; + +#endif /* __CROS_EC_POWER_MT8192_H_ */ |