1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /* PCH clock by P2SB */
4 #include <soc/intel/common/acpi/pch_clk.asl>
6 /* IOE clock by P2SB */
7 #if CONFIG(SOC_INTEL_COMMON_BLOCK_IOE_P2SB)
8 #include <soc/intel/common/acpi/ioe_clk.asl>
12 * Configure PCIe ClkReq Override
14 * Arg1: Enable(1)/Disable(0) Clock
16 Method (SPCO, 2, Serialized) {
17 If (LEqual (Arg1,1)) {
18 If (LGreaterEqual (Arg0, CONFIG_IOE_DIE_CLOCK_START)) {
19 \_SB.ECLK.CLKE (Subtract (Arg0, CONFIG_IOE_DIE_CLOCK_START))
24 If (LGreaterEqual (Arg0, CONFIG_IOE_DIE_CLOCK_START)) {
25 \_SB.ECLK.CLKD (Subtract (Arg0, CONFIG_IOE_DIE_CLOCK_START))