mb/google/dedede/var/boten: Probe and enable amplifier operation mode

Probe the fw_config for RT1015 speaker amplifier operation mode and
enable it accordingly in the device tree.

BUG=b:180570923
BRANCH=dedede
TEST=ALC1015Q-VB drive speaker OK

Change-Id: I756bfa6f604ed320de9a515821979aa95c869ebf
Signed-off-by: Stanley Wu <stanley1.wu@lcfc.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52319
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
Stanley Wu 2021-04-14 16:31:44 +08:00 committed by Felix Held
parent f9e776da84
commit d1bf408da8
1 changed files with 16 additions and 3 deletions

View File

@ -230,13 +230,19 @@ chip soc/intel/jasperlake
register "hid" = ""10EC1015""
register "desc" = ""Realtek SPK AMP L""
register "uid" = "0"
device i2c 28 on end
device i2c 28 on
probe AUDIO_AMP RT1015_I2C
probe AUDIO_AMP UNPROVISIONED
end
end
chip drivers/i2c/generic
register "hid" = ""10EC1015""
register "desc" = ""Realtek SPK AMP R""
register "uid" = "1"
device i2c 29 on end
device i2c 29 on
probe AUDIO_AMP RT1015_I2C
probe AUDIO_AMP UNPROVISIONED
end
end
end # I2C 4
device pci 19.1 on
@ -293,6 +299,13 @@ chip soc/intel/jasperlake
device i2c 28 on end
end
end # I2C 5
device pci 1f.3 on end # Intel HDA
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
end
end