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