1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 #include <acpi/acpigen.h>
8 #include <baseboard/variants.h>
11 const char *get_wifi_sar_cbfs_filename(void)
13 return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID
));
16 void variant_generate_s0ix_hook(enum s0ix_entry entry
)
18 /* GPP_C3 control the 3.3V of user facing camera,
19 pull down when do suspend and pull high when resume. */
20 if (entry
== S0IX_ENTRY
)
21 acpigen_soc_clear_tx_gpio(GPP_C3
);
22 else if (entry
== S0IX_EXIT
)
23 acpigen_soc_set_tx_gpio(GPP_C3
);