| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <acpi/acpigen.h> |
| 4 | #include <baseboard/variants.h> |
| 5 | #include <variant/gpio.h> |
| 6 | |
| 7 | void variant_generate_s0ix_hook(enum s0ix_entry entry) |
| 8 | { |
| 9 | if (entry == S0IX_ENTRY) |
| 10 | acpigen_soc_clear_tx_gpio(GPP_A10); |
| 11 | else if (entry == S0IX_EXIT) |
| 12 | acpigen_soc_set_tx_gpio(GPP_A10); |
| 13 | } |