1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <baseboard/variants.h>
5 #include <variant/gpio.h>
6 #include <acpi/acpigen.h>
8 void variant_generate_s0ix_hook(enum s0ix_entry entry
)
12 if (entry
== S0IX_ENTRY
)
13 acpigen_soc_clear_tx_gpio(SD_CARD_POWER
);
14 else if (entry
== S0IX_EXIT
)
15 acpigen_soc_set_tx_gpio(SD_CARD_POWER
);