diff options
author | Daniel_Peng <Daniel_Peng@pegatron.corp-partner.google.com> | 2024-10-04 15:24:38 +0800 |
---|---|---|
committer | Eric Lai <ericllai@google.com> | 2024-10-07 03:14:06 +0000 |
commit | 2fbc9b49c0b39b71352bd880ab2e0a2612213359 (patch) | |
tree | 837dfa3c48c70258889f12b43e54045fdb06069c /src/mainboard/google/brya | |
parent | 52e5e219e24e32cfd9c3c4aa8ed2f6b2eacad834 (diff) |
mb/google/brya/var/glassway: Add audio codec ALC5650
1.Add AUDIO fw_config setting.
2.Add audio codec ALC5650 related settings for Gallida360 project.
BUG=b:364798053
BRANCH=firmware-nissa-15217.B
TEST=emerge-nissa coreboot
Change-Id: I3761ca6d4cad18c74f5e1a056f0cb465dc4ac3ea
Signed-off-by: Daniel_Peng <Daniel_Peng@pegatron.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84655
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r-- | src/mainboard/google/brya/variants/glassway/overridetree.cb | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/glassway/overridetree.cb b/src/mainboard/google/brya/variants/glassway/overridetree.cb index 8d86609f9d..69d4e89e9f 100644 --- a/src/mainboard/google/brya/variants/glassway/overridetree.cb +++ b/src/mainboard/google/brya/variants/glassway/overridetree.cb @@ -3,6 +3,10 @@ fw_config option THERMAL_SOLUTION_PASSIVE 0 option THERMAL_SOLUTION_ACTIVE 1 end + field AUDIO 2 4 + option AUDIO_ALC1019_ALC5682IVS 0 + option AUDIO_ALC5650_ALC5650 1 + end field DB_USB 5 7 option DB_NONE 0 option DB_1C 1 @@ -371,12 +375,29 @@ chip soc/intel/alderlake register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" register "property_list[0].name" = ""realtek,jd-src"" register "property_list[0].integer" = "1" - device i2c 1a on end + device i2c 1a on + probe AUDIO AUDIO_ALC1019_ALC5682IVS + end end chip drivers/generic/alc1015 register "hid" = ""RTL1019"" register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)" - device generic 1 on end + device generic 1 on + probe AUDIO AUDIO_ALC1019_ALC5682IVS + 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 AUDIO AUDIO_ALC5650_ALC5650 + end end end #I2C3 device ref i2c5 on |