Seunghwan Kim | 7de7f9a | 2023-09-18 13:22:05 +0900 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
3 | #include <chip.h> | ||||
4 | #include <baseboard/variants.h> | ||||
5 | #include <variant/gpio.h> | ||||
6 | #include <acpi/acpigen.h> | ||||
7 | |||||
8 | void variant_generate_s0ix_hook(enum s0ix_entry entry) | ||||
9 | { | ||||
10 | return; | ||||
11 | |||||
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); | ||||
16 | } |