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>
This commit is contained in:
Ren Kuo 2023-09-08 11:51:40 +08:00 committed by Felix Held
parent a73c9e0f86
commit 412e55d440
1 changed files with 15 additions and 0 deletions

View File

@ -19,6 +19,7 @@ fw_config
end end
field AMP 6 7 field AMP 6 7
option AMP_MX98360A 0 option AMP_MX98360A 0
option AMP_ALC5650 1
end end
field THERMAL_SOLUTION 10 12 field THERMAL_SOLUTION 10 12
option THERMAL_SOLUTION_6W 0 option THERMAL_SOLUTION_6W 0
@ -30,6 +31,7 @@ fw_config
field CODEC 32 33 field CODEC 32 33
option CODEC_ALC5682I_VS 0 option CODEC_ALC5682I_VS 0
option CODEC_NAU8825 1 option CODEC_NAU8825 1
option CODEC_ALC5650 2
end end
field TS_SOURCE 38 41 field TS_SOURCE 38 41
option TS_UNPROVISIONED 0 option TS_UNPROVISIONED 0
@ -554,6 +556,19 @@ chip soc/intel/alderlake
probe CODEC CODEC_ALC5682I_VS probe CODEC CODEC_ALC5682I_VS
end end
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 end
device ref i2c5 on device ref i2c5 on
chip drivers/i2c/generic chip drivers/i2c/generic