aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorRen Kuo <ren.kuo@quanta.corp-partner.google.com>2023-09-08 11:51:40 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-09-13 20:31:50 +0000
commit412e55d440833747b9592c388a801617f161b93a (patch)
tree43fb05f8efb17bdefa39d5a1a050c198d66d9233 /src/mainboard/google/brya
parenta73c9e0f86b3a4713cfaf1bd8bea2886d5e9992f (diff)
mb/google/brya/var/craask: Add audio codec ALC5650
Add audio codec ALC5650 related settings. BUG=b:289969623 TEST=emerge-nissa coreboot confirm the device in kernel log. Change-Id: I4b8a19e6248bd91cfc31feb84c6108413cd719e2 Signed-off-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77701 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/variants/craask/overridetree.cb15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/craask/overridetree.cb b/src/mainboard/google/brya/variants/craask/overridetree.cb
index 700543280c..e4a46c7ec0 100644
--- a/src/mainboard/google/brya/variants/craask/overridetree.cb
+++ b/src/mainboard/google/brya/variants/craask/overridetree.cb
@@ -19,6 +19,7 @@ fw_config
end
field AMP 6 7
option AMP_MX98360A 0
+ option AMP_ALC5650 1
end
field THERMAL_SOLUTION 10 12
option THERMAL_SOLUTION_6W 0
@@ -30,6 +31,7 @@ fw_config
field CODEC 32 33
option CODEC_ALC5682I_VS 0
option CODEC_NAU8825 1
+ option CODEC_ALC5650 2
end
field TS_SOURCE 38 41
option TS_UNPROVISIONED 0
@@ -554,6 +556,19 @@ chip soc/intel/alderlake
probe CODEC CODEC_ALC5682I_VS
end
end
+ chip drivers/i2c/generic
+ register "hid" = ""10EC5650""
+ register "name" = ""RT58""
+ register "desc" = ""Realtek RT5650""
+ register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
+ register "property_count" = "1"
+ register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
+ register "property_list[0].name" = ""realtek,jd-mode""
+ register "property_list[0].integer" = "2"
+ device i2c 1a on
+ probe CODEC CODEC_ALC5650
+ end
+ end
end
device ref i2c5 on
chip drivers/i2c/generic