| 1 |
|
| 2 |
|
| 3 |
#include <chip.h> |
| 4 |
#include <fw_config.h> |
| 5 |
#include <baseboard/variants.h> |
| 6 |
#include <variant/gpio.h> |
| 7 |
#include <acpi/acpigen.h> |
| 8 |
|
| 9 |
void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config) |
| 10 |
{ |
| 11 |
config->cnvi_bt_audio_offload = fw_config_probe(FW_CONFIG(AUDIO, |
| 12 |
NAU88L25B_I2S)); |
| 13 |
} |
| 14 |
|
| 15 |
void variant_generate_s0ix_hook(enum s0ix_entry entry) |
| 16 |
{ |
| 17 |
if (entry == S0IX_ENTRY) |
| 18 |
acpigen_soc_clear_tx_gpio(NFC_POWER); |
| 19 |
else if (entry == S0IX_EXIT) |
| 20 |
acpigen_soc_set_tx_gpio(NFC_POWER); |
| 21 |
} |