mb/google/dedede/var/magolor: Add fw_config probe for multi codec and
amplifier Compatible headphone codec "ALC5682I-VS" and speaker amplifier "ALC1015Q-VB" BUG=b:208912135 TEST=ALC5682I-VD and ALC1015Q-VB can work normally Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Change-Id: Id661280061ede3fbb63c962dee8fb18a2053ad66 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59865 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
parent
18dd6b8a9a
commit
3c1ee4b9ac
|
@ -25,6 +25,7 @@ fw_config
|
||||||
option AUDIO_CODEC_UNPROVISIONED 0
|
option AUDIO_CODEC_UNPROVISIONED 0
|
||||||
option AUDIO_CODEC_DA7219 1
|
option AUDIO_CODEC_DA7219 1
|
||||||
option AUDIO_CODEC_RT5682 2
|
option AUDIO_CODEC_RT5682 2
|
||||||
|
option AUDIO_CODEC_ALC5682I_VS 3
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -471,20 +472,46 @@ chip soc/intel/jasperlake
|
||||||
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_DA7219
|
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_DA7219
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
chip drivers/i2c/generic
|
||||||
|
register "hid" = ""RTL5682""
|
||||||
|
register "name" = ""RT58""
|
||||||
|
register "desc" = ""Realtek RT5682""
|
||||||
|
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-src""
|
||||||
|
register "property_list[0].integer" = "1"
|
||||||
|
device i2c 1a on
|
||||||
|
probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
|
||||||
|
end
|
||||||
|
end
|
||||||
chip drivers/i2c/generic
|
chip drivers/i2c/generic
|
||||||
register "hid" = ""10EC1015""
|
register "hid" = ""10EC1015""
|
||||||
register "desc" = ""Realtek SPK AMP L""
|
register "desc" = ""Realtek SPK AMP L""
|
||||||
register "uid" = "0"
|
register "uid" = "0"
|
||||||
device i2c 28 on end
|
device i2c 28 on
|
||||||
|
probe AUDIO_AMP UNPROVISIONED
|
||||||
|
probe AUDIO_AMP RT1015_I2C
|
||||||
|
end
|
||||||
end
|
end
|
||||||
chip drivers/i2c/generic
|
chip drivers/i2c/generic
|
||||||
register "hid" = ""10EC1015""
|
register "hid" = ""10EC1015""
|
||||||
register "desc" = ""Realtek SPK AMP R""
|
register "desc" = ""Realtek SPK AMP R""
|
||||||
register "uid" = "1"
|
register "uid" = "1"
|
||||||
device i2c 29 on end
|
device i2c 29 on
|
||||||
|
probe AUDIO_AMP UNPROVISIONED
|
||||||
|
probe AUDIO_AMP RT1015_I2C
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
device pci 1f.3 on end # Intel HDA
|
end
|
||||||
|
device pci 1f.3 on
|
||||||
|
chip drivers/generic/alc1015
|
||||||
|
register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
|
||||||
|
device generic 0 on
|
||||||
|
probe AUDIO_AMP RT1015P_AUTO
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end # Intel HDA
|
||||||
device pci 1c.7 on
|
device pci 1c.7 on
|
||||||
chip drivers/wifi/generic
|
chip drivers/wifi/generic
|
||||||
register "wake" = "GPE0_DW2_03"
|
register "wake" = "GPE0_DW2_03"
|
||||||
|
|
Loading…
Reference in New Issue