summaryrefslogtreecommitdiff
path: root/zephyr/projects/asurada/hayato/include/gpio_map.h
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@google.com>2021-06-22 14:51:41 -0600
committerCommit Bot <commit-bot@chromium.org>2021-06-22 22:59:20 +0000
commit10a9f3c5264a9b9afd882026219687f416ef665f (patch)
tree7173eec3886f13e253fd8a1f949235f5583fb8f6 /zephyr/projects/asurada/hayato/include/gpio_map.h
parent1d02c4bc42571dbe646c76ece2c587ec2cb5b3e7 (diff)
downloadchrome-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 'zephyr/projects/asurada/hayato/include/gpio_map.h')
-rw-r--r--zephyr/projects/asurada/hayato/include/gpio_map.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/zephyr/projects/asurada/hayato/include/gpio_map.h b/zephyr/projects/asurada/hayato/include/gpio_map.h
index 884361f43f..a0e4bacb30 100644
--- a/zephyr/projects/asurada/hayato/include/gpio_map.h
+++ b/zephyr/projects/asurada/hayato/include/gpio_map.h
@@ -9,6 +9,11 @@
#include <devicetree.h>
#include <gpio_signal.h>
+/*
+ * TODO(b:188674805) create a driver to pull this information from DeviceTree
+ */
+#include "power/mt8192.h"
+
#define GPIO_ENTERING_RW GPIO_UNIMPLEMENTED
#define GPIO_WP_L GPIO_UNIMPLEMENTED
@@ -57,14 +62,4 @@
#define GPIO_EN_PP5000 GPIO_EN_PP5000_A
-/*
- * TODO(b:188674805) create a driver to pull this information from DeviceTree
- */
-enum power_signal {
- PMIC_PWR_GOOD,
- AP_IN_S3_L,
- AP_WDT_ASSERTED,
- POWER_SIGNAL_COUNT,
-};
-
#endif /* __ZEPHYR_GPIO_MAP_H */