blob: 57011d97df5ca5a9abdadfab15a819fb430b605e (
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
26
27
28
29
|
/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __CROS_EC_POWER_AMD_X86_H_
#define __CROS_EC_POWER_AMD_X86_H_
/*
* In legacy EC-OS, the power signals are defined as part of
* the board include headers, but with Zephyr, this is common.
*/
#if defined(CONFIG_ZEPHYR) && defined(CONFIG_AP_X86_AMD)
/* Power input signals */
enum power_signal {
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
#endif /* __CROS_EC_POWER_AMD_X86_H_ */
|