summaryrefslogtreecommitdiff
path: root/zephyr/projects/skyrim/include_guybrush/gpio_map.h
blob: 22d0eb602e64b61560f0ca0c8af18180bb75e1d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* 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 __ZEPHYR_GPIO_MAP_H
#define __ZEPHYR_GPIO_MAP_H

#include <zephyr/devicetree.h>
#include <gpio_signal.h>

/* Power input signals */
enum power_signal {
	X86_SLP_S0_N, /* SOC  -> SLP_S3_S0I3_L */
	X86_SLP_S3_N, /* SOC  -> SLP_S3_L */
	X86_SLP_S5_N, /* SOC  -> SLP_S5_L */

	X86_S0_PGOOD, /* PMIC -> S0_PWROK_OD */
	X86_S5_PGOOD, /* PMIC -> S5_PWROK */

	/* Number of X86 signals */
	POWER_SIGNAL_COUNT,
};

#endif /* __ZEPHYR_GPIO_MAP_H */