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

#include <baseboard/variants.h>
#include <chip.h>
#include <fw_config.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)
{
	config->cnvi_bt_audio_offload = fw_config_probe(FW_CONFIG(AUDIO,
							NAU88L25B_I2S));

	if (fw_config_probe(FW_CONFIG(MB_USBC, TC_USB3))) {
		config->tcss_aux_ori = 1;
		config->typec_aux_bias_pads[0].pad_auxp_dc = GPP_C3;
		config->typec_aux_bias_pads[0].pad_auxn_dc = GPP_C4;
	}
}