blob: dad8a3c03b4ad9b6843d6a5b324041de3ed48c98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <acpi/acpigen.h>
#include <baseboard/variants.h>
#include <variant/gpio.h>
void variant_generate_s0ix_hook(enum s0ix_entry entry)
{
/* Add board-specific MS0X entries */
if (entry == S0IX_ENTRY)
acpigen_soc_clear_tx_gpio(CAM_PWR);
if (entry == S0IX_EXIT)
acpigen_soc_set_tx_gpio(CAM_PWR);
}
|