From 24802076bf8ae9e4bd6bb88ff5fdd07a1965f822 Mon Sep 17 00:00:00 2001 From: Daniel_Peng Date: Mon, 19 Jun 2023 11:49:37 +0800 Subject: [PATCH] mb/google/dedede/var/pirika: Add new Codec ALC5650 1.Add Codec ALC5650 setings for drivers/i2c/generic 2.Add option value '3' to AUDIO_CODEC_SOURCE for SSFC BUG=b:284060672 BRANCH=master TEST=emerge-dedede coreboot chromeos-ec chromeos-bootimage Confirm the device is existed on system. Change-Id: I39703a950620c90aa3740b7313b7d32cc68eede4 Signed-off-by: Daniel_Peng Reviewed-on: https://review.coreboot.org/c/coreboot/+/75918 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Karthik Ramasubramanian Reviewed-by: Daniel Peng --- .../google/dedede/variants/pirika/overridetree.cb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/mainboard/google/dedede/variants/pirika/overridetree.cb b/src/mainboard/google/dedede/variants/pirika/overridetree.cb index 7076dfa76e..11d82a254c 100644 --- a/src/mainboard/google/dedede/variants/pirika/overridetree.cb +++ b/src/mainboard/google/dedede/variants/pirika/overridetree.cb @@ -3,6 +3,7 @@ fw_config option AUDIO_CODEC_UNPROVISIONED 0 option AUDIO_CODEC_ALC5682 1 option AUDIO_CODEC_ALC5682I_VS 2 + option AUDIO_CODEC_ALC5650 3 end end chip soc/intel/jasperlake @@ -183,6 +184,19 @@ chip soc/intel/jasperlake probe AUDIO_CODEC_SOURCE AUDIO_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_D16)" + 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_CODEC_SOURCE AUDIO_CODEC_ALC5650 + end + end chip drivers/i2c/generic register "hid" = ""10EC1015"" register "desc" = ""Realtek SPK AMP L""