summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/felwinter/variant.c
blob: 59a4d83a6d18f51fee0ca2802df41845f841e4fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0-only */

#include <chip.h>
#include <fw_config.h>
#include <baseboard/variants.h>
#include <sar.h>

const char *get_wifi_sar_cbfs_filename(void)
{
	return "wifi_sar_0.hex";
}

void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
{
	if (fw_config_probe(FW_CONFIG(DB_USB, USB3_PS8815))) {
		config->typec_aux_bias_pads[2].pad_auxp_dc = GPP_A19;
		config->typec_aux_bias_pads[2].pad_auxn_dc = GPP_A20;
		config->tcss_aux_ori = 0x10;
	}
	config->cnvi_bt_audio_offload = fw_config_probe(FW_CONFIG(AUDIO_AMP,
						MAX98360_ALC5682VS_I2S_2WAY));
}