summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/mithrax/variant.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/brya/variants/mithrax/variant.c')
-rw-r--r--src/mainboard/google/brya/variants/mithrax/variant.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/mithrax/variant.c b/src/mainboard/google/brya/variants/mithrax/variant.c
new file mode 100644
index 0000000000..2af5a9a976
--- /dev/null
+++ b/src/mainboard/google/brya/variants/mithrax/variant.c
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <chip.h>
+#include <fw_config.h>
+#include <baseboard/variants.h>
+
+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;
+ }
+}